Commit graph

425 commits

Author SHA1 Message Date
Josh Comer 63c697c2f4 Fix rust LSP
* Removed lsp-rust (RLS is built into lsp-mode now)
* Fixed setting up flycheck mode in rust mode
* Fixed LSP initialization due to deprecation
* LSP-mode now self configures company and ui-mode
2019-01-01 15:44:39 +02:00
Josh Comer 9e410f5c64 Update lsp-mode for package changes 2018-12-16 10:26:14 +02:00
Ben Alex 3a11f84bf5 Rust Language Server (RLS) support 2018-11-21 10:11:19 +01:00
Bozhidar Batsov 78ba4bebe2 Clean up a bit the Common Lisp module 2018-09-29 11:31:50 +03:00
Bozhidar Batsov fc908101cc Fix some indentation 2018-09-29 11:28:58 +03:00
Bozhidar Batsov e14ec16e99 [Fix #771] Don't auto-start SLIME in Common Lisp source files 2018-09-29 11:27:37 +03:00
Geoff Shannon 598fdd8392 Stop Rust source files from being made executable
Rust has an unfortunate syntax for setting attributes on a module file:

```rust
  #![...]
```

Since this is typically put at the top of the file, that makes the
shebang the first two characters, which makes the `after-save-hook`
function `executable-make-buffer-file-executable-if-script-p` function
change any such rust files executable.
2018-09-22 13:43:29 +04:00
Bozhidar Batsov cecae9ca19 Replace usages of eval-after-load with with-eval-after-load
`with-eval-after-load` was introduced in Emacs 24.4 and its
usage results in a cleaner code.

`eval-after-load` is considered ill-behaved because it is a function,
not a macro, and thus requires the code inside it to be quoted, which
means that it cannot be byte-compiled. It also accepts only one form,
so if you have more than one, you need to use `progn`.

More details - https://stackoverflow.com/questions/21880139/what-is-with-eval-after-load-in-emacs-lisp
2018-09-14 09:50:00 +03:00
Bozhidar Batsov a3729c1306 Kill some remnants for god-mode 2018-08-08 15:35:45 +03:00
Bozhidar Batsov c142100e63 Align company's tooltip annotations to the right 2018-06-26 08:31:25 +03:00
LEE Dongjun 211345c3d5 Add Typescript programming support (#1181) 2018-06-26 07:57:16 +03:00
azzamsa b4721bf6c5 Show numbers for company completion candidates (#1172) 2018-06-03 12:41:50 +09:00
Bozhidar Batsov 99c0fafc1c Remove the mediawiki module 2018-05-09 10:01:23 +03:00
Bozhidar Batsov d6842eccad Replace some custom TODO & friends highlighting with the hl-todo
package
2018-05-08 20:19:38 +03:00
Bozhidar Batsov 82f496f195 [Fix #1151] Bind counsel-ag to "C-c a" 2018-05-06 18:06:54 +03:00
Bozhidar Batsov d09630aefb Tweak some OS references 2018-05-06 13:35:38 +03:00
Bozhidar Batsov bf57696835 Update the copyright years 2018-05-06 09:21:24 +03:00
Jakub Valenta 26d751a8af Change cheatsheet color scheme to a light one
So that it's more printer-friendly.

Resolves issue: #1162

Other changes:

- README: Cheatsheet: Document how to generate PNGs
- README: Improve "LaTeX" typography
- prelude-cheatsheet.pdf: Repl. file copy w/ symlink
2018-04-11 14:59:17 +02:00
Bozhidar Batsov 21063c1f54 Remove some Ruby file associations
Those were added upstream to ruby-mode.
2018-03-05 14:27:11 +07:00
Bozhidar Batsov 76fe6c1bbc Remove ruby-tools-mode
It's not really maintained and the most useful feature it
had (toggling between single and double quoted strings was added to
ruby-mode itself).
2018-03-05 14:25:22 +07:00
zzh699 dae2ee8ff0 Add cheatsheet
Group customized keybindings to each package

Add modules to cheatsheet

Define free form text

Add more documentation to packages

Add projectile commands and descripts in text format

Add commands for modules

Add all keybinds of each module

Better line separation

Fix wrong location of avy and anzu keybindings

Include cheatsheet in readme

Add doc to generate pdf

Add cheatsheet in TOC
2018-02-25 12:59:21 +07:00
Bozhidar Batsov 083c8a66a5 Remove a couple of redundant requires
All the commands from those packages are autoloaded anyways, so
there's no need to require the packages before they are actually used.
2017-12-30 09:32:07 +02:00
Bozhidar Batsov 2bfa877db0 Add an ivy module
ivy is a modern alternative to ido and is superior to ido in many ways
(especially when you're dealing with a lot of candidates).
2017-12-29 22:09:55 +02:00
Koustubh Sinkar 57e0cf321a Make it possible to auto-create a new perspective for IRC (#1097) 2017-08-13 18:56:37 +03:00
Manoel Vilela bfee53643c Add the prelude-rust.el module (#1102)
The module uses the following packages:

* rust-mode (general utilities for rust development)
* flycheck-rust (syntax checking)
* cargo (keybinding as minor-mode for using cargo package manager)
* racer (wrapper for the race code completion tool using company-mode)
2017-07-17 17:07:48 +03:00
Manoel Vilela 41775b9b6b Upgrade prelude-common-lisp.el (#1099)
* Remove TAB remap

This will fix the warning for each TAB:
> "‘slime-indent-and-complete-symbol’ is an obsolete command
   (as of 2015-10-18); 

* Add slime-cl-indent to slime-contribs

This will ensure that lisp-indent-function will be used correctly
for Common Lisp (not Emacs Lisp).
2017-07-16 15:14:02 +03:00
Manoel Vilela 3f5b2e39db [Fix #1096] Remove ido-ubiquitous and add ido-completing-read+ (#1100)
After version 4.0, ido-ubiquitous was merged into
ido-completing-read+. So ido-ubiquitous is no longer necessary.
2017-07-16 11:03:29 +03:00
Koustubh Sinkar 67b1a54e53 Making the prelude-erc module more modular
1. Introduces the `my-fav-irc` list for custom autojoining
   your favorite channels
2. Introduces the `bye-erc-message` variable for customizing
   the Last Quit Message
3. Adds documentation so that users can take advantage of these features
2017-07-08 09:30:37 +03:00
Bozhidar Batsov e0ca7c7003 Update the copyright years 2017-01-04 01:20:26 +02:00
Neurolit 252f42833e Don't alter C-a binding in orgmode 2017-01-04 01:05:25 +02:00
Bozhidar Batsov 7bb58b8e86 [Fix #1012] Update a reference to a crux function 2016-10-06 13:23:22 +03:00
ken-olstad ccedc77285 Add helm-occur-from-isearch to isearch-mode-map (#1030) 2016-09-25 07:58:47 +03:00
Gaelan D'costa e8a0f5e833 pretzo -> prezto (#1034) 2016-09-22 09:21:27 +03:00
Bozhidar Batsov 8c4b939fa5 Make the scala-mode dependency explicit
This commit also adds back the auto-enabling of subword-mode together
with scala-mode.
2016-06-01 23:47:21 +03:00
Aaron Hu 0e223d22b6 Replace scala-mode2 with the ensime package (#1001)
`scala-mode2` is no longer available on MELPA and it's not maintained anymore.
* the `ensime` package depends on `scala-mode` and `sbt-mode`.
2016-05-25 05:56:33 +03:00
Huang Bin 32354c79c5 Fix the crux-like changes (#995) 2016-05-02 20:14:31 -07:00
wscisme 61dfff4b9e Change function name to crux (#992) 2016-05-01 19:01:42 -07:00
Bozhidar Batsov 567907abe6 Improve code style a bit 2016-04-28 11:40:28 -07:00
Bozhidar Batsov 7628e0bdb5 [Fix #989] Use eldoc-mode instead of haskell-doc-mode 2016-04-28 11:39:40 -07:00
Eric Zhang aafe4156ed Fix some auto-pairing issues when editing erb file with web-mode (#805) 2016-04-18 09:19:06 -07:00
Bozhidar Batsov ebd6e9d591 Update the copyright years 2016-01-31 08:44:18 +02:00
Bozhidar Batsov 3906f34d6c Update cider-mode's hook 2015-12-23 10:23:00 +02:00
Bozhidar Batsov cbe988da7a Merge pull request #927 from tmccombs/magit-log-key
Fix magit key bindings.
2015-10-29 16:22:02 +02:00
Richard Primus 09b61bbd48 Replace deprecated utop-setup-ocaml-buffer function 2015-10-29 12:51:00 +00:00
Thayne McCombs 9696c56d8b Fix magit key bindings 2015-10-23 22:44:04 -06:00
Bozhidar Batsov 4ea6d30dc2 Merge pull request #885 from ankhers/haskell_indentation_function_obsolete
Replace a couple of obsolete haskell-mode functions
2015-07-30 18:49:00 +02:00
Justin Wood 4f07b6a2f6 Replace a couple of obsolete haskell-mode functions
* `turn-on-haskell-indentation` has been marked obsolete in favour of
  `haskell-indentation-mode`

* `turn-on-haskell-doc-mode` has been marked obsolete in favour of
  `haskell-doc-mode`
2015-07-30 12:40:10 -04:00
Bin Huang c97f910efd Use ruby-mode for .cap files 2015-07-22 15:23:40 +08:00
Doug MacEachern 2fe4fe5987 Remove go-oracle-mode hook
See golang/tools@68b5f75

Loading of go-oracle is now taken care of by go-projectile

Fixes issue #854
2015-07-18 11:12:29 -07:00
Leandro Facchinetti b774a24110 Fix quotes in LaTeX
With a default installation of Prelude and the `prelude-latex` package
enabled, when the user types `"` on a LaTeX document the following shows
up:

```
``|'
```

where the `|` is the point.

Note that the parenthesis are unbalanced, there's a missing single quote
`'` in the end.

The reason seems to be that both AUCTeX and SmartParens try to
autocomplete and they interact bad.

The solution is to disable AUCTeX autocompletion feature just for the
quotes and let SmartParens take over. It does the right thing by putting
the point on the right place and removing the closing quotes if the user
hits backspace.
2015-06-26 18:08:39 -04:00
Bozhidar Batsov 328dcadeac Merge pull request #836 from demon386/master
Don't disable which-function-mode in Python
2015-05-16 13:09:49 +03:00
Bozhidar Batsov b2947f2164 Replace ace-jump-mode with avy 2015-05-09 13:02:43 +03:00
M. Tong c8b33df811 Don't disabling which-function-mode in Python 2015-04-17 17:08:21 +08:00
Bozhidar Batsov 4e807b8d5f Merge pull request #834 from tmccombs/slime-repl-fix
Improve slime repl
2015-04-17 00:03:18 +03:00
Wu Jiang 01569fa13f Enable the mode in a definite way
`(anaconda-mode)` is to toggle the mode on/off.
2015-04-16 13:14:34 -04:00
Bozhidar Batsov dbfe0df1d0 Use sbcl in the absence of ccl on OS X 2015-04-05 21:06:47 +03:00
Thayne McCombs 4fe5752a8d Improve slime repl
This enables the slime-fancy contribs for slime, and no longer enables
rainbow-delimiters for the slime repl.

rainbow-delimiters doesn't seem to work with the slime-repl anyway, and
messes up all of the other colors.
2015-03-22 23:05:37 -06:00
Swaroop C H c572d7cb8f Enable ERC spell mode only if prelude-flyspell 2015-03-15 20:04:32 -07:00
Bozhidar Batsov c2da437aa4 Update copyright years 2015-03-03 13:04:34 +02:00
Bozhidar Batsov 9dd4b916bc Merge pull request #792 from marknsikora/c-style
Use K&R as default style
2015-02-04 08:09:34 +02:00
Bin Huang b2b83b4341 `turn-on-eldoc-mode' is an obsolete command (as of 24.4); use
`eldoc-mode' instead.
2015-01-21 21:25:38 +08:00
Mark Sikora 977fa6318e Use K&R as default style 2015-01-19 21:21:37 -05:00
k1-hedayati c46079e698 Revert "[Fix #782] Added magit-filenotify"
This reverts commit 003bbc4e0b.

Conflicts:
	core/prelude-packages.el
2015-01-19 23:14:46 +03:30
k1-hedayati 5476324772 [Fix #783] Removed rainbow-mode from prelude-packages 2015-01-15 12:30:03 +03:30
k1-hedayati 58550466ad [Fix #779] Moved elisp-slime-nav to elisp module 2015-01-15 12:30:03 +03:30
k1-hedayati 003bbc4e0b [Fix #782] Added magit-filenotify 2015-01-15 12:30:03 +03:30
k1-hedayati 92807a507c [Fix #703] Disable which-fun-mode in python-mode 2015-01-15 10:49:09 +03:30
k1-hedayati 48d41e6052 Removed redundant guru-mode require package 2015-01-15 10:13:23 +03:30
Bozhidar Batsov 8953e8f138 Merge pull request #757 from k1-hedayati/patch-1
Added helm-ag to auto install list [Fix #756]
2014-12-18 18:06:42 +02:00
Keyvan Hedayati 99e4c9646d [Fix #756] Added helm-ag to auto install list 2014-12-16 21:37:01 +03:30
Bozhidar Batsov b39d5ce07f Merge pull request #734 from abdulhaq-e/helm-replaces-ibuffer
helm-every-where takes responsibility for buffers-list
2014-12-16 19:38:51 +02:00
Samuel Tonini da1bf0a787 elixir module 2014-12-12 22:32:47 +01:00
Geoff Shannon 1011fccaba Update default opam commands to newest syntax
Newer versions of opam don't do argument parsing of the first argument
after `opam config exec` so everything needs to be passed as separate
arguments in the shell (i.e. unquoted).
2014-12-11 11:00:31 -05:00
Geoff Shannon 67082e77e3 Setup the new flycheck-ocaml syntax checker 2014-12-11 10:58:47 -05:00
Bozhidar Batsov dc82375714 Update copyright years 2014-12-07 11:37:46 +02:00
Bozhidar Batsov e13be254bb Install SLIME from MELPA 2014-12-07 11:36:15 +02:00
Tu Do 310b98b973 Disable helm-quick-update
It is not needed anymore since helm-candidate-number-limit is
small (less than several thousands). If this is the case, then there's
no difference between quick update and no quick update execution time.
Enabling helm-quick-update makes helm buffer flashing for every entered
character to retrieve new candidate list, which would annoy user.
2014-11-14 15:39:06 +07:00
Bozhidar Batsov 21df465e4b Remove custom erc notifications code
It should be replaced with the use of something like
https://github.com/jwiegley/alert
2014-11-05 12:56:12 +02:00
abdulhaq 0055df431c helm-every-where takes responsibility for buffers-list 2014-11-04 21:34:56 +02:00
Geoff Shannon 350504521a Improve ocaml module documentation
Add some documentation about environment assumptions, and correct some
grammar issues.
2014-10-24 14:35:41 -04:00
Geoff Shannon 3d85f4014c Have tuareg mode set the compile command
to utilize corebuild via opam
2014-10-24 14:23:16 -04:00
toctan 456e437496 fix electric-layout-post-self-insert-function autoload 2014-10-17 14:33:37 +08:00
Bozhidar Batsov 4c7483cd79 Merge pull request #710 from pgmcgee/helm-everywhere-C-x-C-m
In helm-everywhere, bind "C-x C-m" to helm-M-x
2014-10-16 12:29:24 +03:00
Bozhidar Batsov bc8e47984b Merge pull request #712 from toctan/local-electric
Enable electric-layout-mode only with python-mode
2014-10-16 10:13:22 +03:00
toctan 71fe265293 exec-path-from-shell-copy-env PYTHONPATH 2014-10-15 18:30:17 +08:00
toctan 7a51853b05 Enable electric-layout-mode only with python-mode 2014-10-15 18:23:31 +08:00
Parker McGee 80b623432f In helm-everywhere, bind "C-x C-m" to helm-M-x 2014-10-11 18:49:40 -04:00
Bozhidar Batsov 2440f7fda9 Merge pull request #707 from toctan/js2-mode
js2-mode is awesome
2014-10-11 08:53:42 +03:00
Bozhidar Batsov 5362e410c4 Merge pull request #705 from tuhdo/master
Helm cleanup
2014-10-11 08:51:21 +03:00
toctan edd83dc60b Add json-mode 2014-10-11 11:34:45 +08:00
toctan fa64e27914 js2-mode is awesome 2014-10-11 11:34:38 +08:00
toctan ca4797da79 Clean up prelude-coffee.el 2014-10-11 11:32:40 +08:00
Tu Do 741cfb12e8 Helm cleanup
Such bindings prevent editing the *grep buffer.
2014-10-09 11:24:58 +07:00
Tu, Do 41d312fea0 Leaner Helm config and enable Helm version of Projectile commands 2014-10-08 22:39:20 +07:00
toctan 0da2bd461c remove curly braces from js electric-layout-rules
fix #694
2014-09-26 10:28:07 +08:00
schasse ab763dce6f Appraisals is a ruby file, too 2014-09-24 15:28:35 +02:00
Bozhidar Batsov cd29262c36 Don't set scss-compile-at-save in the mode hook 2014-09-18 18:07:25 +03:00
Bozhidar Batsov 5bc3ceb6d1 Merge branch 'master' of github.com:bbatsov/prelude 2014-09-18 18:06:33 +03:00
Bozhidar Batsov 07ae0bc2b3 [Fix #692] Don't set the default css indent in the css-mode-hook 2014-09-18 18:05:50 +03:00
toctan 0769eb5e7c Fix newline after colon inside a list 2014-09-18 22:37:59 +08:00