Commit graph

1672 commits

Author SHA1 Message Date
Ivan Yonchovski
fc2d220b5e dap-layer implementation
- I had some issues related to finding the corresponding shortcuts for each of
the commands and I am looking for suggestions for improvements.

- updated the lsp-java readme since the server installation is now automatic. If
you already have jdt server installation, please run lsp-java-update-server
which will download the related dap-mode related stuff.

- Make sure that you have latest melpa versions of lsp-java, lsp-ui and dap-mode
since several issues related to the java integration were fixed lately.

- dap-mode is pretty young package and it is not extensively tested

- dap-hydra which will be used as a transient state for the breakpoints and
debugging, in general, is not synched with the shortcuts in the layer. I will sync
them once there is agreement on the shortcuts configuration. Also, I have not
updated lsp-java README.org with the corresponding shortcuts for the same
reason.

- The debug integration with the python lsp layer will be implemented in
separate PR.

- There will be few more functions that are going to be added to the dap-mode at
some point and they would require shortcuts too:
* suspend/kill thread I guess - "m d t s" "m d t k"?
* watches - "m d l w"
* exception breakpoints - I have to figure out how it will look like on emacs
  side.
* goto point "m d H"?
2018-11-25 23:03:08 +00:00
duianto
ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
duianto
8c76fed136 Hide MMM mode-line indicator
problem: MMM is shown in the mode-line when a .md markdown file is opened.
solution: hide MMM when mmm-mode is configured.
2018-11-21 21:32:44 +00:00
duianto
2c8195752f Add missing layer file headers 2018-11-21 21:31:54 +00:00
Leonard Lausen
4dbe241aca Update ess-disable-underscore-assign for ESS 18.10 2018-11-21 10:20:21 +00:00
Aaron Jensen
d52883fc56 typescript: Fix jump handling with multiple backends
Because the setup functions run after local vars are set, setting jump handlers
needs to happen directly. Otherwise setting them only applies to the next
typescript file that is opened, which may or may not even have the same backend.

Also prevents lsp jump handlers from being installed unless the backend is lsp.
2018-11-20 11:34:24 +00:00
emacspace
db0dd6d945 documentation formatting: Fri Nov 16 19:57:10 UTC 2018 2018-11-16 20:21:32 +00:00
yuhan0
f13f99d967 Enable clojure-mode refactorings without clj-refactor
- Add clojure-mode refactorings and which-key prefixes in default layer
configuration.

- Improve discoverability of the refactoring features which are not enabled
by default. When clj-refactor is installed, "SPC mr?" runs
cljr-describe-refactoring

- Refactor out repeated dolist clauses into `forall-clojure-modes` macro
which executes body forms for all clojure derived modes, and adds missing
functionality of parinfer, fancify-symbols and evil-cleverparens to
cider-repl-mode and cider-clojure-interaction-mode.
2018-11-16 19:51:21 +00:00
Dela Anthonio
5c91e6a39c [html] revert: set company min. prefix length to 0 for company-web backend
This commit reverts ab34cc2d9d. Setting
company-minimum-prefix-length to 0 causes issues indicated in issue #8222. While
the user is free to set company-minimum-prefix-length to 0 if they please, doing
so affects editing any files that also use web-mode such as jsx files.
Additionally, new users to Spacemacs may be confused by this behavior since no
other layer sets company-minimum-prefix-length to 0.
2018-11-12 21:51:21 +00:00
yuhan0
75844c04c7 Add hy-mode to safe-structural-editing list 2018-11-12 21:43:30 +00:00
Carlos Andrés Rocha
67c1b9bdf2 ipython-notebook: remove spurious leader key 2018-11-12 21:27:11 +00:00
Fangrui Song
d936802419 Some tweak to c-c++ layer
c-c++-enable-rtags-support has been removed in favor of c-c++-backend. Don't mention it in README

Delete .ccls from c-c++-adopt-subprojects
  as in ccls, .ccls-root is recommended for this purpose

Delete the extra parameter :levels 3 from $ccls/inheritance
  Finding the immediate bases is usually more desired

