Commit graph

7518 commits

Author SHA1 Message Date
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
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
e624e8f0fa Update spacemacs-theme
Updated to commit:
80f40d21ff
2017-03-13 21:13:37 +02:00
bmag
f5a736cdc1 Set evil-search-module correctly
- Just setting evil-search-module is not enough. If Evil is loaded already, we
  must call evil-select-search-module as well to actually change the
  key-bindings to use the correct search module.
- If the user didn't set hybrid-mode-use-evil-search-module so it's not bound,
  we treat it as if it was set to nil, to match the documentation and the
  default value of hybrid-mode-use-evil-search-module.
2017-03-13 21:06:07 +02:00
bmag
a1c02ba323 dsm-line-numbers: support parent modes, fix mode restriction
Specifying parent modes (e.g. prog-mode) in :enabled-for-modes and
:disabled-for-modes keys in dotspacemacs-line-numbers catches derived
modes (e.g. c-mode) as well.

Fix bug where an empty :disabled-for-modes and a non-empty :enabled-for-modes
enabled line numbers everywhere, instead of only in modes specified in
:enabled-for-modes. (see https://github.com/syl20bnr/spacemacs/issues/8482)

Add auxiliary function spacemacs/derived-mode-p, similar to derived-mode-p but
takes a major-mode as an argument instead of using the current major-mode.
2017-03-13 21:04:00 +02:00
Ayush Goyal
b00096e9ef Add transient state for smerge mode 2017-03-13 19:21:57 +02:00
syl20bnr
6212795523 core: allow users to set custom-file variable
In this case Spacemacs won't write custom variables to the
dotspacemacs/emacs-custom-settings variable.

Move setq and add-advice to spacemacs/initialize-custom-file which is now
called in spacemacs/init function just after dotspacemacs/user-init function.
2017-03-12 12:10:21 -04:00
Daniel Schoepe
70a0217be9 Fix 'o' on folded headings 2017-03-12 17:20:23 +02:00
Daniel Revere
9569d36bc7 Move pyim into the .cache directory. 2017-03-12 16:58:36 +02:00
duianto
443df5dbd5 Update bitbucket evil urls to github evil urls
The issues section in the bitbucket evil repository seems to
have been removed when the evil package was migrated to github.

It means that the bitbucket url to the file: evil-states.el,
is eventually going to become outdated and possibly removed.

And the bitbucket issue url now redirects to the bitbucket sign
up page.

Therefore both urls were updated to point to the equivalent
urls in the github evil repository.
2017-03-10 13:10:33 +02:00
bmag
b6e553bd06 rg: explicitly request line numbers
rg tries to be smart about printing line numbers in its output (if running
inside a TTY or not). On Windows, sometimes (always?) it chooses not to print
line number. However, we always want line numbers, so we need to pass -n flag.

Also fix a minor grammar mistake.
2017-03-09 09:00:39 +02:00
Arjun Urs
b8c9100d3a Adding keybinding to jump to currently open file in neotree 2017-03-07 09:35:07 +02: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