Commit graph

691 commits

Author SHA1 Message Date
Christian E. Hopps b22702bc9e Expand gtags use to many more languages 2016-07-17 17:31:59 +02:00
Eivind Fonn 7a440195a8
Fix some intero functions 2016-07-17 10:00:34 +03:00
bja a308eef060 Fix bug with Autocomplete in elm
Adds company-elm to company-backends-elm-mode
2016-07-06 22:11:33 -04:00
syl20bnr 7df72331e6 elm: move format buffer to SPC m = b to follow conventions 2016-07-06 22:09:25 -04:00
Daniel 17a0c5dac2 Add a key combination to format elm files 2016-07-06 22:04:04 -04:00
syl20bnr 0ca8d2f87c elm: respect max 80 characters per line in README 2016-07-06 21:59:47 -04:00
bja 3bcb84f3e9 Adds elm-format section and advice for absolute paths with npm 2016-07-06 21:58:40 -04:00
Jeremy Bi 149f6c0530 ocaml: Remove outdated config of utop
The old config overrides `exec-path` blindly, updated as per the
instructions on the official site of `utop`.
2016-07-06 21:27:01 -04:00
Ayush Goyal 1fdc2f8fe2 Fix yaml layer autocompletion
Autocompletion was not working with yasnippets for yaml layer. This also
fixes autocompletion for ansible layer.
2016-07-06 21:24:33 -04:00
ralesi c2a0a5670f Provie additional filetypes for windows scripts. 2016-07-05 00:23:16 -04:00
syl20bnr c2c0bfa969 ahk: move SPC m h r to SPC m h H 2016-07-05 00:23:16 -04:00
ralesi 51a49cbdcd Define ahk lookup options. 2016-07-05 00:23:16 -04:00
hehe ac0e988588 Fix #5966, slime-eval-last-sexp is not defined 2016-07-05 00:23:16 -04:00
syl20bnr b093598e45 python: avoid code duplication with hy-mode 2016-07-05 00:23:16 -04:00
Danny Freeman fa28afb02f Add keybindings for hy-mode in python layer
These changes will allow users to evaluate hy code in a repl using an
inferior-lisp process. It requires that users have hy installed via pip
in their local python enviornment.

Add smartparens-mode and documentation

I moved the add-hook for smartparens call to
python/post-init-smartparens. Keybindings were also updated to match
the ones for the Inferior REPL process for Python. Also added some
documentation for required hy pacakge, and the keybindings to
README.org.
2016-07-05 00:23:16 -04:00
Fabien Dubosson 5df76ed1d1 Fix the loading of vmd for daemon mode
When Spacemacs is used in daemon mode, the `PATH` is not always filled
up with user-defined run paths when Spacemacs load the packages. The
`toggle` of the `vmd` package is checking for the `vmd` executable which
may be in one of the user path, what prevent the package to be loaded,
even if the executable is available at execution time.

If people want to use `vmd`, setting `markdown-live-preview-engine`
should be enough, there is no need for checking for the executable to be
present, this is the responsability of the user to ensure this.
2016-07-05 00:23:16 -04:00
zilongshanren bbfb4a0ea7 typescript: swap c-j/c-k in tide reference mode 2016-07-05 00:23:16 -04:00
syl20bnr 482277dad5 purescript: reorganize README.org 2016-07-05 00:23:16 -04:00
Christoph Hegemann 72515135dc incorporate new functionality from psc-ide 2016-07-05 00:23:16 -04:00
Jeremy Bi de680bb5a0 Don't auto-close apostrophes in SML 2016-07-05 00:23:16 -04:00
Jeremy Bi 4eb9ce41d9 Cleanup ocaml layer
- Remove `merlin-refresh` keybinding
  This function is obsolete since merlin 2.0.
- Remove unused flycheck config
  Merlin is capable of doing all that
