Commit graph

7533 commits

Author SHA1 Message Date
Robbert van der Helm
98584205ce Fix repeating jumping to errors using the '.' command #8083
The unimpaired keybindings `[ q` and `] q` can be used to jump to flycheck
errors in the current buffer. Because evil-repeat treated them as regular
operations, they were repeated when pressing the `.` key. This made it harder to
rename multiple erroneous variables.
2017-04-09 17:21:52 -04:00
John Wood
de6284d963 Fix typos 2017-04-09 17:17:50 -04:00
syl20bnr
378a767a8e evil: add text objects "«" "「" "‘" "“" 2017-04-09 15:49:55 -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
12eacab665 Fix typo in release note 2017-04-06 23:12:47 -04:00
syl20bnr
2d8d3046c6 Bump version to 0.200.9 and add release note 2017-04-06 23:10:42 -04:00
syl20bnr
f79a1693ec Update release info 2017-04-02 01:57:30 -04:00
syl20bnr
a9edb124e8 Bump version to 0.200.8 and update changelog 2017-04-02 01:24:59 -04:00
syl20bnr
ebc5f1cd09 Update changelog.develop 2017-04-02 01:24:16 -04:00
syl20bnr
2cbc1a6a6e github: make it depend on version-control layer 2017-03-31 00:52:26 -04:00
syl20bnr
7ba2e3ac4b github: remove github-browse-file
Replaced by browse-at-remote in version-control layer.
2017-03-31 00:52:16 -04:00
JAremko
c277c9716b add browse-at-remote 2017-03-30 22:15:23 -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
Codruț Constantin Gușoi
887eb9dc1e Adds the neotree-quick-look keybind
Weirdly, the `'` keybind for `neotree-mode-map` was already present when
doing `M-x neotree-quick-look` with the cursor on the neotree window but
I could not find where exactly it was defined.

This commit officially adds it to the `neotree-mode-map` and the neotree
transient state.
2017-03-26 13:27:19 -04:00
duianto
743471996f Update auto-completion layer readme.org: dead link
Problem:  The auto-complete link: auto-complete.org leads to a domain
          for sale page.
Solution: Change the link to the auto-complete github page.
2017-03-26 13:25:59 -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
JAremko
478cb70faa CI test for bad white spaces in PR
less verobse

Separate allow_failures rules

Make space-test critical
2017-03-26 13:06:52 -04:00
Robert O'Connor
e9ff9f09c6 Remove trailing whitespace from all files 2017-03-26 13:06:43 -04:00
Julien Wintz
1ffa4740d9 Mention option for using natural title bar on mac. 2017-03-26 15:55:24 +02:00
Denis Bernard
1f7c8d095d Fix void reference to go--position-bytes in go-rename 2017-03-24 22:29:53 +03:00
deb0ch
8226f0070f do not filter for alternating buffers 2017-03-24 22:29:52 +03:00
bmag
7b707537a1 Vagrant: update key bindings in docs 2017-03-24 22:29:52 +03:00
deb0ch
667421c43a put vagrant bindings under a prefix 2017-03-24 14:28:52 +03:00
Steven Allen
6b08224ad7 Always return t from use-package pre/post hooks.
Hooks that don't do this will prevent any further configuration of the package.

Docs: 53bf803f1d/use-package.el (L125)
Context: https://github.com/syl20bnr/spacemacs/pull/8543/files#r106792261
2017-03-24 14:26:56 +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
fa8e741122 syntax-checking: SPC e e trigger a check SPC e x to explain error 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
12827c03d8 core: add :hooks property to spacemacs|add-company-backends
Allow to control wether to hook the generated hook functions or not.
2017-03-19 12:40:36 -04:00
syl20bnr
0a338d03ed core: jump-handers, :async can now take a predicate function
Allow to check wether a precondition is met before actually executing an async
jump handler.
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