The parameters of refs-* in ccls are not in :context
2018-11-12 21:03:38 +00:00
syl20bnr
f513df6250 plantuml: no automatic indentation on paste 2018-11-12 09:24:38 -05:00
syl20bnr
e81aa032ce plantuml: add puml extension 2018-11-12 09:24:38 -05:00
Codruț Constantin Gușoi
48447a6f1b Removes remaning refference to c++11 arg 2018-11-11 18:30:06 +02:00
JAremko
a3cac69fb4 Fix src blocks in c-c++ layer 2018-11-09 23:10:54 +02:00
Codruț Constantin Gușoi
9332115e8c Maybe @emacspace does not like block endings without language? 2018-11-09 22:08:34 +02:00
emacspace
63bf38217a documentation formatting: Fri Nov 9 18:25:27 UTC 2018 2018-11-09 22:01:35 +02:00
Codruț Constantin Gușoi
9da5da1d2e Fixes raw link to the lsp layer documentation 2018-11-09 01:09:55 +02:00
cormacc
445f6af93f Added cquery and ccls backend support to c-c++ layer
<<Amendment 1 01/09/2018>>
Incorporated initial feedback from multiple sources (PR discussion)

<<Amendment 2 04/09/2018>>
Incorporated feedback from MaskRay.
Fixed projectile post-config hooks.
Added `c-c++-adopt-subprojects' layer option.

<<Amendment 3 07/09/18>>
Corrected cache section in README to describe new cache defaults introduced by
Amendment 2.

<<Amendment 4 13/09/18>>
Corrected config var names in readme.
Rebased on current develop branch tip.

<<Amendment 5 14/09/18>>
Minor adaptations for compatibility with upstream ccls changes.

<<Amendment 6 21/09/18>>
Bindings updated for consistency with lsp layer lsp-navigation config variable.

<<Amendment 7 1/11/18>>
Rebased

<<Amendment 8 06/11/18>>
Incorporated readme correction from svenihoney.

<<Amendment 9 06/11/18>>
Updated c-c++/refresh-index wrapper for ccls function renamed upstream.
Moved 2 bindings from 'l' to 'b' to reflect updated lsp-layer mnemonic
2018-11-09 01:02:21 +02:00
JAremko
141b6328e3 Reformat docs 2018-11-08 22:37:23 +02:00
Boris Buliga
1c4ad177f1
[json] minor improvements
1. mention prettier in readme summary
2. format code
3. use when instead of if
2018-11-07 08:30:42 +02:00
Tommi Komulainen
895308aecb
json: tell prettier content is to be parsed as json
In json-mode tell prettier the content is always to be parsed as json.
Fixes formatting in orgmode `#+BEGIN_SRC json` blocks as prettier
otherwise expects content as javascript.

