Commit graph

1386 commits

Author SHA1 Message Date
gdkrmr 4af499588a fix java layer 2018-08-09 23:02:16 +01:00
gdkrmr 875d4a6afc remove explicit prog-mode-hooks for ess 2018-08-09 23:02:16 +01:00
gdkrmr 8b858abc6a fix for ess issue emacs-ess/ESS#589 2018-08-09 23:02:16 +01:00
gdkrmr bf23cb17dd keybindings for the repl 2018-08-09 23:02:16 +01:00
gdkrmr 3186da89bb add xref integration for ess 2018-08-09 23:02:16 +01:00
syl20bnr 3f47bf8e11 Move major specific error key bindings to SPC m E prefix
Also add a convention for it.
2018-08-09 23:02:16 +01:00
Kalle Lindqvist 0a81d5f4ad html: remove emmet TAB key binding for Emacs style
Allow to use TAB for indenting as usual.
2018-08-09 22:50:03 +01:00
Langston Barrett 178b0caeb8 lang/coq: more insertion keybindings 2018-08-09 22:49:01 +01:00
lawr 591fe78eec go-layer: supoort set-tab-width equal nil to work with editorconfig 2018-08-10 00:36:46 +03:00
Riley Levy 9af8e1564d Fix #1109: Escape argument for shell spacemacs/python-execute-file
Escape the filename before calling python on the filename in the shell in the
function `spacemacs/python-execute-file` by calling `shell-quote-argument`.
2018-08-04 10:51:49 -04:00
EMayej 6f9097e6f0 fix(python): index out of bound 2018-08-04 10:32:31 -04:00
Codruț Constantin Gușoi ca04186cfc Reverts js2-mode being forced on jsx files 2018-08-03 09:11:36 +01:00
Miciah 6d8be7b381 python: Initialize inferior-python-mode variables
Fix SPC m c c (spacemacs/python-execute-file) and SPC m c C
(spacemacs/python-execute-file-focus), which were causing
the following errors:

    save-current-buffer: Symbol’s value as variable is void: python-shell--interpreter
    error in process filter: python-shell-comint-end-of-output-p: Wrong type argument: arrayp, nil
    error in process filter: Wrong type argument: arrayp, nil

This commit also fixes issue #9070: spacemacs/python-execute-file-focus
does not change focus.

The problem is that spacemacs/python-execute-file-focus invokes
spacemacs/python-execute-file, spacemacs/python-execute-file invokes
inferior-python-mode, and inferior-python-mode uses the variables
python-shell--interpreter and python-shell--interpreter-args, which
the python package declares but does not initialize.

To resolve this problem, this commit initializes both variables to nil.

* layers/+lang/python/config.el: Initialize python-shell--interpreter and
python-shell--interpreter-args to nil.
2018-08-03 06:53:02 +03:00
Thomas de Beauchêne 927a7c4566 javascript layer: open javascript files in js2-mode 2018-08-03 01:58:45 +03:00
Ting Zhou cffd90080b only use javascript-typescript-langserver for javascript, react, typescript
layer, and purge other langservers
2018-08-03 01:37:36 +03:00
David Chen faa33e9524 Add indent toggle to sql-model 2018-08-03 01:03:14 +03:00
Robby O'Connor c3e402332f go layer: fix cosmetic issue 2018-08-02 00:20:24 +01:00
Jon Erik D Suero ff555d80b4 Add key binding to run gofmt manually 2018-08-01 17:54:27 -04:00
Jon Erik D Suero 166f6768ae go: add toggle for gofmt before save and turn it off by default 2018-08-01 17:52:03 -04:00
lukasz.czaplinski 87028e77a5 Mark alchemist jump handler as async
Right now `alchemist-goto-definition-at-point` is marked as sync, which
sometimes shows message "No jump handler was able to find this symbol." before jumping to correct definition.

[`alchemist-goto--open-definition`](https://github.com/tonini/alchemist.el/blob/master/alchemist-goto.el#L215) calls alchemist server before jumping to definition, which I think justifies marking this as async.

I have very little experience with either Emacs, or Spacemacs, so let me
know if there's anything I can clarify and/or test before this commit gets
merged :)
2018-08-01 17:44:41 -04:00
Guan Xipeng 0c878ae453 fix: spacemacs/pyenv-executable-find support multi pyenv versions 2018-08-01 17:42:44 -04:00
Miciah 0deadbebcf clojure: Delete bogus escaping in font-lock regexps
* layers/+lang/clojure/funcs.el (clojure/fancify-symbols): Delete bogus
backslashes.
2018-08-01 17:31:32 -04:00
Miciah 91267a2af7 clojure: Fix face name of fancified symbols
Fix issue #9271: Setting clojure-enable-fancify-symbols to t causes
the following to the be printed repeatedly in the message buffer:

    invalid face reference: t

The problem is that the clojure/fancify-symbols function adds font-lock
keywords with highlight forms containing face-name expressions that
evaluate to the return value of compose-region, which apparently is t;
this value is interpreted as a face name.

The solution to this problem is that the face-name expressions should
evaluate to nil, which will be interpreted as an empty list of properties
instead of a face name.

* layers/+lang/clojure/funcs.el (clojure/fancify-symbols): Define keywords
using face-name expressions that evaluate to nil.
2018-08-01 17:31:32 -04:00
Ting Zhou e362b17868 polish lsp-python and anaconda-mode 2018-08-01 17:22:36 -04:00
Silver Chan be55d82ef8 fix problem: c-c++-enable-clang-format-on-save not work
fix problem: when c-c++-enable-clang-format-on-save is set in c-c++ layer, but it didn't work.
2018-08-02 00:20:06 +03:00
Miciah Masters ef6e45f30e markdown: Update key bindings for Markdown Mode 2.3
Update key bindings to reflect some changes in Markdown Mode 2.3:

