Commit graph

926 commits

Author SHA1 Message Date
Fangrui Song 6fe2348013 Haskell: use intero-goto-definition for jump handler if intero-mode is enabled. 2017-05-14 13:32:28 -04:00
syl20bnr 7d215cb089 c-c++: move realgud config to c-c++ layer and delete debug layer
For now realug is used only to C and C++ so it makes more sense to add it to
the c-c++ layer for now.
Later if we can generalize the support of realgud for other languages and we
can start a debugger layer.
2017-05-14 13:20:10 -04:00
Joao Azevedo 81aed5a423 Allow customizing if ENSIME should print types at point
The `scala-enable-eldoc` variable should be used to determine whether or not
ENSIME should print types at point. This makes sure that the hook is only set if
the variable is non-nil.
2017-05-14 13:07:09 -04:00
syl20bnr 714b82f7fb emacs-lisp: revert factorization of evilified macro calls 2017-05-14 12:46:31 -04:00
Keith Wygant 08734cb595 Fix key binding `dolist's
Dolists for `spacemacs/set-leader-keys-for-major-mode' were using
'emacs-lisp-mode instead of the loop variable 'mode'. Hopefully using the loop
variable was the intention.

I also updated the redundant bindings for `edebug-mode-map' and
`edebug-eval-mode-map' to use `dolist'. It probably makes more sense to put the
whole thing after :bindings rather than around it, but I wasn't sure if that
might break something.
2017-05-14 12:38:12 -04:00
Keith Wygant 22a0bf1e52 Switch `spacemacs/eval-current-form' docstring to imperative
I also capitalized 'Idea' in the comment above.
2017-05-14 12:38:06 -04:00
syl20bnr 352a06ee50 graphviz: always setq graphviz-dot-indent-width 2017-05-14 12:35:14 -04:00
Tu Do efff24475a Fix graphviz erroneous usage of default-tab-width
default-tab-width is obsolete since Emacs 23 and is removed in Emacs 26. Better
adapt it properly.
2017-05-14 12:34:32 -04:00
syl20bnr 17ac76869c chrome: define markdown key bindings for gmail-message-mode 2017-05-07 22:02:03 -04:00
LdBeth e17460f0e6 Fix init-slime-company
used `:pre-config` instead `:post-init`, otherwise `slime-company` won't be
initialized because `common-lisp/init-slime-company` is called after
`common-lisp/init-slime`, and `:post-init` probably won't make effect.

Fixes #8796
2017-05-04 00:29:08 -04:00
John Stevenson 18a244269b New Keybinding for cider-eval-defun-to-comment
Added a Spacemacs style keybinding for the function cider-eval-defun-to-comment

This function evaluates and expression and displays the result as a comment
on the following line.

The CIDER keybinding is `C-C M-;` so the Spacemacs binding uses the `;`
convention, which is also the general character for comments in Emacs.

As this is an evaluation function, the keybinding is placed under the evaluation
part of the major mode menu.

Included documentation in the README.org file
2017-05-03 22:47:10 -04:00
syl20bnr afcef9e34f markdown: suppress mmm-global-mode
had bad side effects on magit buffers, like removing faces etc...
2017-05-01 12:51:10 -04:00
syl20bnr 4fd895a917 markdown: cleanup auto-modes for mmm and add support ini files 2017-04-29 11:08:03 -04:00
Christian Brassat 7fc758e3c2 markdown-mmm-auto-modes defines pairs of language and mode names
where the mode name is different from the language name
2017-04-29 10:57:04 -04:00
Christian Brassat 7caa91bf6c Credit where credit's due 2017-04-29 10:55:16 -04:00
Christian Brassat e3307d0b17 Generate mmm-modes automatically based on a list.
Includes a config variable for use in `dotspacemacs-configuration-layers`
2017-04-29 10:55:12 -04:00
Christian Brassat 1f9fd7077e Add markdown-scala support to MMM
Fixes  #6571
2017-04-29 10:52:42 -04:00
JAremko 94205a3e81 Fix css links and various org links 2017-04-29 10:45:52 -04:00
JAremko f805d0ebd9 Fix spacefmt test on deleted files
Also fix some links
[ci skip]
2017-04-28 23:29:43 -04:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
Muneeb Shaikh 50f5a04f9a ruby: add to org-babel-load-languages 2017-04-28 23:04:13 -04:00
syl20bnr fe564eade5 ess: move functions to new funcs.el file 2017-04-28 23:02:18 -04:00
Jack Kamm c33a587a8e ess: help.start() causes read-only problem with comint-prompt-read-only
Fixes #5395
based on https://github.com/emacs-ess/ESS/issues/300#issuecomment-231314374
2017-04-28 22:55:48 -04:00
firemiles b8c17cf3c5 docs: Install goimports from new repository. 2017-04-28 22:50:12 -04:00
tutysara f4a7c939a4 Enable company backed - ipython-notebook
EIN added a company backend recently.
This will add support for completion in spacemacs using ein's company backend.
2017-04-28 22:49:42 -04:00
Tomasz Cichocinski 3ea4f49877 Add on save usage section to elm layer
According to official elm-format documentation there is elm-format-on-save option. I've added it to layer documentation and introduced "On save usage" section which now contains info about elm format on save and imports sort on save.
2017-04-23 19:23:40 -04:00
syl20bnr 177da95904 common-lisp: move evil related configuration to evil pre-init 2017-04-23 13:25:04 -04:00
Boris Avdeev a6f8ebe94b common-lisp: make SPC m e keys behave like in elisp
* Make `SPC m e e` (eval last sexp) work in normal evil mode.
 * Add `SPC m e l` - go to end of line and eval last sexp.
2017-04-23 13:18:24 -04:00
syl20bnr 619609c8d7 common-lisp: move company related config to init-slime-company 2017-04-23 13:09:46 -04:00
dineshbhosale 0c91ad7acb Go : Update documentation for fixing autocomplete issues
Workaround for https://github.com/syl20bnr/spacemacs/issues/7784
2017-04-20 23:03:34 -04:00
Swaroop C H c376b3c98b [elixir] Update fn names - update to new names and remove extinct fns 2017-04-19 23:05:20 -04:00
Kevin van Rooijen 9a69d45107 Fix elm to not switch to root directory 2017-04-17 23:35:11 -04:00
Matthew J. Berger e1c5e87238 Add binding to open cargo docs in Rust layer. 2017-04-17 23:15:38 -04:00
Denis Bernard 9468599ea4 Improve go test output buffer behavior.
- Use compilation-start to get highlighting of compilation or runtime errors.
- Configure output window in popwin and window-purpose (so that it can be closed
  with C-g for example).
- Configurable buffer name.
2017-04-17 23:07:49 -04:00
Josh Greenwood 02d383255a elm layer docs: Adds note about indentation
Indentation in the elm layer was confusing to me at first so I thought it would be a good idea to add a note.  I stole the section from elm-modes docs: https://github.com/jcollard/elm-mode#indentation
2017-04-17 22:58:45 -04:00
YiLiu6240 b8a483721e Fix keybindings for ess layer
Change keybindings for sending function to REPL to be in line with
[Spacemacs convention](https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#send-code)
2017-04-17 22:35:41 -04:00
Pedro Algarvio 9c226d8201 .python-version can contain more than one version specified.
https://github.com/yyuu/pyenv/blob/master/COMMANDS.md#pyenv-local-advanced
2017-04-17 22:31:50 -04:00
Codruț Constantin Gușoi be33df7dc8 Fixes keybindings for gfm-mode 2017-04-17 21:49:20 -04:00
d12frosted 2ce65095ba use go-rename from MELPA 2017-04-17 20:03:53 -04:00
Codruț Constantin Gușoi 6b4900940f Fixes markdown org table saving 2017-04-17 19:48:13 -04:00
syl20bnr 7554affd49 Remove additional CUSTOM_IDs from docs 2017-04-17 19:36:38 -04:00
Remco Verhoef 8a69e08365 added dollar to match only function name
the check.f and run functions use regular expressions, without the dollar sign it will run not only function _2, but also _21, etc.
2017-04-17 17:52:47 -04:00
Robert O'Connor df6333d55c When using the meghanada backend with java, there is a small typo
In the compile prefix, there is a typo.
2017-04-16 11:14:59 -04:00
syl20bnr ea1c0d3e14 emacs-lisp: change edebug-go-mode key binding to c
As per convention.
2017-04-12 23:46:01 -04:00
hodge 32587a2458 fix spacemacs/edebug-instrument-defun-off and add a shortcut 2017-04-12 23:40:36 -04:00
syl20bnr 184a530596 python: hide YAPF lighter in modeline
Circled lighters in modeline are reserved for toggles under SPC t and SPC T
2017-04-12 23:18:42 -04:00
Robbert van der Helm 7af8321587 Diminish the YAPF minor mode indicator 2017-04-12 23:17:01 -04:00
tinysong 550eddd368 update go layer README.md 2017-04-11 23:57:57 -04:00
Benjamin Reynolds e09cb1beda Fix documentation for bundler keybindings in ruby layer 2017-04-11 23:56:24 -04:00
syl20bnr bf2892b198 csharp: use spacemacs/enable-flycheck 2017-04-09 23:03:07 -04:00
Saulius Menkevičius 5ab72c2e4e csharp: enable flycheck by default 2017-04-09 23:01:35 -04:00
Daniel Schoepe f2dd7a1be3 common-lisp: Add slime-asdf to slime-contribs
Some slime commands such as `,load-system` do not work without `slime-asdf`
being loaded. Since ASDF is the main system definition facility used by lisp
programs, I think this functionality should be available by default.
2017-04-09 23:00:49 -04:00
ishestakov 86394d4af0 Fix IndexProcessor for compatibility with python3.
Replaced version check with try-except block.
Reformatted pylookup.py due to PEP8.
2017-04-09 22:51:36 -04:00
syl20bnr d43f6a2122 Merge gpu and shaders layers into gpu layer 2017-04-09 18:14:59 -04:00
Evan Klitzke 0e38ce3686 GLPv3 -> GPLv3 for shaders package 2017-04-09 18:00:22 -04:00
Evan Klitzke 9be4e9e8de whitespace 2017-04-09 18:00:07 -04:00
Evan Klitzke 8772c8558f defer loading glsl-mode 2017-04-09 17:59:56 -04:00
Evan Klitzke 12d0236bb0 add gpu stuff 2017-04-09 17:59:30 -04:00
Evan Klitzke efbc76ae3f alphabetize the init functions in extra-langs 2017-04-09 17:58:14 -04:00
syl20bnr a7b7e1c168 c-c++: Rename functions with spacemacs- prefix
Respect 80 chars per line
2017-04-09 17:55:50 -04:00
syl20bnr cc61e08b30 Allow usage of dir-local variable for c-c++-enable-clang-format-on-save 2017-04-09 17:50:21 -04:00
Robbert van der Helm 91a2ca456f Add automatic formatting on save for C++ using ClangFormat
This can be enabled by setting both `c-c++-enable-clang-format-on-save` and
`c-c++-enable-clang-support` to `t`.
2017-04-09 17:41:44 -04:00
Muneeb Shaikh 1d82d8a0f8 Fix #8653
Use `buffer-base-buffer` to get base-buffer of an indirect buffer.
2017-04-09 17:38:05 -04:00
syl20bnr bb7e304e9b perl6: refactor layer to be more idiomatic 2017-04-09 15:48:17 -04:00
syl20bnr 3ad3a50263 protobuf: use spacemacs/enable-flycheck 2017-04-09 15:35:29 -04:00
Bahtiar `kalkin-` Gadimov 4661bbf266 Add layer for the Perl 6 Programming Language
This layer provides the following features for the Perl 6 Programming Language:

* Jump to definition & Code completion via [ctags-universal](https://github.com/universal-ctags/ctags)
* Syntax checking via [flycheck-perl6](https://github.com/hinrik/flycheck-perl6)
* Syntax highlighting & Syntax indentation via [perl6-mode](https://github.com/hinrik/perl6-mode)
* `META6.json` highlighting via [json-mode](https://github.com/joshwnj/json-mode)
* Provides evil text objects for:
    * double-angle-brackets
    * corner-brackets
    * single-quotation-marks
    * double-quotation-marks

See also #5019
2017-04-09 15:18:04 -04:00
syl20bnr f89dce787a protobuf: minor refactoring and add logo 2017-04-09 13:26:38 -04:00
Tim Heckman a52b68f125 add hook to enable flycheck when in protobuf-mode
This change updates the `packages.el` file to support automatically enabling
flycheck when opening a protobuf file. This is accomplished by adding `flycheck`
to the list of packages, as well as defining a `post-init-flycheck()` function.

I've tested that this works with spacemacs `0.200.7@25.1.1`.
2017-04-09 12:55:24 -04:00
Eric Drechsel 05735cf328 Remove defunct flycheck-protobuf package.
This functionality is in the flycheck package now.
2017-04-09 12:55:15 -04:00
Amol Mandhane b08faa730e Add language layer for Protocol Buffers. 2017-04-09 12:55:02 -04:00
syl20bnr 78f098ae46 Revert go-coverage to SPC m g c and move create-tages to SPC m g C
SPC m g C is only used in Clojure whereas SPC m g c is used in various layers.
This is simpler to just move create tags to SPC m g C and move the clojure
bindings to SPC m g c (since it is not used in the clojure layer).
2017-03-30 22:07:16 -04:00
JAremko 0fc5a729ff Rebind go-coverage to gC 2017-03-30 22:07:16 -04:00
Andre Silva ed8772fb93 scala: fix flyspell setup 2017-03-27 13:14:28 +01:00
Tor Hedin Brønner 6885863e8b java: Update ensime documentation 2017-03-26 13:31:17 -04:00
syl20bnr 8ea95c9a73 elixir: reformat documentation and use blocks for code. 2017-03-26 13:24:19 -04:00
Ben Botwin 4dd4467ee3 Added instructions for dogma and fixed a typo 2017-03-26 13:15:41 -04:00
Robert O'Connor e9ff9f09c6 Remove trailing whitespace from all files 2017-03-26 13:06:43 -04:00
Denis Bernard 1f7c8d095d Fix void reference to go--position-bytes in go-rename 2017-03-24 22:29:53 +03:00
Steven Allen 48c12d48d0 Partially tame exec-path-from-shell
1. Make it possible to exclude the package (fix the go and rust layers).
2. Import variables all at once (avoid spawning multiple login shells).
3. Import variables early (during the "pre" package loading stage).
4. Centralize the platform check by using a package toggle in the
   `spacemacs-base`.
5. Avoid importing already defined variables (except `PATH`/`MANPATH`).

Relates to #8537.

TODO: We can probably trim the platform list to macos only.
2017-03-24 14:23:38 +03:00
magia 281410de11 Fix python-enable-yapf-format-on-save 2017-03-23 13:57:47 +02:00
syl20bnr c9d332fbf1 java: refactor documentation to put meghanada first 2017-03-19 13:24:05 -04:00
syl20bnr f86c55f499 Remove SPC m e bindings since Flycheck is not integrated
Use the general key bindings SPC e e, SPC e n, SPC e p, SPC e l...

SPC m e e is now for error correction.
2017-03-19 12:40:36 -04:00
syl20bnr f45ce1a88e syntax-checking: rename function add-flycheck-hook to enable-flycheck
spacemacs/add-flycheck-hook was not really hooking anything, change the name
to better reflect what it does.
Also changed the push for a add-to-list to avoid duplicates.
2017-03-19 12:40:36 -04:00
syl20bnr dd85084826 java: multiple backends support
Define multiple dispatch functions for each service:
- spacemacs//java-setup-backend
- spacemacs//java-setup-auto-completion
- spacemacs//java-setup-syntax-checking
- spacemacs//java-setup-spell-checking
- spacemacs//java-setup-eldoc

java: replace ensime-configure-keybindings function by a variable

It's not convenient to have key bindings in funcs.el file, instead of relying
on a function we define a private layer variable java--ensime-modes which
can be updated by other layers using a :pre-config use-package hook.

java: refactor key bindings

- define key bindings for meghanada back-end
- move ensime key bindings documentation from scala layer to java layer
- change SPC m d for daemon to SPC m D (since SPC m d is reserved for debugging)
2017-03-19 12:40:36 -04:00
syl20bnr 04790f515d java: move command prefixes definition to funcs.el 2017-03-19 12:40:36 -04:00
syl20bnr c552c35a77 java: add groovy and gradle packages 2017-03-19 12:40:36 -04:00
syl20bnr 40b996edff java: delete ensime layer and import it into java layer
Make scala layer depends on java layer.
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner 824356b679 Enable ensime completions properly for java 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner c68af66459 Add readme to Ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner 9aa4bde282 Add ensime support to java
New variable `java-backend' controls whether to use eclim, by default,
or ensime.

The setup is identical to scala and as such there's some functionality
included that still isn't supported in java.
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner dcba84bff4 Move initialization code to ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner a5d6171c28 Move keybinding setup to the ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner 5199ddbfcf Rename moved scala functions
Functions under the ensime layer should start with `ensime/'
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner ab0ec8a777 Move ensime to it's own layer 2017-03-19 12:40:36 -04:00
bmag 6f463c4d0e TeX fold: add comment about not-autoloaded commands 2017-03-06 15:58:26 +02:00
nashamri f8306a4f5c Add shortcuts for missing latex folding functions 2017-03-06 15:51:03 +02:00
bmag f853b78148 Refactor long comment 2017-03-06 15:46:01 +02:00
kenkangxgwe f5c5fdd735 Add extension ".wl" for wolfram-mode 2017-03-06 15:44:23 +02:00
Juraj Martinka c48921ab2d Fix typo in Clojure layer README 2017-03-02 16:12:37 +01:00
syl20bnr 3072e72773 Replace use-package :diminish by spacemacs|hide-lighter 2017-02-13 08:38:37 -05:00