2016-07-05 00:23:16 -04:00
syl20bnr 136e1ee237 scala: defer ensime package and add note for scala-mode-hook 2016-07-05 00:23:16 -04:00
Diego Alvarez e677682d1a Remove unnecessary command
as this upstream commit is already doing it:
706aa5e40b
2016-07-05 00:23:16 -04:00
Tony Lotts 768371b6fb Load Scala for org-babel 2016-07-05 00:23:16 -04:00
Christoph Paulik e93e7ba279 ESS: Add R to org babel languages. 2016-07-05 00:23:16 -04:00
syl20bnr 15c392b891 haskell: remove unnecessary backquote 2016-07-05 00:23:16 -04:00
Koray Al 8d0f76b259 haskell: replace quotes with backquotes inside pcase 2016-07-05 00:23:16 -04:00
Jeff Schnurr a6d6a53501 Fix dependency in readme
If only ipython is installed, command $ ipython notebook fails with ImportError: No module named 'notebook'.  Correct to specify dependency to include the notebook server.
2016-07-05 00:23:16 -04:00
d12frosted d114ef6e51 [shell-scripts] add note about shellcheck 2016-07-05 00:23:16 -04:00
Jeremy Bi 644cddca27
Enable auto-complete in Idris repl
Add keybinding to kill Idris process
2016-07-02 12:41:49 +03:00
syl20bnr 89dc1af9a6 Remove spacemacs/add-to-local-vars-hook and use (format ...)
It is better to directly hook function using the conventional hook
functions.

Replace usage of (concat ...) by a (format ...) from which is more
readable.
2016-06-26 14:04:13 -04:00
d12frosted a8b0eaacec fix support of conditional config in ruby layer 2016-06-26 13:51:12 -04:00
d12frosted 45dd381fd2 conditionally enable haskell completion backend 2016-06-26 13:51:11 -04:00
d12frosted 6798af57e3 implement API for local-vars-hook 2016-06-26 13:51:11 -04:00
syl20bnr 93d01704a6 haskell: align tables in documentation 2016-06-23 00:50:03 -04:00
d12frosted a8e569d3b2 refine haskell completion backends
- add haskell-completion-backend variable that should be used to select
  desired completion backend
- add support for intero (based on @cydparser layer)
- remove ghci-ng support
- update readme file:
  - document haskell-completion-backend variable
  - remove installation notes for ghc-mod as they are not relevant
    anymore
  - remove ghci-ng section
  - overall readme file fixes and improvements
2016-06-23 00:47:23 -04:00
syl20bnr 85ace24553 react: fix tern setup
The init function should be a post-init instead of an init function.
Also simplified the configuratin quite a bit.
2016-06-21 19:04:59 -04:00
d12frosted 7de26d5a2d
clarify installation notes on scala readme 2016-06-21 20:05:21 +03:00
Tony Lotts 9f46d563b8
Update README.org
Refer to Ensime's SBT plugin installation instructions.
2016-06-21 19:59:17 +03:00
km d7820aafd6 Remove even more 24.3 related configuration
Helm-flx, which is included as a core package, requires a minimum Emacs
version of 24.4. As it stands attempting to install Spacemacs on Emacs
24.3 or below will break on helm-flx.
2016-06-20 22:26:53 -04:00
syl20bnr 2738724ed4 erc, html and pdf-tools: use :evil-leader-for-mode in transient states 2016-06-17 23:40:06 -04:00
syl20bnr d66b5c0a93 iptyhon-notebook: evilify notebooklist buffer
Move eval-after-load to :init block.
2016-06-17 23:22:12 -04:00
syl20bnr 3768374488 ipython-notebook: resize images in readme 2016-06-17 23:21:45 -04:00
syl20bnr 4ff26b3f27 ipthon-notebook: move transient state binding to SPC m .
Or `,.` with the shortcut, this is a more standard approach.
Use the :evil-leader-for-mode keyword to bind the transient state