Fixes: #11343
2018-11-07 08:27:47 +02:00
Justin
f70ebe6f9e Add: rust-lsp
Add rust lsp completion with company and bindings
2018-11-05 22:58:28 +00:00
d12frosted
152d41e7cf
update haskell backends selection flow to match changes in 74fdbb67 2018-11-04 19:12:55 +02:00
Sergio Ugalde
2dc7102c90
Fixed haskell documentation about REPL 2018-11-04 18:57:56 +02:00
Ivan Yonchovski
95abd6ce67
Update lsp-java README according to latest lsp-java 2018-10-31 20:52:02 +02:00
Alistair Bush
2715b2de7a Add new test binding + improve documentation 2018-10-24 21:47:56 +01:00
Fangrui Song
e8196ce33e c-c++: remove c-c++-enable-c++11 2018-10-24 21:33:03 +01:00
emacspace
901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
Dieter Komendera
8f30ba8390
Allow to send input to the repl via RET in normal mode 2018-10-23 07:27:31 +03:00
Boris Buliga
a0db651fc5
mention new python debugging option in readme 2018-10-23 07:18:24 +03:00
boris
554b3d9622
python3.7 comes with a builtin breakpoint() function (PEP 553) 2018-10-23 07:16:38 +03:00
JAremko
2eca814a5b Fix code blocks 2018-10-20 16:06:40 +03:00
JimmyG
bf2bf86269 anaconda-mode-go-back is replaced with xref-pop-marker-stack 2018-10-20 09:38:32 +03:00
emacspace
58a58ddee3 documentation fixes: Fri Oct 19 15:57:15 UTC 2018 2018-10-19 19:06:36 +03:00
Boris Buliga
633ff1dfa3
minor improvements for Julia readme file 2018-10-18 19:56:35 +03:00
Adam Beckmeyer
3d9c40b01d
Add warning that lsp doesn't work with Julia 1.0 yet 2018-10-18 19:53:20 +03:00
emacspace
0fb6470acf documentation fixes:Wed Oct 17 04:03:28 UTC 2018 2018-10-17 04:03:28 +00:00
Boris Buliga
d81e75584e
bump year in the copyright headers
Folks, this time of year has come. We can bump year in the copyright headers.
Let's celebrate!
2018-10-16 20:27:05 +03:00
Josh Greenwood
b8d5555340
fixes typo. s/with/wish 2018-10-16 09:20:16 +03:00
Stéphane Bisinger
8db682fc6d
Fix the rename file and organize import key binding for typescript 2018-10-16 09:19:24 +03:00
emacspace
cca6bc15a8 documentation fixes:Sat Oct 13 23:09:18 UTC 2018 2018-10-13 23:09:18 +00:00
JAremko
12b4fdb1fe fix sayid url 2018-10-13 23:56:28 +03:00
Stéphane Bisinger
c68c526fd6
Add keybings to rename the file and organize imports in typescript 2018-10-13 19:24:32 +03:00
Matt Kramer
df6d744b86
Put magic-latex-buffer in TeX-update-style-hook instead of LaTeX-mode-hook
See https://github.com/zk-phi/magic-latex-buffer/issues/36
2018-10-11 09:12:58 +03:00
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Robert O'Connor
aabe2817df
java layer: Fix typo in README 2018-10-10 22:08:55 +03:00
Colin Woodbury
6ea44f6205 pact: reference flycheck-pact as found on MELPA 2018-10-09 22:35:49 +01:00
Colin Woodbury
43e3faca4f pact: Fixed README formatting 2018-10-09 22:35:49 +01:00
Colin Woodbury
122571ef8d pact: Add a README 2018-10-09 22:35:49 +01:00
Colin Woodbury
0ae0c2580f pact: Flycheck compatibility 2018-10-09 22:35:49 +01:00
Colin Woodbury
2df43d5ecf pact: silence some warnings 2018-10-09 22:35:49 +01:00
Colin Woodbury
3241347981 pact: attempt to activate flycheck 2018-10-09 22:35:49 +01:00
Colin Woodbury
4819cd41be pact: Enable repl loading 2018-10-09 22:35:49 +01:00
Colin Woodbury
7cfae1539f pact: first pass
- This works! We can get syntax highlighting in `.pact` files.
2018-10-09 22:35:49 +01:00
Xiang Ji
b10dd39154 Julia: Add instructions for compiling language server. Fix typo. 2018-10-09 22:22:53 +01:00
Arne Brasseur
80baa130cf Make clj-refactor off by default, update Clojure README
Document how to use the newly introduced variables to enable sayid and
clj-refactor.

Also update the documentation on adding CIDER-related dependencies. CIDER 0.10
is three years old now, so I think the case where cider middleware isn't
injected automatically is getting rare. However there is still a good use case
for running your Clojure process outside of Emacs/CIDER, meaning you don't get
to benefit from `cider-jack-in`'s magic insjections, so I have focused more on
that case, adding information for clj-refactor's and sayid's middleware, as well
as CIDER's.
2018-10-09 22:18:51 +01:00
Matt Kramer
b4eeda6cb6 Add 'prettier to error msg of spacemacs/typescript-format 2018-09-10 22:28:03 +01:00
Seong Yong-ju
ce1cd872f9 Prefer eslint_d to eslint 2018-09-03 22:13:38 +01:00
Alexander Eberspächer
77afc63da8 Fix pyenv using system Python
Check the case of "pyenv which" returning "system". In this case, find the
Python executable using default "executable-find".
2018-09-03 20:21:05 +01:00
Jeremy Bi
955b2a19d6 proof-general is added in MELPA 2018-09-03 20:18:28 +01:00
Seong Yong-ju
de346e33c6 Fix issues in ruby layer
Add a prefix for rake and refactor/RuboCop/robe commands. Add test and toggle
prefix for enh-ruby-mode. Use enh-ruby-toggle-block in enh-ruby-mode, instead of
ruby-toggle-block. Remove the prefix in prefixes "ruby/".
2018-09-03 20:17:30 +01:00
Codruț Constantin Gușoi
4148d567d4 Fixes elm readme formatting 2018-09-01 00:13:04 +03:00
duianto
f143f76393 [jsonnet] readme.org: fix keybinding table
problem: a space before the closing ~, breaks the formatting
solution: remove the space to hide the ~ signs

