Commit graph

310 commits

Author SHA1 Message Date
Eivind Fonn 02585f72a2 Fix ruby-end hook removal 2016-01-03 15:49:38 +01:00
Fabien Dubosson 92bc0049e8 Change order of arguments in (equal …) to be more explicit 2016-01-03 15:12:56 +01:00
Luke Burton 5fc1033815 Unquote ruby-version-manager variable (fix #4289) 2016-01-03 15:11:11 +01:00
Fabien Dubosson 3e570dd595 Fix markup and justification in Rust auto-completion documentation 2016-01-03 14:32:03 +01:00
Immortalin 66402eb406 Add rust auto-completion documentation 2016-01-03 14:26:39 +01:00
Eivind Fonn dee5d7369c Fix haskell SPC mht and SPC mhi 2015-12-29 17:33:33 +01:00
Fabien Dubosson 275f645f94 Fix web-mode and erc-log micro-states bindings
Without this change, `erc-log-micro-state` is overriding all `SPC m .`
bindings, and `web-mode` micro state is under `SPC m m .`.
2015-12-21 00:57:48 -05:00
justbur 0b02475772 Use built-in evil functions to set default states
evil-set-initial-state is safer than manually adding and deleting from
the lists, because it knows about all available states and ensures that
the mode only shows up in one list. If it is in multiple list the
initial state depends on which is checked first, which we don't want.
2015-12-21 00:22:18 -05:00
syl20bnr 8d76f600b2 purescript: move SPC m m t to SPC m h t
by convention
2015-12-19 22:51:01 -05:00
Christoph Hegemann acd3ffcdd3 adds psc-ide support to purescript layer 2015-12-19 22:49:00 -05:00
KK 5dfbc5f3cd Update package version in Quick Start with lein 2015-12-19 22:35:00 -05:00
syl20bnr db5901b3be python: Remove call to dash -when-let
Plus remove unnecessary defer t
2015-12-19 22:33:24 -05:00
Fredrik Bergroth 577e7b2d86 Auto-activate local pyenv version 2015-12-19 22:30:07 -05:00
Michel Kuhlmann 4ff861dbef ess: fix company-mode 2015-12-12 23:01:43 -05:00
Eivind Fonn ac0ba50154 Make flycheck/flyspell hooks more explicit 2015-12-11 02:08:55 -05:00
Darian Moody a221be59a6 Add leader support for alchemist-mix-rerun-last-test
A command in Alchemist which allows a user to rerun the last test ran.

See https://github.com/tonini/alchemist.el#testing for command docs.
2015-12-11 02:08:23 -05:00
Joe Hillenbrand 310a6c9a9c haskell: haskell-process-load-or-reload is obsolete
Fixes:

    `haskell-process-load-or-reload' is an obsolete command (as of
 2015-11-14); use `haskell-process-load-file' instead.
2015-12-11 02:06:26 -05:00
syl20bnr f20dfec4db ruby: use post-init func for smartparens config 2015-12-11 01:55:37 -05:00
Bar Magal 995a5a0f88 Fix early call to smartparens in ruby
sp-with-modes was called before smartparens was loaded, so wrap it in a
with-eval-after-load.
2015-12-11 01:49:01 -05:00
Jonathan del Strother a62da0f4ae Add ,tb binding for rspec-verify 2015-12-11 01:48:32 -05:00
Tim Buchwaldt 724efaaa79 Add new alchemist-iex-reload-module functionality
Since https://github.com/tonini/alchemist.el/commit/395e6717
calling `alchemist-iex-reload-module` reloads the module in
the current buffer via `r(Module)`

(Also my first contribution to spacemacs, hope I'm holding it right)

Update Readme to reflect changes to packages.el
2015-12-11 01:36:16 -05:00
Eivind Fonn 98c07024f9 Fix flycheck clang args loading (zhengyangfeng00) 2015-12-09 12:35:06 +01:00
Eivind Fonn 549219e583 Fix C/C++ flycheck hooks 2015-12-09 12:18:20 +01:00
syl20bnr 9151f4b7e8 octave: update README and change SPC m h d for SPC m h h 2015-12-09 01:30:01 -05:00
Ista Zahn b0945bef20 add octave layer
add octave layer
2015-12-09 01:27:26 -05:00
Joe Schafer 52a27af171 emacs-lisp: add missing keys to lisp-interaction 2015-12-06 01:10:00 -05:00
Daniel Luna e9684f34a2 ruby: add rspec key bindings 2015-12-05 21:36:21 -05:00
syl20bnr f1ee2c7333 ruby: update doc 2015-12-05 21:19:18 -05:00
syl20bnr c8ac0c08a9 ruby: remove unused variable ruby-use-ruby-test 2015-12-05 21:08:45 -05:00
syl20bnr 4ef8fcac78 ruby: sort packages and configuration 2015-12-05 21:08:22 -05:00
syl20bnr 9eb8f86b9a ruby: improve configuration for rbenv and rvm
Update documentation
2015-12-05 21:02:40 -05:00
syl20bnr d1ec732cd4 ruby: improve chruby configuration
Look for a .ruby-version file, if it does not exist then use the
currently activated ruby.

Update documentation.
2015-12-05 20:40:27 -05:00
Immortalin c5e260f46d ruby: chruby support 2 2015-12-05 20:01:52 -05:00
Bo Jeanes db5016d75b ruby: Add chruby support 2015-12-05 19:59:42 -05:00
justbur 899123258a keys: Don't specify C-i as a binding key
(kbd "C-i") == (kbd "TAB") so for consistency sake we always bind to TAB
by convention.
2015-12-05 13:18:37 -05:00
Diego Alvarez adc9f6cda0 Update Readme with latest ensime-sbt version
Added a note to use sbt 0.13.9 and remove unnecessary sonata repository
from the instructions.

Finally removed a link to a non existent page and added a link to
ensime-sbt GitHub page for further instructions.
2015-12-04 00:06:10 -05:00
mike-work b358f6c7f7 added gorename to docs 2015-12-03 23:59:43 -05:00
hyh 979867447e Fix makefile for python version 2.7.10 2015-12-03 23:59:15 -05:00
Sebastian Wiesner dc9459305e haskell: Fix command name 2015-12-03 23:54:57 -05:00
syl20bnr e9f8653a34 Update layer REAMDE title for swift and elfeed 2015-12-03 23:51:31 -05:00
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
syl20bnr afca744880 swift: various fixes
Remove Emacs column in README tables
Update README headers
Use post-init function instead of layer-usedp
Clean stand-alone closing parentheses
Replace deprecated evil-leader/set-key-for-mode
2015-12-03 23:46:52 -05:00
Uri Sharf bc20b25300 Swift support initial import 2015-12-03 23:34:01 -05:00
Boris c9de044549 fix typo in haskell readme
Sorry, someone just told me that this script is not working :-P
2015-12-03 13:52:43 +01:00
Jenan Wise d850fbc9aa declare-prefix-for-mode for all derived clojure-modes.
Previously, prefixes only worked for `.clj` files, not `.cljs`, `.cljx`,
or `.cljc`. `clojure-mode.el` defines derived major modes for each of
those other filetypes.

In other parts of the clojure layer, `(dolist (m '(...` is used to apply
effects to all of the derived modes, but it was missing from the usage
of `spacemacs/declare-prefix-for-mode`.

`cider-repl-mode` was also added to this list.
2015-11-29 12:15:06 +01:00
Jenan Wise 8998c1de71 Declare prefixes for go layer. 2015-11-29 12:14:44 +01:00
Alex Charlton 2e717e8ca5 Declare helm prefixes for scheme layer 2015-11-29 11:57:23 +01:00
Eivind Fonn 1ce8e28dc1 Fix smartparens loading in web-mode 2015-11-29 09:17:37 +01:00
Ben fb62086b34 Binding added to open Tex-output-buffer 2015-11-28 15:03:05 +01:00
syl20bnr c1446d3650 Revert "Binding added to open Tex-output-buffer"
`SPC m o` is reserved to the user.

This reverts commit f839f4a6b7.
2015-11-27 21:08:31 -05:00
Ben f839f4a6b7 Binding added to open Tex-output-buffer 2015-11-27 10:32:51 +01:00
Aku Kotkavuo d5a63a2794 Clojure: recommend using :repl profile with CIDER
See http://blog.maio.cz/2015/11/cider-slows-down-leiningen-startup-here.html.
2015-11-27 10:32:51 +01:00
Brenton Alker 94ae7b1b40 javascript: Declare prefix for "text" "move" menu 2015-11-27 10:32:51 +01:00
Diego Alvarez bf0d4dc397 Fix period from triggering complete
Fixes https://github.com/syl20bnr/spacemacs/issues/2702
2015-11-27 10:32:51 +01:00
Eivind Fonn 2d4ee99843 Disable typo in LaTeX 2015-11-27 10:32:51 +01:00
Eivind Fonn 01b587ccf7 Add TeX-font bindings 2015-11-27 10:32:51 +01:00
Chris Perkins 57fd8b2504 clojure: use cljr--all-helpers for refactorings
clj-refactor defines a list of all available refactorings, along with
the standard two-letter keybindings. Use it, so that spacemacs will get
any added refactorings for free, with no code-change needed in the
clojure layer.
2015-11-27 10:32:51 +01:00
Muneeb Shaikh 4ce11551ec Fixed undefined (ruby-)mode which key prefix declaration
* layers/+lang/ruby/config.el (ruby-mode): Fix
2015-11-27 12:33:40 +05:30
syl20bnr 7e0d8f2d32 ruby: replace ruby-use-ruby-test by ruby-test-runner
Also cleanup configuration.
2015-11-27 00:28:38 -05:00
Alex Girdler cf5bc0a634 ruby: Add support for botch rspec and ruby-test
Add more keybinds and update README
2015-11-27 00:11:01 -05:00
syl20bnr ecf237af18 ruby: correct prefix command name for RuboCop 2015-11-26 23:57:33 -05:00
syl20bnr 5b99a60617 ruby: update RuboCop bindings
Make them available in both ruby-mode and enh-ruby-mode
2015-11-26 23:55:43 -05:00
Daniel Luna 3d64532047 Adding rubocop to ruby layer 2015-11-26 23:40:18 -05:00
syl20bnr 3624ff2eb8 scheme: update documentation 2015-11-26 23:34:11 -05:00
Diego Berrocal 062a89f8e5 Add Scheme Leader keybindings for evaluation (,ee)
This was missing
2015-11-26 23:30:36 -05:00
troydm e8d3ecee0e scheme implementation selection keybinding added for scheme layer 2015-11-26 23:29:16 -05:00
tcallan 54fda31f6d elm: fixed misnamed function in repl bindings
When pull request #3855 was cherry picked in (due to conflicts),
spacemacs/elm-repl-push-decl-focus was incorreclty referenced as
spacemacs/elm-repl-push-decl in the keybindings.
2015-11-24 17:38:24 +01:00
syl20bnr 093ae18d26 yaml: enable company 2015-11-24 09:56:10 -05:00
Robert O'Connor a842d5bdf8 company-nim is now bundled with nim-mode
Fixes #3935
2015-11-24 15:47:07 +01:00
tcallan 881ac19114 elm: fix incorrect bindings
Upstream elm-mode renamed REPL related functions from *-elm-repl to
elm-repl-*, but the elm layer was still referencing the old names (except
for elm-repl-load which had previously been fixed).
2015-11-23 20:32:48 +01:00
Eivind Fonn 1b54bb4ebd Move elm prefixes to packages.el 2015-11-23 20:27:36 +01:00
Brenton Alker 426d500574 elm: define key binding prefixes for major mode 2015-11-23 20:25:23 +01:00
d12frosted 4b9b61e5a0 [haskell] fallback to interactive mode
When user disabled ghc-mod, haskell mode should fallback to interactive
mode, so type bindings (and some others) are working properly. It's also
useful for ghci-ng users, but doesn't affect ghci-ng-only bindings.

Fix #3777
2015-11-23 20:23:11 +01:00
justbur 8ed77160bb layers: Fix missing owner for some layers
This is a partial fix for #3493. I didn't touch layers where I can't
tell what the intention was for how it should work.
2015-11-23 20:22:38 +01:00
Eivind Fonn ddcc697213 Clean up scala-eldoc code 2015-11-23 20:09:57 +01:00
Diego Alvarez a92cf03093 Disabled automatic eldoc-mode in scala layer
A conf var is provided to enable it automatically.
Default is null.
2015-11-23 20:06:39 +01:00
Eivind Fonn 0e919507ee Insert missing HTML_HEAD_EXTRAs 2015-11-23 14:09:16 +01:00
Eivind Fonn 7c28986192 Fix some broken documentation 2015-11-23 13:57:27 +01:00
Fabien Dubosson 3a5c375c6c Correct forgotten python major mode bindings 2015-11-22 18:45:12 +01:00
justbur 9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Eivind Fonn e7fbc84ff0 Remove package guards for evilified
See discussion in #3879
2015-11-21 11:07:14 +01:00
justbur b294461957 evilified-state: Make into local package 2015-11-18 23:35:01 -05:00
Sebastian Wiesner 607d0549f3 Don't set match data needlessly 2015-11-16 12:39:42 +01:00
Wieland Hoffmann 602a21beb9 python: list the correct keybindings for interacting with pyenv 2015-11-16 12:39:16 +01:00
Ben bb2ca5117d Spelling correction in funcs.el file (latex layer) 2015-11-16 12:39:00 +01:00
Eivind Fonn c609f48cba Refactor zsh shell-script code
- Move to packages.el
- Give setup function an explicit name
- Guard for non-file buffers
2015-11-15 12:49:49 +01:00
Eivind Fonn 6887320420 Fix up latexmk code
- Use a use-package hook instead of eval-after-load
- Set auctex-latexmk-inherit-setup during init
- Don’t set TeX-command-default in hook
2015-11-14 15:10:26 +01:00
Ista Zahn 852ec8fb41 Configure latexmk as the default build command 2015-11-14 15:10:17 +01:00
Eivind Fonn 38e48aa95d Highlight TODO keywords in all prog modes
Also make the colon optional
2015-11-14 00:34:05 -05:00
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
taksuyu b811475077 Restructured haskell/init-haskell-mode settings 2015-11-10 22:47:16 +01:00
d12frosted 2670d01a78 [haskell] configure C-c C-l so it doesn't error
By default `C-c C-l` shows following error:

```
haskell-mode-enable-process-minor-mode: Run ‘C-h f haskell-mode‘ for instruction how to setup a Haskell interaction mode.
```

Which might confuse users and they might end up setting
interactive-haskell-mode, which in most cases not what we want.

Also, it gives short key binding for emacs-only editing style users to
bring up REPL.
2015-11-09 19:29:29 +01:00
Eivind Fonn 7c3d679a40 Update elm docs for elm-repl-load 2015-11-09 18:57:22 +01:00
Justin Holguin 6fdc2a2e40 elm: fix incorrect binding for elm-repl-load
The function that loads a new Elm REPL is `elm-repl-load`, but it was
incorrectly referenced in the elm layer as `load-elm-repl`.
2015-11-09 18:56:27 +01:00
Matthías Páll Gissurarson 9714644a8f added keyboard shortcuts for ghc-mod in haskell 2015-11-06 14:53:00 +01:00
ralesi e29125e4a6 Use q to exit macrostep
If `macrostep-mode` is entered separate of micro-state, there is no
normal mode mapping that will exit it.
2015-11-03 00:00:55 -05:00
Sebastian Wiesner 1a7bc42089 scala: Enable Ensime’s Expand Region integration
See https://github.com/ensime/ensime-emacs/pull/263
2015-11-03 00:00:55 -05:00
Sebastian Wiesner 02542d6996 scala: Fix bindings for Ensime test commands 2015-11-03 00:00:55 -05:00
Fabien Dubosson f3b99d6edf Make OCaml-generated files invisible to completion 2015-11-03 00:00:55 -05:00
syl20bnr bb80e94d38 haskell: replace lambda with a named function 2015-11-03 00:00:54 -05:00
d12frosted 4dc3b120a9 force haskell loading in cabal files
Fixes #335
2015-11-03 00:00:54 -05:00
Eivind Fonn 33a19b48fd Fix LaTeX flyspell hook 2015-11-02 21:25:11 +01:00
Eivind Fonn 13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
d12frosted 1e8504d06c add REPL key bindings to haskell-cabal-mode 2015-10-31 14:13:20 +01:00
d12frosted 59342f7cdb [haskell] fix REPL bring function
So now, instead of switching to it - `SPC m s s` shows REPL buffer
without switching to it.
2015-10-31 14:13:13 +01:00
Utkarsh Kukreti 89001ff7cb elixir: Bind "q" to 'quit-window in various elixir modes. 2015-10-31 14:09:34 +01:00
Utkarsh Kukreti 6aa2f7db29 elixir: Enable company-mode in alchemist-iex-mode. 2015-10-31 14:08:45 +01:00
bogdanteleaga 0917dc8337 Added more features for testing in golang layer 2015-10-29 19:42:32 +01:00
bogdanteleaga 9c7033cee5 Updated readme with example for goimports 2015-10-29 19:41:30 +01:00
Diego Berrocal 358b38cec5 Add python prefixes for python 2015-10-29 19:29:46 +01:00
d12frosted e5c0891bb8 haskell-indentation is enabled by default
Fixes #3581
2015-10-29 19:16:51 +01:00
Eivind Fonn ae47ac0671 Fix haskell layer paren bug 2015-10-29 14:11:26 +01:00
Eivind Fonn 7b8e996ec9 Fix ghc-mod variable name 2015-10-29 13:48:46 +01:00
Boris 775a6cd6cb don't push company-ghc when ghc-mod is disabled
Because it forces `ghc-mod`, so haskell layer doesn't respects the value of `haskell-enable-ghc-mod-support`.
2015-10-29 13:48:46 +01:00
d12frosted 95a7bb51b1 [haskell] add note about indentation reset 2015-10-29 13:48:46 +01:00
d12frosted 8583875632 update haskell layer documentation
- fix some inaccuracies
- add more notes about using ghc-mod
- add more notes about using ghci-ng
- add more notes about using shm
- add more troubleshooting
2015-10-29 13:48:46 +01:00
Wieland Hoffmann 104a1f8c9b Python: None of the keys start with m T, remove mention of it 2015-10-29 13:48:46 +01:00
Eivind Fonn 16e7ad2923 Clean up PATH documentation 2015-10-29 13:48:46 +01:00
d12frosted a89a05ca9a add note about setting up $PATH 2015-10-29 13:48:46 +01:00
Eivind Fonn f32f2f8ad8 Add company-css backend in web-mode 2015-10-29 13:48:46 +01:00
Eivind Fonn 405dc6600d Restore alphabetical order in markdown doc 2015-10-25 11:01:08 +01:00
Ista Zahn ec7a318fc6 Utility function for starting ESS REPLs 2015-10-25 10:54:05 +01:00
Wieland Hoffmann 9d12307ce9 Fix the list of buffer-wide commands in markdown
The old list was completely wrong for some reason, so here's the correct
one, in the order the keybindings appear in packages.el.
2015-10-25 10:51:19 +01:00
Max Wofford 0fbafbc2da Fix typo in latex README
auto-fille-mode -> auto-fill-mode
2015-10-25 10:40:34 +01:00
Pierre Radermecker 5473d441d4 Remove guides to comply with latest haskell-mode
The visual guides have been removed from haskell-mode as of ee55de1 (#947)
2015-10-25 10:28:38 +01:00
sectorzero 5c0bbd1660 go layer : function to 'go run' on current 'main' package 2015-10-22 21:55:35 -04:00
sectorzero 5f40cc56fa go layer : import GO15VENDOREXPERIMENT from env
New Go package management tools will follow this env variable to
determine the location to look for dependencies
See : https://github.com/golang/go/wiki/PackageManagementTools
2015-10-22 18:46:23 -04:00
David Gu 47ce1707b6 Declare prefixes for elixir-mode 2015-10-21 17:31:04 -04:00
Sebastian Wiesner 7a7300ac42 Declare prefixes for Ensime keybindings 2015-10-21 17:29:39 -04:00
Sebastian Wiesner 9da101f1d7 Add prefixes for Ruby 2015-10-21 17:27:35 -04:00
d12frosted da394374de fix inaccuracy in omnisharp readme file
Omnisharp-server is not included in this layer - only omnisharp-emacs.
Server is installed (as described) manually.
2015-10-21 17:22:44 -04:00
syl20bnr bbd031d407 markdown: add doc for SPC m x C 2015-10-21 17:12:30 -04:00
Sebastian Wiesner b8846361ad Add binding for markdown GFM code blocks
Also declare prefixes for markdown keys
2015-10-21 17:04:16 -04:00
Max Gonzih 7c8cc42480 Remove extension for flycheck-nim, use melpa package instead. 2015-10-21 20:34:19 +02:00
Wieland Hoffmann 70ecefe79b python/doc: Fix a link to pylookup 2015-10-19 00:29:49 -04:00
d12frosted 1c54ee534f add prefixes to haskell-mode bindings 2015-10-19 00:12:02 -04:00
syl20bnr 6e5924014c ruby: make the built-in ruby mode the default and...
... rename layer variable `ruby-use-built-in-ruby-mode` to
`ruby-enable-enh-ruby-mode`
2015-10-19 00:10:32 -04:00
Sebastian Wiesner 40f369ffa0 ruby: Enable built-in Ruby Mode
Enable built-in Ruby Mode, by default on Emacs 24.4 and newer where it
was significantly improved.  Otherwise keep using Enh Ruby Mode.

Add all keybindings to both modes, and provide a variable to change the
default mode.
2015-10-19 00:04:37 -04:00
justbur 44cb780f25 emacs-lisp: Use auto-compile package
Also add key bindings for compiling and showing the compile log.
2015-10-18 23:59:47 -04:00
Sebastian Wiesner 77d5a36dec Mark css-indent-offset as safe local variable 2015-10-18 23:42:32 -04:00
Sebastian Wiesner 6a60346b72 Only disable scala syntax checker in Ensime
Flycheck also includes a scalastyle syntax checker which is still
useful because Ensime doesn't have scalastyle support.
2015-10-18 22:12:28 -04:00
Sebastian Wiesner cc9f1c1065 Bind mbb to sbt-command in scala layer
Provides a shortcut to run arbitrary SBT commands from scala mode
buffers
2015-10-14 00:29:30 -04:00
Ista Zahn 6434044f61 Let ESS set up completions 2015-10-14 00:26:29 -04:00
syl20bnr 101f57f606 Move vim layer to vimscript
Also refactor a bit the package config.
2015-10-14 00:14:33 -04:00
ralesi 14e7fb954c Vim syntax layer. 2015-10-14 00:10:57 -04:00
Robert O'Connor d8566c1752 tweak evil-matchit for the html layer 2015-10-13 23:48:44 -04:00
Robert O'Connor a9716e3f79 add evil-matchit support for js files 2015-10-13 23:48:44 -04:00
Pierre Radermecker dac0ba87a4 Fix #1493: add align rule for Haskell 2015-10-12 10:10:33 -04:00
syl20bnr 49df0162b3 emacs lisp: disable flycheck by default
In this case the saner default is too disable it because there is
too much false warning
2015-10-12 10:02:10 -04:00
syl20bnr b27d6bd94e haskell: simplify SPC mhi and SPC mht config 2015-10-12 09:50:13 -04:00