Add space in the :doc of the transient state because auto-indent of
elisp code is broken otherwise.
2016-06-17 22:55:19 -04:00
Eivind Fonn 074ac8f756 ipython-notebook: fix loading of keymap 2016-06-17 18:40:13 +02:00
NJBS b6432e1efe Add prefixes to the LaTex layer 2016-06-12 21:57:14 -04:00
Ben Gamari 7b1430e9d5 haskell: Don't enable haskell-tags-on-save
This is a very opinionated option and works very poorly on even
moderately large projects as it invokes `hasktags` synchronously,
freezing the editor for several seconds on every save. Users who want
this behavior should enable it manually.

Fixes #6292.
2016-06-12 21:51:28 -04:00
Eivind Fonn 0b2a438aa7 clojure: enable smartparens in cider
cider-repl-mode doesn’t derive from comint
2016-06-12 21:50:34 -04:00
kr5x 07864f50d9 common-lisp: Remove <tab> key binding
'indent-command-for-tab' that already bound to <tab> globally is more useful.
2016-06-12 21:44:52 -04:00
Wieland Hoffmann 78bfe65e62 Python: Don't remove ':' from electric-indent-chars in emacs >= 24.5
According to the conversation in [0] ':' is removed from
electric-indent-chars in python-mode because typing ':' in

> for i in range(10):
>    print(i)
> for i in range(10)_

with the point at _ indents the third line. This is not happening in
Emacs 24.5 anymore.