And remove a word: "to"
2018-08-31 22:07:25 +01:00
Juan Edi
2ecfc21e3a Add elm-test-runner to elm layer
The package adds some convenient commands to run elm-test on:

  - a file
  - a directory
  - a projects

It also provides a handy way to toggle between a test and its implementation.
2018-09-01 00:05:36 +03:00
Benno Fünfstück
03b8f71997 fix typos 2018-08-28 22:37:08 +01:00
Benno Fünfstück
f31bed7f52 python-mode: fix indent offset guessing for tab indentation 2018-08-28 22:37:08 +01:00
duianto
35b258cd51 [Haskell] Fix Readme.org typos, missing words 2018-08-28 22:13:14 +01:00
Andriy Senyshyn
24d5607b7b Update gocode repo
nsf/gocode is not maintained anymore. change to https://github.com/mdempsky/gocode
2018-08-28 21:59:29 +01:00
Seong Yong-ju
2c21d5098a Add prettier layer
Add prettier layer. Add prettier support for .css/.scss/.less/.js/.json file.
Add layer variables for html, javascript, json.
2018-08-22 00:15:28 +03:00
Arne Brasseur
77cf6a2a36 Clojure layer: make sayid optional 2018-08-21 22:42:17 +03:00
kyoncho
862d873fa8 LSP Java backend for the Java layer
Fixes #10654

