Commit graph

827 commits

Author SHA1 Message Date
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