[0] aed0fc8ef8
2016-06-12 21:42:40 -04:00
d12frosted 9df123c40c haskell: remove structured-haskell-mode 2016-06-12 21:11:32 -04:00
syl20bnr cb6754f231 Remove packages without any init functions 2016-06-10 20:53:24 -04:00
syl20bnr 81fbb9a292 Format README files with spacefmt 2016-06-10 00:09:42 -04:00
syl20bnr 89d5aad0a5 Various tweaks to golden-ratio configuration
- Prefer add-to-list function to alter golden-ratio variables so the lists
are less likely to grows as users reload their spacemacs config.
- Move some config to layers when appropriate
- Sort alphabetically the values
- Remove some duplicates in exclude-modes
2016-06-08 10:17:08 -04:00
syl20bnr 84aee08b6f elixir: improve documentation for flycheck-mix 2016-06-07 23:51:33 -04:00
Tomasz Kowal 194813961b Replace local elixir-flycheck-mix-compile package with flycheck-mix from melpa 2016-06-07 23:37:53 -04:00
syl20bnr a1d60c0c82 haskell: unify key bindings for debugging 2016-06-07 23:36:06 -04:00
d12frosted adec65cc2b evilify haskell-debug-mode 2016-06-07 23:31:17 -04:00
Paul Wise 90c09f94bc Add hlint-refactor to haskell layer 2016-06-07 23:28:21 -04:00
syl20bnr ea77a5d764 markdown: new layer variable markdown-live-preview-engine 2016-06-06 23:39:41 -04:00
Jeremy Bi c267c36be1 Add vmd support in markdown mode 2016-06-06 23:01:06 -04:00
syl20bnr 14c4b7e6c4 ruby: fix possible activation of both rspec-mode and ruby-test-mode 2016-06-06 22:55:28 -04:00
syl20bnr f1cb1f4ef9 ruby: move function spacemacs//inf-ruby-auto-center to funcs.el 2016-06-06 22:55:28 -04:00
Daniel Luna af3f053235 Automatically switch from RSpec compilation mode to interact with a debugger
This commit adds the 'inf-ruby-auto-enter method to
'compilation-filter-hook, automatically entering inf-ruby-mode when it
hits a breakpoint (see the
[inf-ruby-manual](https://github.com/nonsequitur/inf-ruby/#manual) for
more details).

The hook is added locally to the rspec-compilation-mode-hook to avoid
global slowdown, as the compilation-filter-hook is called whenever a
new line is entered.
2016-06-06 22:55:28 -04:00
syl20bnr 7506024684 ruby: apply conventions for use-package a move functions to funcs.el 2016-06-06 22:55:28 -04:00
syl20bnr 8f65b1b8be ruby: document previous commit and move function to funcs.el 2016-06-06 22:55:28 -04:00
Daniel Luna 9ca6306736 [ruby-layer] Adding ruby/rspec-verify-directory method for running specs for a
specific directory.

This commit creates a 'ruby/rspec-verify-directory command, which
prompts for a directory and runs rspec on it. This command is bound to
ruby-modes' keymaps under the "td" keybinding.
2016-06-06 22:55:28 -04:00
James Conroy-Finn 1b356ea776 Add Appraisals to ruby modes 2016-06-06 22:55:28 -04:00
Tommi Komulainen 8edc118505 elm: mention elm-sort-imports-on-save in documentation 2016-06-06 22:55:28 -04:00
Tommi Komulainen 615776b0a2 elm: add SPC m r i key binding for elm-sort-imports 2016-06-06 22:55:28 -04:00
Tommi Komulainen 07a04020a8 elm: remove n/p key bindings from package list mode
(In vim style) this leaves the `n` to its usual binding to repeat the
last search which is much more practical when searching for package to
install.

elm-package-next / elm-packge-previous don't seem to do much more than
move to next/previous line so not much functionality is lost.
2016-06-06 22:55:28 -04:00
syl20bnr 56ee037cd7 python: prefix functions with spacemacs 2016-06-05 21:53:14 -04:00
Christoph Paulik 9f28409b0c Allow multiple python test runners by using dispatch functions.
This allows python-test-runner to also be a list of either '(nose
pytest) or '(pytest nose) which then calls the correct test runner in
the dispatch functions.
2016-06-05 21:41:23 -04:00
syl20bnr 7ca7f2827a scala: change back key bindings to SPC m h
For printing types, those key bindings are standard in spacemacs.
2016-06-05 00:44:51 -04:00
Diego Alvarez ed1c3d2d35 Using new upstream commands
- Improve copy to clipboard
- changed and added a few commands keymap
2016-06-05 00:38:29 -04:00
Andrew Schwartzmeyer 98e6d46ab9 csharp: enable evil-matchit for C-like tags
Such as preprocessor definitions.
2016-06-03 23:40:59 -04:00
d12frosted 815cf8c5d7 add troubleshooting notes for ghc-mod 2016-06-03 23:34:29 -04:00
Jeff Wu e9cb18f2f2 Fix javascript layer refactoring documentation 2016-06-01 21:40:12 -04:00
syl20bnr a2308d9b30 elixir: remove not maintained packages
credo and test results flycheck checkers
2016-06-01 21:25:02 -04:00
syl20bnr a019d0a15c elixir: don't use flycheck-mode-hook for checkers 2016-06-01 11:28:10 -04:00
Eivind Fonn 62fc64f745 core: special toggle API for minor modes 2016-05-31 22:33:44 -04:00
syl20bnr e825ad9be0 elixir: update doc 2016-05-31 22:23:18 -04:00
syl20bnr 4996f5248c elixir: add flycheck support for test results 2016-05-31 22:15:19 -04:00
syl20bnr 5b97df814e elixir: add flycheck support for credo 2016-05-31 21:51:49 -04:00
syl20bnr dd572af071 elixir: add flycheck support for mix compile 2016-05-31 21:34:51 -04:00
syl20bnr 8fc53ae311 elixir: fix major mode face in mode-line
when a file is opened.
2016-05-31 20:21:50 -04:00
syl20bnr 5af1e453c6 elixir: fix smartparens setup 2016-05-31 13:49:09 -04:00
Yasuharu Iida 4ef24c27f7 ocaml: Add support for ocamllex , ocamlyacc file. 2016-05-30 21:06:02 -04:00
Eivind Fonn 92d735483e Revert "agda: fix executable name"
This reverts commit 2477a3bf89.
2016-05-30 15:04:49 +02:00
Eivind Fonn 2477a3bf89 agda: fix executable name 2016-05-30 14:59:42 +02:00
sooheon 06efe3e6ae Typo fix for ipython layer: S-return to s-return
Also add "o" binding in ein:notebooklist-mode-map for ace-buffer-links.
It works just as in the spacemacs buffer.
2016-05-29 23:17:42 -04:00
Julian Ospald d320d1af4b Fix proposed ghc-mod workaround in haskell layer README
"m" is extraneous.