Added new backend for the Java.
2018-08-21 20:36:06 +01:00
Lupco Kotev
25be8ecb62 Update documentation to include golangci-lint 2018-08-20 23:03:45 +01:00
Lupco Kotev
1d49cd7ed8 Add golangci-lint support 2018-08-20 23:03:45 +01:00
Langston Barrett
ab5b171524 apply patch from @sdwolfz re: formatting 2018-08-20 22:42:23 +01:00
Langston Barrett
8fcf41cd54 coq: add keybindings for company-coq's documentation functions 2018-08-20 22:42:23 +01:00
gdkrmr
71bea49e48 add key bindings julia layer evil-surround 2018-08-16 23:55:27 +01:00
Ljupcho Kotev
107833af16 Remove unnecessary company-go function 2018-08-16 12:01:38 +01:00
Ljupcho Kotev
81865e1ea2 Change backend name from default to go-mode 2018-08-16 00:39:17 +03:00
Lupco Kotev
bb3e3b2103 Add lsp support for go 2018-08-16 00:39:17 +03:00
Codruț Constantin Gușoi
6a724e416d Fixes formatting on ruby readme 2018-08-11 13:13:22 +03:00
Brandon Conway
6302748f99 Add seeing is believing 2018-08-11 12:53:50 +03:00
Adam Beckmeyer
42f9ad4290 Add dedicated julia layer 2018-08-11 09:16:15 +01:00
Adam Beckmeyer
feee0844c5 Remove julia from major-modes layer 2018-08-11 09:16:15 +01:00
Adam Beckmeyer
36161b4d47 Remove julia from ess layer 2018-08-11 09:16:15 +01:00
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
Andrew Christianson
8ded639eb5 Add alex-hhh's sql-indent in place of mepla sql-indent 2018-06-15 23:56:27 -04:00
syl20bnr
767661fa2e jsonnet: update key bindings and add a logo 2018-06-15 23:07:37 -04:00
liz
f2abfe8f88 Add basic JSonnet layer provided by jsonnet-mode 2018-06-15 22:45:25 -04:00
fiveNinePlusR
75f1d915a8 [CORE] synchronize the environment variables from the default shell 2018-06-14 20:12:26 -04:00
Kalle Lindqvist
697fceb30a rest: completley remove this layer, was renamed to restructuredtext 2018-06-14 00:30:46 -04:00
Kalle Lindqvist
3472b16314 restructuredtext: remove rst-sphinx init block, sphinx-layer owns it 2018-06-14 00:30:46 -04:00
Kalle Lindqvist
3c40283c99 restructuredtext: Fix broken linum codeblock 2018-06-14 00:30:46 -04:00
syl20bnr
50804ed6bb crystal: fix key bindings not available for play-crystal 2018-06-11 02:15:47 -04:00
syl20bnr
80bf864ebe Lazy load flycheck-crystal 2018-06-11 02:14:12 -04:00
syl20bnr
19b478efbd Lazy load flycheck 2018-06-11 02:14:12 -04:00
syl20bnr
adf10d652b Lazy load importmagic 2018-06-11 01:45:48 -04:00
syl20bnr
d48ecea6e6 Lazy load anaconda-mode 2018-06-11 01:41:22 -04:00
syl20bnr
49b1659a18 Lazy load lsp-mode 2018-06-11 00:28:11 -04:00
syl20bnr
bd160f5da9 Lazy load inf-crystal 2018-06-10 23:59:12 -04:00
syl20bnr
9951013bee Lazy load eval-sexp-fu 2018-06-10 23:24:44 -04:00
Josh Santos
7944ed2634 Fix environment variable setting for go and rust layers 2018-06-09 01:22:56 -04:00
syl20bnr
b04cce06b2 go: defer loading of various packages 2018-06-09 01:11:41 -04:00
syl20bnr
9fc1883b4b go: fix bad quoting of go-packages-function 2018-06-09 01:10:03 -04:00
syl20bnr
aedceddd92 go: cleanup layer sorting stuff and using idiomatic constructs 2018-06-09 01:09:11 -04:00
Cosmin Cojocar
d47f9267e9 go: add support for go-impl in refactoring menu 2018-06-09 01:04:23 -04:00
syl20bnr
f12b849993 go: sort packages.el and update README 2018-06-09 00:58:50 -04:00
Cosmin Cojocar
80dbae3825 go: add option in refactoring to fill a structure with default values 2018-06-09 00:51:33 -04:00
syl20bnr
ae53d9612e go: update feature section with gopkgs 2018-06-09 00:49:07 -04:00
syl20bnr
0e0d5088b9 go: remove unused function load-gopath-file 2018-06-09 00:45:48 -04:00
syl20bnr
7951d763e3 go: reformat spacemacs/go-packages-gopkgs
Use setq instead of customize
Put spacemacs//go-set-tab-width in funcs.el
2018-06-09 00:43:52 -04:00
Cosmin Cojocar
938155c50a Configure the go-packages-functions to use the gopkgs tool
This is a much faster option than the current native function.
2018-06-09 00:39:08 -04:00
syl20bnr
0fd13aef2b go: change test generation key bindings according to conventions 2018-06-09 00:36:32 -04:00
Cosmin Cojocar
359960ae27 Add support to generate go tests with go-gen-test 2018-06-09 00:36:32 -04:00
syl20bnr
b282e553ba Use dotspacemacs backward compatibility macro instead of aliases 2018-06-08 02:24:38 -04:00
Kalle Lindqvist
309b154d73 asm: add missing company package declaration 2018-06-07 17:36:46 -04:00
Kalle Lindqvist
b9f1228306 rust: add missing counsel-gtags package declaration 2018-06-07 17:36:46 -04:00
Kalle Lindqvist
961e448caa rust: add missing smartparens package declaration 2018-06-07 17:36:46 -04:00
Kalle Lindqvist
4af9169d4b scheme: add missing parinfer package declaration 2018-06-07 17:36:46 -04:00
Perry Fraser
fb855fec67 Add elixir format keybind (#10812)
* Add elixir format keybind

* fix formatting

* Move elixir-format keybind to init-elixir-mode
2018-06-07 00:07:28 -04:00
syl20bnr
834c39c2fd Update promotion and demotion conventions and apply them to markdown 2018-06-06 01:15:48 -04:00
Kechao CAI
49b21c4c3c markdown: fix M-h, M-j, M-k, M-l bindings.
These key bindings are very useful in emacs-editing mode and should not be
overwrited.

This fixes #10640.
2018-06-06 00:51:20 -04:00
Miciah Masters
e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Codruț Constantin Gușoi
4a9d535786 Checks if tern exists before using it (#10788) 2018-06-04 02:19:15 -04:00
bmag
50621c93af python: conditionally remove binding to obsolete keymap
Using a conditional instead of removing entirely since anaconda-mode code has
been in some flux recently. If the keymap stays obsolete when the dust settles
we can remove this block.
2018-06-03 20:19:19 +03:00
syl20bnr
a6542f8e7c Activate nameless only in GUI
Nameless triggers lots of graphical glitches making Emacs unusable in a terminal
when it is enabled.
2018-06-03 01:49:07 -04:00
Aaron Jensen
95a40af341 Revert "Move yas-activate-extra-mode setup to javascript layer" (#10746)
This reverts commit e4eca01e82.
2018-06-01 20:34:48 -04:00
syl20bnr
12a4d63b30 Fix counsel-gtags package name in common-lisp layer
Fixes #10591
2018-05-31 23:43:02 -04:00
p-sdk
4e3990ce52 ruby: add key bindings for ruby-send-{buffer,line}-and-go 2018-05-31 01:09:50 +03:00
Michael Rohleder
24ca355b6a add org-babel support for some of the more popular languages. (#10738)
* add org-babel support for some of the more popular languages.
* alphabetical sorted package names.
* removed blank lines at EOF.
2018-05-30 09:07:21 -04:00
syl20bnr
c9e364721e Fix formatting in javascript layer README.org 2018-05-24 01:44:28 -04:00
Miciah Dashiel Butler Masters
78297be625 Fix various typos
* Fix various isolated typos

"apppend" -> "append"

"availabe" -> "available"

"Descripti using ternon" -> "Description"

"you have not them" -> "you don't have them"

"new on" -> "new one"

"plained" -> "curved"

"repel" -> "REPL"

"vairable" -> "variable"

* Fix a few errors in the CoffeeScript layer readme

Add a missing "the".

Correct a reference to the layer as "javascript" to "coffeescript".

Fix the syntax on the link to CoffeeLint.

* Fix typos: "dofile" -> "dotfile"

* Fix typos: "formated" and "formating"

"formated" -> "formatted"

"formating" -> "formatting"

* hy: Fix docstrings in funcs.el

Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.

* Fix typos: "indendation" -> "indentation"

* Fix typos: "the the", "a a"

Fix duplicated (or misplaced) articles.

* Fix typos: "wether" -> "whether"

* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
syl20bnr
7d19ba1711 python: fix missing t with :call-hooks keyword 2018-05-23 22:11:10 -04:00
mangosmoothie
41d16b545b updating regex to match single optional m character 2018-05-24 00:45:20 +03:00
Nathan Lloyd
e1a6e8be1c add .mjs (ES6 module) extension to init-js2-mode 2018-05-24 00:43:41 +03:00
Codruț Constantin Gușoi
18c7241e2d Removes unwanted whitespaces 2018-05-23 23:27:20 +03:00
Wojciech Wojtyniak
df4c3b96f1 Enable command history navigation in the cider REPL in an insert mode
This is the same navigation that is used in normal mode. This behavior matches
one from the elisp REPL.
2018-05-23 23:26:32 +03:00
Robby O'Connor
f7946542d2 [BREAKING CHANGE] delete extra-langs layer
This layer has long been deprecated and is due to be nuked.
2018-05-22 23:39:51 -04:00
syl20bnr
7be4e22d45 crystal: fix URL 2018-05-22 23:18:09 -04:00
syl20bnr
fe7cc15a8a Add new layer for Crystal language 2018-05-21 03:14:46 -04:00
Brandon T. Willard
f069f9992d Fix pyvenv pre-init defun and package names; adjust hy-mode prefixes. 2018-05-21 01:18:37 -04:00
syl20bnr
4a2e04a4ed dump: require some emacs-lisp modes while dumping
auto-compile
elisp-slime-nav
nameless
2018-05-20 03:58:48 -04:00
syl20bnr
d14d58d990 hy: fix documentation format 2018-05-20 03:13:54 -04:00
syl20bnr
ea8991ac90 New layer Hy extracted from Python layer 2018-05-20 03:06:25 -04:00
syl20bnr
8267b501dd web-beautify: rename spacemacs-web-beautify--modes 2018-05-20 00:41:17 -04:00
syl20bnr
9f6b45223f python: put smartparens advice in a post-config use-package hook 2018-05-20 00:24:29 -04:00
Nikita Leshenko
b3743701db python: smartparens: Fix bytecomp warning (#10582)
The byte compiler doesn't know about `smartparens-strict-mode' because
smartparens is lazy loaded, so wrap the variable reference in `bound-and-true-p'
to silence a warning that appears on Spacemacs startup.

To reproduce:
1. Install a fresh Spacemacs from develop branch
2. Use spacemacs-base distribution
3. Select only these configuration layers: spacemacs-editing python
4. Restart Emacs to install packages
5. Restart Emacs again and observe warning:
   Warning (bytecomp): reference to free variable 'smartparens-strict-mode'
2018-05-20 00:22:44 -04:00
p-sdk
000e5022c9 ruby: add key binding for ruby-send-line 2018-05-20 00:01:29 -04:00
syl20bnr
b97ad90c92 web-beautify: fix definition of web-beautify key bindings
Needs to use `pre-init` function in order to have the variable
spacemacs-web-beautify--modes to be populated before the init function of
web-beautify is actually called.
2018-05-19 01:53:33 -04:00
syl20bnr
4980a6461d Fix another link in documentation... 2018-05-18 02:21:05 -04:00
syl20bnr
3976a341a0 Fix documentation link to web-beautify layer README 2018-05-18 02:04:45 -04:00
syl20bnr
542ada133d New layer web-beautify extracted from javascript layer
Make html, javascript, json and react layers depend on it
2018-05-18 01:25:29 -04:00
syl20bnr
10ea3d3e13 html: move css functions to funcs.el 2018-05-18 01:25:29 -04:00
syl20bnr
e4eca01e82 Move yas-activate-extra-mode setup to javascript layer 2018-05-18 01:25:29 -04:00
Ting Zhou
8616f07b86 Add: use rjsx-mode for react framework
Fix: add yas-activate-extra-mode
Add: add lsp support for react layer
Add: Add rjsx-mode key-bindings doc
Clean: rename spacemacs//set-lsp-key-bindings to spacemacs//setup-lsp-jump-handler
Fix: remove buggy hooks
Clean: move fix-lsp-company-prefix to lsp layer
Fix: rjsx-mode company
Fix: rjsx-mode lsp backend
2018-05-18 01:25:29 -04:00
syl20bnr
abf3df4ad7 New layer tern extracted from javascript layer 2018-05-18 01:25:29 -04:00
Juuso Valkeejärvi
387a19530d javascript: fix default value of tern-command variable
tern-command must be a list or adding switches to command doesn't work
2018-05-18 01:25:29 -04:00
Farva
6cda2dec61 Opt-out of company-rtags while retaining rtags
if 'c-c++-enable-rtags-support' is 'no-completion', keep everything
enabled, but not completion ('company-rtags').
2018-05-18 01:05:52 +03:00
JI Xiang
7638d4cc40 Fix ipython-notebook layer instructions
Now `pip install jupyter` is needed instead of `pip install ipython[notebook]`.
Otherwise `ob-ipython` package will not work.
2018-05-18 01:01:09 +03:00
JAremko
d8b1f81fbb
Fix 404 URLs 2018-05-17 02:26:52 +03:00
JAremko
1c4a0451d9 Fix Ensime URL 2018-05-17 02:01:05 +03:00
Codruț Constantin Gușoi
04c9c66d39 Fixes newline problems after newlines header 2018-05-16 11:20:07 +03:00
kenkangxgwe
be0686a21e Re-enable Wolfram-mode, since it is added back to Melpa. 2018-05-16 00:13:15 +03:00
Codruț Constantin Gușoi
4219842f98 Instead of removing auto-newline, control it via a variable 2018-05-15 23:54:20 +03:00
Fangrui Song
33192a05e2 Remove spacemacs//c-toggle-auto-newline 2018-05-15 23:51:50 +03:00
JAremko
dd46fcac78
Fix 404 links. 2018-05-15 16:19:01 +03:00
syl20bnr
7aca5aebd1 javascript: set default value of tern-command to "tern"
fixes #10673
2018-05-14 22:54:53 -04:00
syl20bnr
0fc3d921d2 json: fix hook error in post-inti-add-node-module-path 2018-05-14 20:52:22 -04:00
Jinseop Kim
e3c6772a49 perl5: Fix for leader key prefix name on CPerl mode 2018-05-15 00:54:20 +03:00
syl20bnr
e481894fcb Create new json layer extracted from javascript layer
* add some goodies like `json-reformat` and `json-navigator`
* make the javascript layer dependent on the json layer
2018-05-14 00:49:13 -04:00
syl20bnr
ac4b2686b4 java: enable flycheck for meghanada backend only if possible 2018-05-13 22:39:17 -04:00
syl20bnr
9164407e99 javascript: remove references about coffeescript in README.org 2018-05-13 22:35:12 -04:00
syl20bnr
eeec23b226 coffeescript: fix doc. tests 2018-05-13 22:26:47 -04:00
syl20bnr
c3ebeb2ee4 coffeescript: add org-babel integration 2018-05-13 12:56:59 -04:00
syl20bnr
996cc91b5d python: fix company when opening a buffer for the 1st time
fixes #https://github.com/syl20bnr/spacemacs/issues/10638
2018-05-13 12:39:52 -04:00
syl20bnr
e7c103b556 coffeescript: add jump handler 2018-05-13 10:28:39 -04:00
syl20bnr
ca07366f01 New layer coffeescript (extracted from javacript layer) 2018-05-13 10:19:48 -04:00
syl20bnr
9123ffc986 typescript: fix backend name in typescript-setup-eldoc 2018-05-13 09:20:39 -04:00
syl20bnr
17b8e9d75a javascript: fix post-init-imenu func name 2018-05-13 09:16:04 -04:00
syl20bnr
1a0e5e34e3 javascript: add safe values for javascript backend 2018-05-13 02:14:09 -04:00
syl20bnr
7d6fd4ffd4 javascript: sort packages 2018-05-13 02:12:14 -04:00
syl20bnr
9820484716 javascript: fix multiple backends
* Use hack-local-variables-hook and remove usage of hooks in backends setup
  functions.
* also move imenu configuration to post-init-imenu
* Remove the necessity of typescript server for javascript layer
* Remove the necessity of javascript and javascript-flow servers for typescript
  layers
2018-05-13 01:31:00 -04:00
syl20bnr
5cdc1ed056 Sort packages alphabetically and add spacemacs function prefix 2018-05-12 23:59:50 -04:00
CeleritasCelery
6e684739cb create debug layer 2018-05-12 23:46:18 -04:00
syl20bnr
1a5664e436 typescript: add safe values for typescript-backend variable 2018-05-12 02:51:42 -04:00
syl20bnr
f4223543e1 typescript: fix usage of hooks in multiple backends setup
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:46:51 -04:00
syl20bnr
0877f2f92a typescript, java: use new :append-hooks and :call-hooks
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:33:52 -04:00
syl20bnr
883f57ee74 typescript: fix hooks to take into account directory variables
Also use spacemacs/add-hooks when applicable.
2018-05-12 02:33:10 -04:00
syl20bnr
14a5b8c21a typescript: use spacemacs/add-to-hooks function 2018-05-12 00:23:10 -04:00
Andrea Moretti
3a516438cd add smartparens mode 2018-05-12 00:23:10 -04:00
Andrea Moretti
8081d51560 typescript: avoid 0 char autocomplete 2018-05-12 00:10:36 -04:00
Ting Zhou
5a92c43951 Fix: use recipe for lsp-javascript-typescript 2018-05-11 23:28:15 -04:00
syl20bnr
f9968bf326 javascript: add default value for tern-command and remove toggle
Since now we support multiple backends, the toggle based on tern executable
seems not necessary anymore.
2018-05-11 13:28:16 -04:00
Ting Zhou
5c14486b62 Fix: remove buggy hooks in javascript and typescript 2018-05-11 01:48:03 -04:00
Codruț Constantin Gușoi
775fb50f9f Fixes TOC formatting for python layer 2018-05-09 01:19:21 +03:00
syl20bnr
7596a156a4 Rename set-lsp-key-bindings and make it accept a list of modes 2018-05-08 00:17:56 -04:00
syl20bnr
ed80e41014 javascript: minor update of README.org 2018-05-08 00:10:48 -04:00
syl20bnr
522eafbd2b typescript: update README.org for multiple backends 2018-05-08 00:10:13 -04:00
Ting Zhou
59e0c5683a Add: lsp-typescript support 2018-05-07 23:47:24 -04:00
Philippe Bourdages
4ac8e4ec17 Fix Typescript key binding typo 2018-05-07 23:46:59 -04:00