* markdown-exdent-region was renamed to markdown-outdent-region.
* markdown-insert-reference-image (SPC m i I) was folded
  into markdown-insert-image (SPC m i i).
* markdown-insert-inline-link-dwim (SPC m i l) and
  markdown-insert-reference-link-dwim (SPC m i L)
  were replaced by markdown-insert-link (SPC m i l).
* markdown-toggle-markup-hiding (SPC m t m) was added.
* markdown-jump (SPC m RET) was replaced by markdown-do (same).

Note that the documentation listed an incorrect key binding for
markdown-jump; this has been corrected.

* layers/+lang/markdown/packages.el (markdown/init-markdown-mode):
* layers/+lang/markdown/README.org: Update key bindings.
2018-07-27 00:50:17 +03:00
Lyuben Petrov 86683ad558 Add phoenix layer
- First remove elixir's layer project prefix, since it was used only for
  one binding which would be better suited in tests prefix
- Move `alchemist-project-find-test` to test prefix
- Add `phoenix` prefix and declare bindings
2018-07-24 00:34:38 +03:00
Miciah 814ac87692 c-c++: Update SPC m g Y command
Upstream renamed rtags-cycle-overlays-on-screen to
rtags-cycle-through-diagnostics.  As a result, SPC m g Y
causes the following error:

    Wrong type argument: commandp, rtags-cycle-overlays-on-screen

This commit updates the corresponding key binding
to the new command name in order to prevent the error.

3011f4e787

* layers/+lang/c-c++/packages.el (c-c++/init-rtags): Change
rtags-cycle-overlays-on-screen to rtags-cycle-through-diagnostics.
2018-07-24 00:24:40 +03:00
André Peric Tavares 52b2b4b83d Update obsolete cider-refresh alias to cider-ns-refresh
`cider-refresh` is an obsolete alias:

8b8309d970/cider-ns.el (L204)
2018-07-24 00:21:29 +03:00
JAremko 6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
Andre Ramos f3cbf89b45 Clojure layer: fix regression for pinned cider 2018-07-12 16:26:39 +01:00
Alex Argunov c1bde286e4 clojure: move browse to help submenu, add cider-find-ns under gn 2018-07-11 00:26:33 +03:00
Roy Choo 43f0b4d617 typescript: remap keybinding to use tide function
- As described in #10870, typescript/jump-to-type-def function is removed,
but the keybinding is still calling it.

- Mapping the keybind to call tide jump to definition directly.
2018-07-11 00:20:07 +03:00
Magnus Therning 655117009d Add a binding to return from definition in intero mode
Signed-off-by: Magnus Therning <magnus@therning.org>
2018-07-11 00:11:31 +03:00
Bjarke Vad Andersen ebd8bffbad scala/java: Remove broken ensime key bindings and fix yanking types 2018-07-10 23:45:33 +03:00
p-sdk e090ffbd2d ruby: add popwin config for bundler, projectile-rails and rubocop 2018-07-10 00:36:10 +03:00
Codruț Constantin Gușoi 3de1d09a42 Formats the ruby key bindings table 2018-07-10 00:32:00 +03:00
Codruț Constantin Gușoi 8ebe9f5093 Removes duplicates from ruby documentation 2018-07-10 00:11:45 +03:00
Codruț Constantin Gușoi 12f537a0db Adds ruby toggles documentation 2018-07-09 23:59:05 +03:00
Codruț Constantin Gușoi 05f27afa56 Creates a toggle prefix for ruby 2018-07-09 23:50:41 +03:00
Codruț Constantin Gușoi f715c1f12e Revert "Remove duplicate robe keybinding"
This reverts commit 7d63001515.
2018-07-09 23:48:05 +03:00
Codruț Constantin Gușoi 7d63001515 Remove duplicate robe keybinding
Robe had 2 keybindings for starting a server: `SPC m ,` and `SPC m s s`
but the first one was already defined for another purpose so it overwrote
it.
2018-07-09 23:43:17 +03:00
Daniel Perez Alvarez 5328e20cb8 add missing keybinding documentation for typescript layer 2018-07-04 00:57:33 +03:00
Daniel Perez Alvarez ce1d1a19c4 change En -> Ed 2018-07-04 00:53:38 +03:00
Daniel Perez Alvarez 75e192c897 [typescript] En -> tide-add-tslint-disable-next-line 2018-07-04 00:53:38 +03:00
Robert O'Connor b80e62f12d add syntax checking for jsonnet with flycheck 2018-07-04 00:26:29 +03:00
Andre Ramos 9cb0b07dff Clojure layer: fix function usage in clojure layer according to cider changes
The function `cider-current-repl-buffer` does not exist anymore in cider after PR [#2324](https://github.com/clojure-emacs/cider/pull/2324) was merged.
It broke the usage of functions in the clojure layer that sent used `spacemacs//cider-eval-in-repl-no-focus`, which sends forms to be evaluated in the repl buffer without focusing on it.
The fix is to use `cider-current-repl` instead of `cider-current-repl-buffer`
2018-07-04 00:16:58 +03:00
yangbo d473121f90 enable eldoc for rust/racer 2018-06-26 18:40:28 +03:00
syl20bnr e7cc073548 sql: fix sql-indent and defer it 2018-06-16 03:13:04 -04:00
syl20bnr f436680c9f sql: add comment to explain sql-indent config 2018-06-16 00:00:41 -04:00