Also see #4770 and #4790
2016-05-29 23:14:24 -04:00
d12frosted ce88cdfca7 [haskell] fix type and info hey bindings 2016-05-29 23:00:24 -04:00
Jean-Martin Archer 71c731aaf6 Use scala-mode instead of scala-mode-2 which is deprecated 2016-05-29 22:53:19 -04:00
Dave Aitken 2f7218e4c2 add-flycheck-hook expects a mode in purescript layer 2016-05-29 22:50:19 -04:00
syl20bnr a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
Eivind Fonn ed8c0ca1dc latex: fix auctex-latexmk error 2016-05-29 18:23:51 +02:00
Eivind Fonn 439ce31bc5 asm: minor fixes
- Don’t need to enable company mode that way
- Disable electric local mode, and not global
- Properly handle electric indent disabling
2016-05-28 22:23:30 +02:00
Peng Liu 584cae8d6f Fix the dependencies missing in bibtex layer. 2016-05-27 00:32:05 -04:00
syl20bnr 303e76b769 remove remaining packages-funcs.el and packages-config.el 2016-05-27 00:32:05 -04:00
sooheon 15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
sooheon 0a85d04892 Check for flycheck, not syntax-checking layer
This allows loading even when someone uses flycheck in their personal
layer.
2016-05-27 00:32:05 -04:00
Diego Alvarez 9cb0c1e109 Use new command to generate config
Old command doesn't exist anymore
2016-05-27 00:32:05 -04:00
syl20bnr dbf82d3136 common-lisp: move helm specific stuff to post-init function
Also move defined functions to funcs.el
2016-05-27 00:32:05 -04:00
kr5x 5eba263448 common-lisp: add helm for choose lisp implementation 2016-05-27 00:32:05 -04:00
km 9c4bf48d3e Add prefixes to the OCaml bindings 2016-05-16 23:57:47 -04:00
syl20bnr 9b3f5cac05 ocaml: add doc for SPC m = 2016-05-16 23:57:15 -04:00
km e70796882d Add OCaml binding to indent buffer with ocp-indent 2016-05-16 23:55:25 -04:00
Matthew Egan Odendahl bef3f838fd add prefix names for which-key 2016-05-16 23:55:18 -04:00
syl20bnr 1f993bddf6 Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
syl20bnr bb2e582703 move diminish to spacemacs-bootstrap
Also cleanup diminish init function
2016-05-14 11:57:23 -04:00
JAremko 73d48338c8 remove tslint package 2016-05-11 20:59:05 -04:00
JAremko 75754a3a9e Make tide formatter default 2016-05-11 20:59:05 -04:00
JAremko bf4baf0646 make tsfmt use config file 2016-05-11 20:59:00 -04:00
JAremko adebb01358 Add 'send to playground'
remove unnecessary init

refactoring

typo
2016-05-11 20:58:20 -04:00
JAremko 0f36dd44d7 fmt typescript docs
formatting

formatting
2016-05-11 20:58:20 -04:00
Overmind JIANG 5eac955cd3 Allow tsfmt to use the local project's config.
By adding `--baseDir=.` to the command line arguments.
2016-05-11 20:58:12 -04:00
JAremko 4f37acdfae add go coverage key bindings
fix copypasta
2016-05-11 20:50:16 -04:00
NJBS c44bcf88ac Fix Elisp = prefix 2016-05-11 20:49:28 -04:00
Christoph Paulik 4d080a65fb Diminish tern and skewer mode. 2016-05-11 20:47:04 -04:00
Eivind Fonn 3d0787baa2 scala: Clean up README 2016-05-06 13:35:30 +02:00
Eivind Fonn 3a6db330a8 scala: Remove superfluous variable 2016-05-06 13:35:10 +02:00
tintin eabd3b859b Add java-doc-style config to scala layer 2016-05-06 13:32:03 +02:00
Eivind Fonn 3145e70f72 haskell: Clean up README 2016-05-06 13:24:12 +02:00
Maxime Bourget df669900da Update haskell layer documenation.
Add syntax checking section and improve FAQ so solve syntax checker problems.
2016-05-06 13:07:15 +02:00
Eivind Fonn 3b6f12f409 bibtex: Compress key bindings table 2016-05-06 13:03:30 +02:00
Christoph Paulik 8bc2329b3d Fix bibtex keybinding loading and add more navigation options.
Fix #5985
2016-05-06 13:01:27 +02:00
bmag 6edef36b17 Call python-setup-shell only once, not from hook 2016-05-06 12:59:51 +02:00
Eivind Fonn 46446df83d Make boot file regexp more restrictive 2016-05-06 12:59:05 +02:00
Eivind Fonn ff8d4dada8 Move lua setup to init block 2016-05-05 14:15:25 +02:00
sindikat 5fab3f087d Fixed agda-post-packages -> agda-packages (develop) 2016-05-05 12:56:40 +02:00
Eivind Fonn 3561b4dcf9 Fix go/README.org 2016-05-05 12:47:04 +02:00
JAremko 11e696ad06 add var go-use-gometalinter 2016-05-04 08:34:32 +03:00
syl20bnr 17fbeaf861 haskell: move haskell-modes variable def to config.el 2016-05-01 11:41:38 -04:00
syl20bnr 425e6ba7de haskell: use package toggles for company packages 2016-05-01 11:40:54 -04:00
Tim Dysinger 5cc4e16f4d Adds company-ghci to haskell layer
You don't need ghc-mod to do code completion with ghc 7.10+. GHCI has built-in code-completion suggestions you can aske for.  This is what company-ghci does.
2016-05-01 11:30:58 -04:00
syl20bnr d94b17d57b go: use :toggle for flycheck-gometalinter package
Turn the maybe function into an always since the package
flycheck-gometalinter is installed only if gometalinter is found.
2016-04-29 22:58:23 -04:00
JAremko ae512ee8f1 Use gometalinter if present. 2016-04-29 22:52:05 -04:00
syl20bnr 354ca0b781 graphviz: use a use-package hook for org babel config 2016-04-29 22:47:03 -04:00
Christian E. Hopps 91942469b6 Enable graphviz mode in org babel blocks 2016-04-29 22:17:30 -04:00
Steven Allen 9f48b951db Fix file extension matching for filenames with newlines
- "\\.ext$" matches both "abc.ext" and "abc.ext\nsomething".
- "\\.ext\\'" matches only "abc.ext".
2016-04-29 22:16:49 -04:00
James 0d20c77798 spacemacs/layers/+lang/latex/README.org typo
Docs: Folding keybindings are enabled by `latex-enable-folding`
2016-04-29 18:12:55 -04:00
Robert O'Connor cd13e0f885 Make pug files use jade-mode since jade is now called pug 2016-04-29 18:08:14 -04:00
Fabien Dubosson a63bf2ab13 Add more information regarding tern on windows 2016-04-28 15:58:12 +02:00
Fabien Dubosson a03aff8fa1 Apply fill-paragraph after previous commit 2016-04-28 15:50:11 +02:00
Liang Zhou d2486e3956 Update tern configuration for windows. 2016-04-28 15:48:38 +02:00
NJBS 32466ca272 Update go README to include goimports prereq
see #5855
2016-04-28 15:40:26 +02:00
Fabien Dubosson ba7d050321 [autohotkey] reorder line alphabetically 2016-04-28 15:33:33 +02:00
krobelus 690d8eaed6 Fix autohotkey documentation 2016-04-28 15:32:08 +02:00
Jeremy Bi 2516703366 Enhance auto-completion support for Idris layer
Now auto-completion will ask Idris process for completions
2016-04-28 15:14:27 +02:00