Commit graph

2254 commits

Author SHA1 Message Date
nobv ab52131d98
Add lsp for purescript (#13840) 2020-10-23 18:57:47 +02:00
Aaron L. Zeng 1cbc752463 [ocaml] Add ocamlformat package and configure format-on-save 2020-10-22 23:28:41 +02:00
Martin Račák 9c31d4f953 Hide sphinx-doc-mode lighter 2020-10-22 22:53:05 +02:00
nanashi0x74 76849892e1 Fix three typos in various files
This commit fixes typos in doc/layers.org and the readme.org files of bootstrap and
java layers.
2020-10-19 11:48:51 +02:00
Rahul Rameshbabu 1dd17e10ee [c-c++] Fixed typo in README.org 2020-10-17 10:21:06 +02:00
NANASHI0X74 efcab8f61a
Bind typescript-format to "==" or "=" depending on backend (#14049)
* Bind typescript-format to "==" or "=" depending on backend

This fixes a problem when using 'lsp backend: the lsp layer binds its own
formatting functions under "=" as a prefix. The spacemacs/typescript-format
function which the typescript layer defines has advantages over these, mainly
it respects the typescript-fmt-tool variable (uses the formatting tool that
theuser specified).

This patch solves this by keybinding leader+"==" to the function when
typescript-backend is set to 'lsp and binding to leader+"=" in any other case.

* Fix an accidentally deleted keybinding in table in documentation

* use getter for backend variable

Co-authored-by: nanashi0x74 <rian.lindenberger@mpq.se>
2020-10-17 10:17:41 +02:00
niontrix 28dba78259
Fix fsharp-mode autocomplete not working
Fsharp-mode has recently undergone some major changes. FSAutocomplete is
no longer distributed with Fsharp-mode. Instead Eglot is used a language
server that pulls in FSAutocomplete. To get auto-completion working
again eglot-fsharp has to be required and an instance of Eglot has to be
started once an F# file is opened.
2020-10-15 22:42:51 +02:00
0kaguya 177db4472f remove package mercury-mode which no more exist 2020-10-04 11:32:56 +02:00
emacspace 8fff0ea4ee documentation formatting: Sat Oct 3 18:54:32 UTC 2020 2020-10-03 22:24:57 +03:00
JAremko 8227686194 Fix links 2020-10-03 21:52:09 +03:00
Stefan Ruschke 00b1f419a5 [python] Add sphinx-doc support 2020-10-01 13:23:47 +02:00
John Practicalli Stevenson f2c075b673 [clojure] key binding for cider eval list around point
New command added to CIDER in version 0.26 to evaluate the list around the
current point, different to evaluate sexp around point which also evaluates
symbols.

https://github.com/clojure-emacs/cider/pull/2881
2020-10-01 12:29:35 +02:00
Michael Peyton Jones 496a86bd3e literate-haskell-mode has been renamed to haskell-literate-mode
See 7ccb1ab0cc.

We should keep the old assignment around for a bit to support people on
old versions of `haskell-mode`.
2020-09-27 14:33:07 +02:00
Maximilian Wolff a55d6287b1
[python] Fix small unintentional change from copyright date update 2020-09-23 21:26:07 +02:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
syl20bnr 022b6128f2 [elisp] Fix loading of nameless from a dump 2020-09-20 21:17:21 -04:00
syl20bnr e3acd91118 [core] Rename spacemacs|require to spacemacs|require-when-dumping 2020-09-20 21:17:21 -04:00
Maximilian Wolff 582e229704
[go] Deprecate =go-mode= and revise the layer documentation
In addition I have simplified the layer code a bit
to remove unnecessary indirection in the way LSP
is set up.
2020-09-20 23:51:28 +02:00
sunlin 8d204c78b4
Add `spacemacs/python-shell-send-statement' for sending statement (#13945) 2020-09-18 21:15:53 +02:00
Fredrik Simón 85bef62e2d
[lsp] Fix lsp-diagnostics-provider name (#13956)
`lsp-diagnostic-package` was renamed to `lsp-diagnostics-provider` in
[LSP version 7.0.1](f23159a85f/CHANGELOG.org (release-701)).
2020-09-18 20:31:30 +02:00
Aaron Zeng c0e31e4b8d
Fix up markdown mode specifiers (#13964)
* [markdown] Anchor auto-mode-alist entries

A file named foo.mkd.patch should use diff-mode, not markdown-mode.

* [markdown] Simplify regexp in mode specifiers

Putting k in brackets here has no effect.
2020-09-18 19:29:41 +02:00
Maximilian Wolff d900b26291
[html] Move emmet-expand from tab to C-return
tab is reserved by the auto-completion layer and
shall never be overwriten in a layer. This moves
emmet-expand to a similar binding which was
originally used by emmet for non evil users.

This treats evil and non evil users alike and
avoid conflicts with company key bindings.
2020-09-17 23:06:38 +02:00
Maximilian Wolff 2fbd853f93
[html] Fix emmet-mode overwriting company popup bindings
Still a layer changing the meaning of tab is
a bad idea, this key is reserved for auto-completion-layer.

We should add an alternative binding for it but this commit
focuses on removing the conflicts with company popup scrolling
first.
2020-09-16 23:26:43 +02:00
emacspace 58d2a69a07 documentation formatting: Mon Sep 14 18:13:15 UTC 2020 2020-09-15 10:48:00 +03:00
Daniel Nicolai 1147e758bd Implement pyvenv-tracking-mode
The pyvenv-tracking-mode changes the virtual environment on changing focus
between buffers.
2020-09-14 18:53:19 +02:00
beyondpie 8da6653d2b
[Python] Add python-shell-send-line function (#13942) 2020-09-14 18:32:23 +02:00
ClarityStorm 7a7b04abb5 Update number of LSP backends in C/C++ layer docs 2020-09-12 06:13:47 +03:00
Maximilian Wolff c70f322836
[clojure] Make sayid workaround also fix duplicate key in cider
When the corrupted `elc` file is detected
`cider-jack-in-lein-plugin` has a nil value
value added already which causes `cider` to fail.

This commit removes such a row in that case.
2020-09-11 21:55:00 +02:00
Maximilian Wolff 10e997338d
[clojure] Add workaround for corrupted sayid.elc file
It seems to happen from time to time that sayid is not
properly compiled after the installation. In this case
the variable `sayid-version` is `nil` causing
nRepl to fail.

This commit tries to work around this problem by
reinstalling the package if this corruption is detected.

This normally fixes the issue described in #13906.
2020-09-11 21:34:29 +02:00
fperies b83eb11e3d
[layer/+lang/c-c++] Introduction of shortcut for rtags-symbol-type (#13929)
Introduction of <SPC/M-m> g t shortcut for rtags-symbol-type.
Replacement of previous <SPC/M-m> g t into <SPC/M-m> g u for rtags-dependency-tree
2020-09-08 21:17:31 +02:00
Ade Attwood 14dd80da12 Disable php-extras when the php layer backend is lsp
This conflicts with `company-capf` and you don't get any company completions
from the lsp-mode

Fix issue #13524
2020-09-08 20:41:12 +02:00
emacspace c9b8bcd73a documentation formatting: Sat Sep 5 22:23:18 UTC 2020 2020-09-06 04:59:59 +03:00
Martin Sosic 7705b33600 Improved Haskell language layer README. 2020-09-06 00:20:35 +02:00
emacspace 050a6d1973 documentation formatting: Fri Sep 4 16:48:12 UTC 2020 2020-09-04 22:33:54 +02:00
Will Minshew 77ff667235
Bug fix emacs lisp debug keybindings (#13892)
* fix edebug readme keybindings
* fix lisp debugger readme keybindings
2020-09-04 18:29:07 +02:00
Ayush Goyal 96cc779cbe Support pyright language server for python layer
Microsoft has released pyright language server for python. It boasts better
performance than the old Microsoft language server for python. This commit adds
supports for pyright language server in python layer
2020-09-04 18:25:21 +02:00
enderger 14a767fc66
Replace Depreciated Package in Perl6 Layer (#13899)
* Switch from nabero's ron mode to my own custom ron-mode (hosted on MELPA)
* Replace depreciated perl6-mode withraku-mode
* Remember to update the init function
2020-09-04 18:16:43 +02:00
syl20bnr 2da9682921 [javascript] Fix default value for javascript-backend
Prevent a bug where tern is installed with SPC f e R and then
directly uninstalled if one uses the lsp layer.
2020-08-29 21:35:24 -04:00
emacspace 0fda75c688 documentation formatting: Fri Aug 28 21:26:14 UTC 2020 2020-08-28 23:41:29 +02:00
Lucius Hu a95593434d fixed typo in haskell/README.org
Fixed the typo and made the url correct
2020-08-28 23:18:42 +02:00
JAremko 18949e85e2 fix code block 2020-08-28 21:25:26 +03:00
Maximilian Wolff 15d93914f5
Fix "lsp is no valid syntax checker" error message
See #13841
2020-08-27 00:04:53 +02:00
wangtianshu a877cc4197 [bibtex] use `org-ref-completion-library' option to clean code 2020-08-26 22:54:04 +02:00
Daniel Hutzley ca2f776056 Switch from nabero's ron mode to my own custom ron-mode (hosted on MELPA) 2020-08-26 22:51:08 +02:00
duianto 5e9536e842
[lua] Remove require lsp-clients 2020-08-26 22:46:21 +02:00
Martin Sosic 7f1c72aa43 [layers/+lang/haskell] Removed intero, ghc-mod and company-ghci backends, set dante as default backend. 2020-08-26 22:34:59 +02:00
William Minshew 7e6fdb5641 add emacs-lisp (e)debug keybindings to readme 2020-08-19 23:19:49 +02:00
Martin Šošić 95400ec08e
[layers/+lang/haskell] Updated README with more detail about Dante + misc (#13802)
Updated README with more detail about Dante + misc
2020-08-19 23:11:01 +02:00
Martin Šošić 112fb65833
[layers/+lang/haskell] Make flycheck run hlint checker after dante checker. (#13804)
Make flycheck run hlint checker after dante checker in haskell layer.
2020-08-19 23:08:16 +02:00
fperies 18e35a8607
[layers/+lang/c-c++] Add RTags shortcuts for trees and dead functions (#13838)
* Add RTags shortcuts for trees and dead functions

The change will add 3 shortcuts for dependency, references trees and for finding dead functions.

* Additions of some key bindings
2020-08-19 23:00:23 +02:00
Maximilian Wolff e50890c490
[ocaml] Revise latest improvement to layer 2020-08-13 21:45:59 +02:00
Edwin Török 350a6ecdb8
lang/ocaml: fix flycheck-ocaml activation
We should always define the 2 flycheck initialization functions:
Spacemacs will call them as needed only when enabling syntax checking.
Previously flycheck wasn't getting activated at all.

Only activate `flycheck-ocaml` when a `.merlin` file is present.
It would work when there isn't but there is a high chance that you will
get a lot of errors displayed because it could not find any of the used
modules (`.merlin` specifies module paths).
OCaml projects usually do have a `.merlin` file
(either hand crafted or generated by the build system).

Signed-off-by: Edwin Török <edwin@etorok.net>

lang/ocaml: add merlin-eldoc and merlin-imenu support

This displays the type and documentation of thing under point
and highlights occurrences automatically when idle. Could be achieved by appropriate use of
keyboard shortcuts already set up by this module.

However `merlin-eldoc` can also display the expected type of function call parameters,
which merlin itself wouldn't.

`merlin-imenu` allows jumping to top level modules/functions/etc. bound
by default to `SPC j i`.

Signed-off-by: Edwin Török <edwin@etorok.net>

lang/ocaml: add merlin-iedit multiple cursor refactoring

bound to `, r e`.

Signed-off-by: Edwin Török <edwin@etorok.net>

fixup! lang/ocaml: add merlin-iedit multiple cursor refactoring

fixup! lang/ocaml: fix flycheck-ocaml activation

fixup! lang/ocaml: add merlin-eldoc and merlin-imenu support
2020-08-13 20:29:30 +02:00
Maximilian Wolff ce73d31263
[bibtex] Fix some minor issues in bibtex layer 2020-08-10 12:47:54 +02:00
Kalle Lindqvist 63a42d7600
[bibtex] cleanup layer, bind helm-bibtex and add ivy support
biblio-/core is pulled in by multiple packages in this
layer already and their package declarations was empty.
Users can access the functionality biblio offers
from helm-bibtex.
2020-08-10 12:05:55 +02:00
romain.gautier@nimamoh.net ba982822c6
Replace deprecated clojure-cheatsheet with helm-cider 2020-08-09 23:59:34 +02:00
Maximilian Wolff d65c091656
[clojure] Document new automatic namespace switching in REPL 2020-08-09 11:57:58 +02:00
Brandon Adams 3663b29a48
Support optional set-namespace argument to Clojure layer's , s B
The spacemacs analogue of cider-load-buffer-and-switch-to-repl-buffer
doesn't accept an argument to set the namespace while you are switching
to the repl buffer. This adds support for an argument, invokable with
the universal argument, for setting up the namespace as well. This will
eliminate an extra `(in-ns ...)` or `, s n` call as long as you invoke
`, s B` prefixed by the universal argument: `SPC u , s B`.
2020-08-09 11:57:58 +02:00
duianto e290dfbe7a [hy] Fix readme, remove = around links 2020-08-09 11:45:26 +02:00
duianto c6dc8fad47 [rust] Fix .ron support
Missing parentheses around:
"\\.ron\\'" . ron-mode

in the line:
:mode "\\.ron\\'" . ron-mode

Updated the rust readme to mention the .ron support.

And added a changelog.develop entry.
2020-08-09 11:30:00 +02:00
Daniel Hutzley c8f7752dfe Add Rusty Object Notation (RON) support to the Rust crate, predominantly used by the Amethyst Game Engine 2020-08-09 11:18:46 +02:00
duianto 240de6fe4f [hy] Add auto-completion installation instructions
hy-mode relies on jedhy for auto-completion
2020-08-09 11:14:58 +02:00
beyondpie 3388972c26
[ESS] Fix: remove obsolete variables in ESS (#13826)
* [ESS] Fix: remove obsolete variables in ESS

- use ess-offset-continued to replace the obsolete variables (from ESS 15.04):
  ess-first-continued-statement-offset
	ess-continued-statement-offset

- remove ess-expression-offset
  no such variable now

* [ESS] fix: keep ess-default-style instead of ess-style

- keep the original ess-default-style instead of ess-style
  since ess-default-style will be obsolete till ESS 19.04
	while current ESS version is 18.10
2020-08-08 07:35:25 +02:00
Keith Pinson 75cd5a6c79 [haskell] fix: keybindings not bound in haskell-literate-mode
`literate-haskell-mode` was renamed to `haskell-literate-mode` in this commit:

7ccb1ab0cc

Even though a deprecated alias was added, it broke Spacemacs' keybindings, which
were still all bound w.r.t. the old name.
2020-08-07 22:23:06 +02:00
Martin Sosic 9d0174bd37 Added FAQ about fixing HLint parse error. 2020-08-07 22:12:42 +02:00
emacspace 7c3a10c3a1 documentation formatting: Fri Aug 7 11:44:44 UTC 2020 2020-08-07 13:54:27 +02:00
Maximilian Wolff 5e7f2d1b43
[nim] Add experimental lsp support 2020-08-07 13:32:45 +02:00
duianto 04b80d610a [python][doc] Fix emphasis
README.org
Buffer formatting, first paragraph
The apostrophes before: yapf and black
caused the org emphasis verbatim equal signs to be visible.

config.el
python-formatter variable docstring
An apostrophe instead of a backtick, before the possible value: lsp
caused it to be shown with the default docstring color.
2020-07-29 08:37:42 +02:00
Tommi Komulainen f57ebbb994 [typescript] configure tslint also for lsp backend 2020-07-28 15:34:27 +02:00
Jaakko Luttinen 3834bb1151 [python] Support --last-failed for pytest. Fixes #12023 2020-07-28 14:19:44 +02:00
Martin Sosic 684976c993 [javascript] Add README details about linter configuration 2020-07-24 11:12:10 +02:00
Robert Roland d98cccaa2f [rust] Small typo fix
This fixes a small typo, switching ` for =
2020-07-24 10:54:02 +02:00
Maximilian Wolff afc133d2ff
[groovy] Fix broken binding for non-lsp company backend 2020-07-18 10:07:30 +02:00
duianto dd397b1ad5 [semantic-web][docs] Fix layer renamed from semweb 2020-07-18 09:39:35 +02:00
Keith Pinson 4e57eaceea
Remove gradle-mode to stop it breaking bindings of other major modes
After using Java mode, Gradle keybindings infect or even clobber keybindings of
any subsequently used major-mode. For example, the critical Agda major mode
keybinding of `l` as `agda2-load` gets with a Gradle menu!

The cause, found by @duianto, is that `emacs-gradle-mode` sets itself to a
[global](e4d665d578/gradle-mode.el (L176-L183))
minor mode. The docs for `define-minor-mode` say about `:global:`

> If non-nil specifies that the minor mode is not meant to be
> buffer-local, so don't make the variable MODE buffer-local.
> By default, the mode is buffer-local.

I don't know why `gradle-mode` is doing this; presumably there is some reason or
need for it. But the author of that package hasn't been on GitHub since 2017,
and the last update of the package itself is from early 2015.

To seal the deal, `gradle-mode` hasn't been working anyway (at least, I've never
got it to work). I've been running Gradle by launching a terminal within Emacs.

Fixes #13750.
2020-07-18 09:30:35 +02:00
Codruț Constantin Gușoi b3bbbd229d Update changelog with most important changes 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi 698a981e8c Adds text insertion functinos and keys 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi 69078f8d9b Disable the magic comment insertion by default 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi f4f9f74075 Use refactor prefix for the quote and block toggles 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi ecb06efbb4 Fix ruby mode handling for special files 2020-07-17 21:02:28 +01:00
Maximilian Wolff 56338b537d
[elm] Add lsp support 2020-07-17 18:13:18 +02:00
emacspace dec350eb84 documentation formatting: Sun Jul 12 08:21:50 UTC 2020 2020-07-12 21:03:53 +02:00
John Practicalli Stevenson 5f7e56fecc [clojure] refactor namespace key bindings
Add key bindings to refactor namespace forms for existing functions in CIDER.

"ran" 'clojure-insert-ns-form
"raN" 'clojure-insert-ns-form-at-point
"run" 'clojure-update-ns
2020-07-12 21:01:57 +02:00
Maximilian Wolff 920f568d81
[groovy] Make all variables adhere to layer naming scheme 2020-07-12 01:42:44 +02:00
Maximilian Wolff 8e3ea78191
[kotlin] Add lsp support 2020-07-12 01:34:25 +02:00
Maximilian Wolff f3f0e3a98d
[groovy] Fix missing ")" in documentation 2020-07-09 22:05:19 +02:00
Maximilian Wolff 3985f0042b
[vimscript] Add lsp server support 2020-07-09 22:03:55 +02:00
Maximilian Wolff ac3752ffd7
Add missing prefixes to global application bindings 2020-07-06 23:13:52 +02:00
Maximilian Wolff eacab70047
[groovy] Add lsp server support 2020-07-06 22:26:07 +02:00
Magnus Therning 7f2dfe9c91 [haskell] Move keybindings when using LSP
A few of the layer's keybindings are shadowed when using the LSP backend:

- `F` - format buffer using stylish
- `hh` - lookup on Hoogle
- `gi` - navigate to imports

These are useful shortcuts to keep, so when the LSP backend is in use they are
rebound like this:

- `F` -> `S`
- `hh` -> `hg`
- `gi` -> `gl`
- `hH` -> `hG` (not one that is shadowed, but rebound to bind external and local
  Hoogle lookups to similir shortcuts)
2020-07-05 22:33:08 +02:00
Ade Attwood 7a9a16ec96 Add ctp files to html language
When editing Cakephp template files there is not highlighting. This adds the
`.ctp` files to the html language using web-mode.
2020-07-03 22:41:35 +02:00
Maximilian Wolff b82bc40b3c
Fix ignored popwin declarations
Popwin automatically configures pupo purposes
if properly configured. While I was checking
the existing configs I have found that the
settings will be ignored if the config is not
done via a post-config hook.

A quick search revealed a lot of popwin configs
which never had any effect.

This commit fixes these and with this also
restores the missing pupo configs.
2020-07-03 21:51:33 +02:00
Ivan Yonchovski f895dfc2a9 Remove the references to lsp-ui-flycheck-enable 2020-07-03 20:18:17 +02:00
Maximilian Wolff b68b44a1b1
[tern] Remove unmaintained package company-tern
Company tern is not longer on melpa and had to be removed.
See #13725 for details.
2020-07-03 01:18:40 +02:00
Thanh Vuong 4928a9f55d [sql] fix regession by #13718
remove sql-mode which is not a package move its init to init-sql
2020-07-02 10:29:50 +02:00
emacspace 89b265e779 documentation formatting: Wed Jul 1 19:13:36 UTC 2020 2020-07-01 21:23:53 +02:00
Shunya Ishii 403aef6fd4 [SQL] Add lsp support 2020-07-01 20:49:01 +02:00
Joel Pettersson 244b3f58a2 [go] Fix search for current test function to run
spacemacs/go-run-test-current-function() previously failed when point was
anywhere but at the end of the line on the first line of the test function to
run.
2020-07-01 20:45:04 +02:00
Magnus Therning c2950ac22a [haskell] Remove hayoo from Haskell layer keybindings 2020-06-24 22:45:14 +02:00
Maximilian Wolff 938a7395dc
[json] Add lsp support 2020-06-23 22:58:26 +02:00
Dan Burton deeed044fd update stack project-root command 2020-06-23 19:32:17 +02:00
emacspace 78176ff6fa documentation formatting: Sat Jun 20 21:17:28 UTC 2020 2020-06-20 23:38:28 +02:00
timor 6f39c20e8e [factor] Support running graphical Factor listener from Spacemacs
Fuel mode is responsible to connect to a Factor instance.  This change extends
the Factor layer to handle a graphical listener process, to which fuel can
connect afterwards.

A major motivation is also to make it easier to develop with different Factor
versions, which can be specified with (project-/directory-specific) variables.
When starting a Factor listener in a certain location this way, the elisp code
for fuel/factor mode is reloaded from that location.
2020-06-20 21:07:15 +02:00
Matt Kramer 5fcd84d845
[latex] Init jump handlers in LaTeX-mode-hook
AUCTeX is weird: It reports major-mode as latex-mode (since TeX-latex-mode is
applied as an :override advice on the basic built-in latex-mode), but its mode
hook is LaTeX-mode-hook, not latex-mode-hook (which is only run by the built-in
latex-mode). Since bind-map uses the value of major-mode, we must pass
latex-mode to spacemacs|define-jump-handlers. But then
spacemacs//init-jump-handlers-latex-mode gets added to latex-mode-hook, which
never gets run. So we must manualy add it to LaTeX-mode-hook.

[latex] Use dumb-jump as primary jump handler

Otherwise, the default is used, which prioritizes evil-goto-definition over
dumb-jump-go. Dumb Jump tends to Just Work, while evil-goto-definition doesn't
handle LaTeX very well, at least not without a TAGS table.

[latex] Update CHANGELOG.develop
2020-06-11 01:18:47 +02:00
Bjarke Vad Andersen 0e9edda361 [Scala] Add lsp-metals
Having an explicit dependency on lsp-treemacs for post-init-lsp-treemacs is no
longer necessary in the Scala layer, as lsp-metals superseeds it.
Removed lsp-metals-treeview-enable as it no longer exists.
2020-06-11 00:43:12 +02:00
Jay Z 34a446724f
Add Go command variables
This is a squash commit, it includes:
* Add go run and go test command variables
* Update go README for go-run-command and go-test-command
* Update CHANGELOG
2020-06-11 00:12:56 +02:00
Benjamin Yang 7f5a53c2ef Racket: actually switch to insert state in REPL
As per the README, `SPC m s B' should put the REPL buffer in insert state, but
the keybinding as defined puts the racket file itself into insert state, not the
REPL.  This means that on returning to the racket file buffer, the cursor is
left in insert state, which means it is easy to accidentally add unwanted text
into the file.

To fix this, a `with-current-buffer' wraps the `evil-insert-state', so that
insert state is enabled in the REPL buffer, not the file being edited.

The first time this is run, `racket-run-and-switch-to-repl' is asynchronous of
`evil-insert-state', so trying to get the Racket REPL buffer will error.  To fix
this problem, we wrap the `with-current-buffer' with a check to determine that
the Racket REPL buffer is live.  The first time the Racket REPL buffer is
created, the contents will not run, since the Racket REPL buffer will not yet be
live.  This is fine, since we enter the REPL in insert state automagically.

This change does not need to be done to `spacemacs/racket-send-last-sexp-focus',
`spacemacs/racket-send-definition-focus', or
`spacemacs/racket-send-region-focus' since these functions follow all of their
racket-send functions with `(racket-repl)' before calling `evil-insert-state'.
2020-06-10 22:55:58 +02:00
Maximilian Wolff 1660527cd7
[Elixir] Remove traces of flycheck-mix from docs and layer variables
flycheck-mix has been removed by the package author as being
obsolete with proper lsp and alchemist support. Therefore
the layer also has been cleared of it as it cannot longer
be found on Melpa.
2020-06-08 22:59:48 +02:00
Tomasz Kowal 653fbab6bc
Remove flycheck-mix-compile in favour of default lsp and alchemist checkers 2020-06-08 22:50:31 +02:00
emacspace 064727f2f2 documentation formatting: Sun Jun 7 20:46:17 UTC 2020 2020-06-07 23:07:07 +02:00
Jannis Dohm 190b3e9f97 Added additional tabular environments
Added additional tabular environments to latex-nofill-env variable.
This deactivates the automatic fill in a few more tabular environments.
2020-06-07 18:27:10 +02:00
Keith Pinson f5fddc4256 [scala] drop support for Unicode arrows, now deprecated in Scala
As of Scala 2.13, Unicode arrows are deprecated:

* https://github.com/scala/scala/pull/7540
* https://github.com/scala/scala-dev/issues/585
* https://github.com/scala/bug/issues/11210

Using one will give a deprecation warnings like so:

> The unicode arrow `⇒` is deprecated, use `=>` instead. If you still wish to
> display it as one character, consider using a font with programming ligatures
> such as Fira Code.

As such the Scala layer's version slick capability to replace ASCII arrows with
Unicode ones is no longer useful, and I have removed it.

Based on my tests it doesn't seem that there is a need for a more graceful way
to deprecate this: i.e. nothing fails if there is extra junk in `:variables`.
2020-06-07 12:51:10 +02:00
Maximilian Wolff ecba7ad0dc
[c++] Fix not loading of "c-c++/post-init-company" function 2020-06-05 22:37:08 +02:00
Maximilian Wolff 23976ab799
[go] Remove duplicated code and run golangci-lint only if no errors are found
Before the decision which linter to run before golangci-lint has been
taken by the layer. However this can also directly be done by the
checkers.

Also golangci-lint did run even when the previous checker still reported
errors. With this it is only called if the previous checker is satisfied.

All thanks goes to Tommi Komulainen.
2020-05-27 18:16:47 +02:00
Maximilian Wolff 1ec43e7262
[go] Next try to make golangci-lint support more stable 2020-05-26 00:19:38 +02:00
Maximilian Wolff c6c931bc1e
[go] Make golangci run all available checkers and backup with go-build
Flycheck-golangci was not properly conigured which resulted in
not replacing disabled standard linters like go-test.

In addition there seems to be an issue in the current golangci
build causing the linter to fail. In this case spacemacs now
shows at least basic errors from go-build. When they are fixed
the linter should be able to work normally again.
2020-05-24 23:46:10 +02:00
emacspace 275b519f0a documentation formatting: Mon May 18 22:06:40 UTC 2020 2020-05-20 22:24:46 +02:00
Maximilian Wolff 015303a701
[extempore] Fix BEGIN_SRC block in doc and provide better eldoc setup
A BEGIN_SRC block in the documents had no language specified
which would break CI.

I have also changed the eldoc setup to run each time the mode is
entered instead of only in the initially loaded buffer.
2020-05-19 00:00:44 +02:00
Ben Swift 86fe1ba2d1
add layer for the Extempore programming language
https://github.com/digego/extempore
2020-05-18 23:43:06 +02:00
Francisco Rodera 5396a36e18 [doc] Update list of suggested packages to install with python-language-server
Removed suggestion to manually install Python packages that are already
dependencies of python-language-server [1].

[1] 6a7eae7600/setup.py (L50-L58)
2020-05-18 23:26:58 +02:00
Maximilian Wolff 1fd90fc1dc
Update instructions for dap integration and update existing layers
The previous way of adding dap to a layer did add the mode
unconditionally to `spacemacs--dap-supported-modes` causing
dap bindings to be added also when no lsp backend was used.
2020-05-16 23:40:38 +02:00
Maximilian Wolff 743d413abc
[plantuml] Fix config to have the package use local jar execution
If not done plantuml-mode will try to work with the online
server and fail during parsing of its response.

Reported in #13574
2020-05-16 12:45:12 +02:00
Shrutarshi Basu 62fdd198bb
Add racket-xp-mode to Racket layer
racket-xp-mode is an optional minor mode that enhances the racket-mode to
explain and explore Racket code. The racket-xp-mode is started with a mode-hook
on racket-mode. Deprecated racket-mode functions are replaced with their
racket-xp-mode versions. The remaining racket-xp-mode functions are added to
keybindings as per Spacemacs conventions.

Also add the racket-mode directory to .gitignore.
2020-05-15 22:58:29 +02:00
lawr f9ffb8dc94 Avoid unnecessary packages installation of tern layer
Fixes #13530
2020-05-11 09:42:13 +02:00
Shunya Ishii c54de3caa4 [clojure] Change leader key to fix warning
Fix this warning when reloading spacemacs configuration:

```
Error (use-package): cider/:init: Key sequence e p ; starts with non-prefix key e p
```
2020-05-11 09:39:15 +02:00
emacspace 7dd2091738 documentation formatting: Fri May 8 22:03:52 UTC 2020 2020-05-09 00:11:48 +02:00
Thanh Vuong c866f61fdb [javascript] proper hook setting for js-doc
move stray execution in fn into package init
2020-05-08 23:27:20 +02:00
刘冲 aaaf1c89a2 Update README.org of clojure layer to remove redundant linting via... 2020-05-08 23:18:03 +02:00
Xiang Ji ae2efb50e0 [ruby] Add instruction on disabling the automatic insertion of encoding comment 2020-05-08 22:55:29 +02:00
Hideaki Kawai d96ff261f1 [idris] Add to spacemacs-indent-sensitive-modes 2020-05-08 22:34:53 +02:00
pancho horrillo 9acafc345a [major modes]: Add keybinding for pkgbuild-update-srcinfo
The function pkgbuild-update-srcinfo was just added¹ to pkgbuild-mode,
and allows to easily produce a .SRCINFO file for a given PKGBUILD,
which is a required¹ element of an AUR package.

¹: https://github.com/juergenhoetzel/pkgbuild-mode/pull/18
²: https://wiki.archlinux.org/index.php/.SRCINFO
2020-05-08 22:16:37 +02:00
emacspace d0f5477c32 documentation formatting: Wed May 6 22:11:32 UTC 2020 2020-05-07 01:52:26 +03:00
duianto 106823bd93 [php][doc] Update readme
Wrap code snippets in source blocks.
Fix spelling.
Wrap lines at 80 chars.
2020-05-07 00:02:44 +02:00
emacspace 42c24bd73c documentation formatting: Wed May 6 21:12:48 UTC 2020 2020-05-06 23:21:46 +02:00
Ivan Yonchovski a3ea02d6bd [lsp][dart] Fix dart layer
- lsp-dart was moved into separate package so it has to be requred separatelly.
2020-05-06 23:01:18 +02:00
Ivan Yonchovski b227a68c7b [emacs-lisp] Added emr integration
- I have used the shortcuts from the clojure layer
- see https://github.com/Wilfred/emacs-refactor
2020-04-20 19:30:22 +02:00
Alexander Konotop 2c2cfe6f92 Added dap inialization for php layer. Updated a manual respectively. 2020-04-20 19:27:13 +02:00
Maximilian Wolff 5f12569954
Move conda and ipython-notebook layer from +lang to +tools category
Also adjusted the tags to match the folders the layers
are in. I have also updated the binding for imenu mentioned
in protobuf layer and adapted the kubernetes tags to register
as tool instead of as os.
2020-04-18 21:28:14 +02:00
Hans Jang 39f774f70b
[Python] Reflect upstream pytest update to python-test-last
This is a squash commit, it contains:
* Reflect upstream pytest update to python-test-last
* Update CHANGELOG.develop
2020-04-16 23:37:25 +02:00
Didier A b5eea24926 Modified Clojure layer's major leader binding sl to be smarter and find the associated repl when in a non cider repl buffer and clear it, instead of throwing an exception, which is what it currently did. 2020-04-16 23:06:37 +02:00
Matt Kramer d95d41f55b [julia] Fix inconsistencies in backend configuration 2020-04-14 16:23:17 +02:00
Robert O'Connor 50921702a9 [markdown] Add support for mdx files
Closes #11288
2020-04-12 08:47:29 +02:00
Ivan Yonchovski c3f13d0391 Removed company-lsp in favour of company-capf
- Also removed some cquery artifacts which accidentally ended up in this PR
instead of in https://github.com/syl20bnr/spacemacs/pull/13446
2020-04-04 08:24:44 +02:00
emacspace 465231113e documentation formatting: Fri Apr 3 16:07:25 UTC 2020 2020-04-03 19:22:35 +02:00
Rodolfo Hansen 7854e57efb
Add support for DAP and lsp-treeview in scala layer
This is squash commit including below commits:

* Add support for DAP and lsp-treeview in scala layer
* Address notes from code review.
2020-04-03 18:00:45 +02:00
Ivan Yonchovski c0fc37fe9d Remove cquery backend
- it is no longer supported and it is causing troubles.
2020-04-03 17:38:52 +02:00
dickmao 2759bce3de
Revert "[ipython] Fix mode name, and remove unmaintainable code"
As discussed at length in #13392, the primary developer of EIN insists
on updating the spacemacs bindings to avoid several-iterations stale commands of
dubious functionality (in particular, multi-worksheet commands).

As the transient state docstring must be "mated" to the updated bindings, he prefers
not having to manually curate it, and exhorts the return of the
automated docstring.  He doesn't insist on it, though, like the above.

bind-map.el counterfeits ein:notebook-mode

bind-map replaces on the `minor-mode-map-alist` the keymap for
ein:notebook-mode with the evilified map, thus making the original
ein:notebook-mode-map inaccessible.

This is might be intentional as one wonders whether having active both the
original keymap and the evilified keymap makes sense.

In EIN's case, yes, we really want the original keymap, e.g., C-c C-c
to execute, to work.  Otherwise C-c C-c defaults to running a python
shell via the python-mode-map, which is really not what we want.
2020-03-31 20:30:25 +02:00
wangtianshu a47e783967
Replace org-ref-helm-insert-cite-link with org-ref-insert-link 2020-03-28 20:10:51 +01:00
emacspace 14881cac15
documentation formatting: Fri Mar 27 21:25:53 UTC 2020 2020-03-27 23:03:53 +01:00
Maximilian Wolff 9bd9151c7a
[go] Load dap when lsp is enabled
Go layer now supports dap, therefore when lsp is selected the layer
will load dap which in turn will load lsp to enable debugging capabilities
for all lsp users.
2020-03-27 21:06:48 +01:00
Ljupcho Kotev e4eafe8324
Add dap-go integration 2020-03-27 21:05:55 +01:00
John Practicalli Stevenson 587ae8ebac
[clojure] Pretty print evaluation keybindings
Show results of evaluating Clojure code in the same format they would be written
in the source code.  This is especially useful for results that are
collections and nested collections.

Pretty print results as a comment.
2020-03-27 21:02:06 +01:00
lcos77 d7868dae22
[ipython] Fix mode name, and remove unmaintainable code
1. Previously, the code had references to ein:notebook-mode which doesn't seem
to work (anymore), so I changed these references to ein:notebook.
2. The previous code had a big convoluted function that produced the
doc-string and that was difficult to read that depended on some other
smaller functions, though not enough of them to make the code
sufficiently modular, and therefore, it wasn't very maintainable.
Besides, when I tried the previous version with the name of the mode fixed,
spacemacs hung for a long time -- it's a mystery whether spacemacs would
have continued normally if I had waited long enough. Therefore I replaced
the doc-string with a hard coded one.
3. I added some keybindings from tkamat's fork to the code for I didn't see
a good reason not to
4. I removed the cl- prefix from "second" and "mapcan", because cl is a
deprecated package. However, I'm afraid the names without the prefix might
end up being unrecognized by previous versions of emacs.
2020-03-21 21:56:38 +01:00
Maximilian Wolff dc0a1246cc
[scala] Fix implicit loading of lsp layer 2020-03-15 21:03:19 +01:00
emacspace 0cee84f2bb documentation formatting: Fri Mar 13 07:13:20 UTC 2020 2020-03-13 08:19:39 +01:00
Maximilian Wolff 1f2dfb2a67
[scala] Make ensime still working for old configs 2020-03-13 08:10:59 +01:00
Maximilian Wolff 437aa08ef9
[javascript] Fix broken link to tide layer 2020-03-13 00:30:03 +01:00
Maximilian Wolff 1e5cdfeedc
[scala] Avoid depending on abandoned ensime backend
Ensime seems to be finally dead, as ensime-mode is not longer
available on melpa. The same applies to ob-scala the package
which delivered scala support for org babel.

I have changed the layers default to metals and took care that
ensime is not tried to be installed until it is really selected
as a package.

In addition I have also fixed some smaller issues in the layer
which caused ensime specific settings to be forced even when
metals was selected as a backend.

I have also removed the not longer existing org-babel support
for scala as it requires ob-scala which in turn is based on ensime.

See https://github.com/hvesalai/emacs-scala-mode/issues/155 for details.
2020-03-12 23:59:31 +01:00
Maximilian Wolff 5e4b9b8c9b
[python] Add additional dependencies for pyls 2020-03-12 22:09:42 +01:00
jr0cket af2d7e320e
[clojure] keybindings for browsing clojure specs
Browse a specific clojure spec or browse all specs in a project.
2020-03-12 20:54:09 +01:00
Maximilian Wolff f971ee7120
[typescript] Require tide layer as it is used as formatter by default
I have also updated the installation instructions as tsserver is not
longer available as single executable on npm. Also I've made sure that
modes register for tide backend only if it is really intended to.
2020-03-08 13:05:31 +01:00
Thanh Vuong 97724081bc
Tide layer
Allows use of standalone typescript server for js/ts development
Co-Authored-By: Maximilian Wolff <smile13241324@gmail.com>
2020-03-08 12:29:04 +01:00
dickmao 72ea04946a
[ipython-notebook] further reduce maintenance
update CHANGELOG.develop
+lang/ipython-notebook further reduce maintenance
Remove unmaintained ob-ipython in favor of maintained ob-ein.
reinstate gj gk
reinstate ipython-notebook transient with autogen doc
2020-03-08 12:17:41 +01:00
dickmao e0aee15544
Bring ipython-notebook up to date. 2020-03-01 20:36:39 +01:00
Daniel Molina 09a9273e22
[julia] Remove warning about LanguageServer.jl not working in 1.0
Remove warning indicating that LanguageServer.jl is not working in
Julia version 1.0, because it was updated and that problem was fixed.
2020-03-01 00:22:14 +01:00
Lucius Hu 82e5387cd9
rust: Updated README for external dependencies
Instructoins on the following external dependencies required by certain
functions are added/updated to the README file:
- `cargo-edit`
- `cargo-audit`
- `rustfmt`
- `clippy`

Signed-off-by: Lucius Hu <lebensterben@users.noreply.github.com>
2020-03-01 00:16:35 +01:00
jr0cket 2a17228ef8
[clojure] Add goto end of line eval sexp
Clojure (CIDER) is missing the incredibly useful function that jumps to the end
of the line and evaluates the last s-expression.

This function is in Emacs Lisp major mode under `SPC m e $` and `SPC m e l`

The function `spacemacs/cider-eval-sexp-end-of-line` is a copy of
`lisp-state-eval-end-of-line` with the last line replaced to call the equivalent
cider function, `cider-eval-last-sexp`.

The same keybindings are added to the Clojure layer as used for elisp.

The keybindings follow the Spacemacs convention for evaluation, as defined in
https://github.com/syl20bnr/spacemacs/blob/master/doc/CONVENTIONS.org#evaluation

Resolves #4124
2020-03-01 00:14:32 +01:00
Carl Flippin c71c84a1d6
Update scheme docs to note the need for srfi-18 2020-03-01 00:05:32 +01:00
emacspace 7536239f9e
documentation formatting: Wed Feb 26 16:43:02 UTC 2020 2020-02-26 19:14:35 +01:00
Lucius Hu 70efaaae59
[rust] Added key bindings for cargo-edit, cargo-audit and Clippy
This is a squashed commit it contains:
- Added new sections on `cargo-edit`, `cargo-audit`, and `Clippy`,
which are used for several key-bindings in this layer.
- Re-ordered the `Key bindings` section, added entries for new bidings,
and improved description.
- ~SPC m c a~ for =cargo add=
- ~SPC m c r~ for =cargo rm=
- ~SPC m c U~ for =cargo upgrade=
- ~SPC m c A~ for =cargo audit=
- ~SPC m c X~ is for =cargo run --bin= now, instead of =cargo run --example=,
which is bound to ~SPC m c E~
2020-02-26 16:40:12 +00:00
Maximilian Wolff 5af37b3165
[c-c++] Fix wrong variable name in documentation 2020-02-23 10:05:22 +00:00
emacspace 546f626be9
documentation formatting: Sat Feb 22 10:39:46 UTC 2020 2020-02-22 11:44:35 +01:00
duianto dd8e611158
Replace obsolete lsp-prefer-flymake with lsp-diagnostic-package 2020-02-21 23:19:20 +01:00
Maximilian Wolff f03392573a
[javascript] Fix another broken link in the documentation 2020-02-20 23:55:42 +01:00
Maximilian Wolff 58f927714b
[javascript] Fix invalid link which broke doc generation 2020-02-20 23:42:20 +01:00
Maximilian Wolff 0bcfec3afb
[restructuredtext] Disable not working not maintained packages
This layer supported the very old linum and the non working
auto-complete-rst package. The later is not longer maintained
and does not work with up-to-date releases of sphinx causing

To fix the issue I have disabled `linum` and `auto-complete-rst`.
2020-02-20 23:30:59 +01:00
Maximilian Wolff 903ad8a8e1
[sql] Revise sql-layer
Add installation instruction for `sqlfmt` executable
Adapt documentation to be more like the other layers
Replace wrong default sqlfmt parameter -u with --use-spaces
Make error buffers be reused by default to reduce memory consumption
Change prefix for repl keybindings to be conform with the other layers
Remove obsolete progn statement
2020-02-20 21:36:42 +01:00
Cate B c001159718
[sql] Add sqlfmt-region command, bindings; enhance customize options
Enhances `sqlfmt` support in SQL layer.

`sqlfmt` was only being applied against the whole buffer, and did not allow
invocation against a specific region in the buffer. `sqlfmt` customize options
were not included under the `sql` group. It was not possible to control if
`sqlfmt` reused an existing error buffer or generated new ones.

- Added `sqlfmt-region` interactive command and binding under `sql-mode` keymap
  - `sqlfmt-buffer` calls into `sqlfmt-region` with `(point-min)` and
    `(point-max`)

- Added `sqlfmt` customize group as child to `sql` customize group

- Added `sqlfmt-reuse-error-buffer` option

- Updated `sql` layer documentation to reflect changes
2020-02-20 21:10:34 +01:00
duianto 0a06c7ca6b Fix filenames in layer file headers
Also fixed the groovy/funcs.el header which said: Java
2020-02-20 00:07:30 +01:00
Koray Al fbe6b907e2
[#13243] Fix keybinding issues with dropped notebook-multilang-mode
Also removed `ein:company-backend` during initialization since it does not exist
anymore.
2020-02-18 21:02:39 +01:00
Ignat Insarov d44522ee1d
Add a new binding for the Coq layer.
This binding toggles the electric terminator setting of Proof General.

Also describe the new binding in the README and add a note to the change
log.
2020-02-16 08:48:11 +00:00
Matthew Boston a844c06192 update link to plantuml reference guide 2020-02-15 17:19:03 +01:00
Lucius Hu 24d9c3f7ee
[rust] Add key binding to switch lsp rust server
`lsp-mode` supports two LSP server backend for Rust language, i.e.
`rls` and `rust-analyzer`.

`rust-analyzer` is experimental and lacks certain functionalities
such as `DAP` support.

`lsp-mode` provides a function `lsp-rust-switch-server` that changes
the priority of LSP server backend for *new* LSP session.

This commit adds a key binding `SPC m s s` to `lsp-rust-switch-server`.
2020-02-13 19:27:32 +00:00
Ben Swift dd9b40b235
[Markdown] add keybinding for markdown-insert-kbd
There's no keybinding for markdown-insert-kbd alongside all the other
markdown-insert-* keybindings, this patch adds one using the same
convention (specifically xk).
2020-02-13 18:35:07 +00:00
Maximilian Wolff c9c5637ac6
[Haskell] Make installation instructions for hie more clear 2020-02-10 20:14:11 +00:00
Jee L 36ad2b28d2
[Python][LSP] Change mspyls publish directory according to system type 2020-02-10 19:45:46 +00:00
Maximilian Wolff 539e954227
Fix R lsp company setup
Before ess layer was always using non lsp completions, this I have
corrected by conditionally set company-lsp or the standard ess backends.
2020-02-08 09:00:43 +00:00
Seong Yong-ju ee5a5e8b73
Add LSP backend support for R
Change some leader keys for Julia, R, Inferior. Remove noweb bindings for Julia
and R since it no longer works. Add LSP backend support for R.
2020-02-08 08:02:46 +00:00
jr0cket 79842c89cf [Clojure] Sesman and missing eval / format keybindings
Added keybindings for the Sesman REPL session management commands to the Clojure
layer, following the Spacemacs keybinding conventions.
https://docs.cider.mx/cider/0.23/usage/managing_connections.html

Sesman has been a part of CIDER for many versions now and provides session
management for nREPL connections (in fact any connections).

Sesman keybinds are placed in the `SPC m c` menu, providing a cleaner separation
between sending code to the repl and session management.

See issue #12593 and PR #13140 which covers the background for the design of
these additional keybindings.

Formatting the region and defun keybinds have been added, along with formatting
for edn files.  Moved to `=` menu to match Spacemacs convention.

Evaluation up to point keybinding has also been added.

Documentation in the README has been updated to complete the description of the
existing Clojure layer, as well as including details specific to the new
keybindings.
2020-02-01 15:33:04 -05:00
Jonathan del Strother a549b9f3b6
Remove flow-type layer and add suggestions to use flow in javascript layer
It's largely (completely?) obsolete due to lsp support in the javascript layer
2020-02-01 09:33:46 +00:00
duianto a771cca7ae
[haskell] Fix REPL stuck snippets
The snippets seem to have been accidentally changed in this commit:
a2de9a63af (diff-75e0388987cdf040d82762426e40e5a5R434)

where other instances of checking for a layer, were changed to check for a
package.

It doesn't work to check if the haskell package is used in the user config
section, because the haskell package hasn't loaded yet.

Reverting it to check if the haskell layer is used works.
2020-02-01 08:09:19 +00:00
Keiichi Watanabe 0e48bac272 rust: Fix a broken code block in README 2020-01-31 23:23:53 +09:00
emacspace 75cfd40d3c
documentation formatting: Mon Jan 27 22:19:54 UTC 2020 2020-01-27 23:35:09 +01:00
Hideaki Kawai 08442790cc [purescript] Add to spacemacs-indent-sensitive-modes 2020-01-26 17:59:20 +01:00
syl20bnr 52d1b0f323 Revert "[clojure] Add sesman keybindings"
This breaks Spacemacs convention:
https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#repls

Need to add session management under an unused prefix, I suggest SPC m S

This reverts commit e47494229b.
2020-01-25 10:17:08 -05:00
Maximilian Wolff 23056c9882
Revert "Revise python layer"
Removing the getter function for python-backend had
unintended side effects. This should restore the old
behaviour.
2020-01-23 23:15:28 +01:00
emacspace ff5b3ae291 documentation formatting: Thu Jan 23 11:14:51 UTC 2020 2020-01-23 12:18:03 +01:00
duianto 0b023bd764 [clojure] Fix typos 2020-01-23 12:10:37 +01:00
jr0cket e47494229b [clojure] Add sesman keybindings
Add Spacemacs keybindings to the Clojure layer for all the sesman functions.

Sesman has been a part of CIDER for many versions now and provides session
management for nREPL connections (in fact any connections).

Several keybindings relating to the use of a specific repl been migrated the
`e` evaluation menu and `es` sent-to-repl-buffer sub-menu, providing a cleaner
separation between repl connection and session management and interacting with a
specific repl.

Updated layer documentation and keybindings in README.org file.
Added changes to CHANGELOG.develop

Resolves #12593
2020-01-23 11:43:38 +01:00
Lucius Hu d7e9a803fd rust: Guides to use rust-analyzer; fix link 2020-01-20 15:59:28 +01:00
wangtianshu 235ed43010 Fix ~SPC m ;~ binding 2020-01-20 15:41:20 +01:00
Joscha 099ead9b6a [haskell] Add history key bindings to haskell ghci repl
This commit adds the C-j, C-k and C-l bindings to haskell's ghci repl, according
to spacemacs conventions.
2020-01-20 13:23:44 +01:00
madand e1ad035513 Improve rainbow-identifiers experience for Elisp and CL
Make rainbow-identifiers not colorize special operators and macros, so they
always visually stand out. Rationale behind this change is that special
operators and macros in Lisp may be considered "syntax" elements, so it makes
sense to have them visually distinguished at all times.
2020-01-20 11:37:20 +01:00
Zach Latta 1d2a1fa6e4 Fix capitalization of GitHub
Change instances of "Github" to "GitHub".
2020-01-20 09:14:12 +01:00
Mpho Jele 593d4446bf [html] contract statement while staying on beginning of line
Moved cursor to beginning of line after calling:
spacemacs/css-contract-statement (SPC m z c)
2020-01-11 16:20:52 +01:00
git@f-t.me a657edf92e [ipython] added package dependencies for ein 2020-01-08 17:58:26 +01:00
git@f-t.me 3ac35a1e27 [haskell] keybinding for interactive repl switch 2020-01-08 17:58:26 +01:00
git@f-t.me 25a7111ee1 [latex] added ConTeXt mode to the key bindings 2020-01-08 17:58:26 +01:00
ft@berkeley 1abcfb5452 [ess] evilified states for ess help buffer 2020-01-08 17:58:26 +01:00
duianto 7636811b73 [javascript][doc] Add missing #+END_SCR 2020-01-04 16:01:31 +01:00
duianto d2d5a649ab [java] Add SPC m a prefix name: actionable 2020-01-04 15:50:22 +01:00
duianto 4c7e1954c5 [java] Fix key binding: SPC m m t C-a
SPC m m t C-a was bound to SPC m m t C - a
2020-01-04 15:47:24 +01:00
Ivan Yonchovski 3771759ddb [java][lsp] Minor cleanup in lsp-java
- Fixed setting dap-java shortcuts - ATM the shortcuts were not enabled due to
the fact that dap-mode configuration was overriding them since it was running
after this piece of code
- removed configuration code about lsp-java since it was either about
missing properties or about setting defaults already set by lsp-mode/lsp-java
(e. g. lsp-eldoc-render-all is now nil by default)
2020-01-04 12:27:11 +01:00
William Blasko a337d55102 Add LSP docs for JavasScript to README.org 2020-01-04 09:23:04 +01:00
Maximilian Wolff 6784a0e0f8
Tag uncategorized layers 2020-01-02 22:42:13 +01:00
pancho horrillo 1fa28b345c [go] Update build instructions for golangci-lint
See #10825.

Try to match more closely the build process followed upstream:

- Force module build mode, which builds the latest stable release (not master),
and takes care of module replacements.

- Disable cgo.

- The -trimpath argument to go get requires go >= 1.13, which is also needed
because go <= 1.12 has a bug that causes problems with golangci-lint², as
explained in the golangci-lint installation instructions².

Note that the only thing that is missing to exactly match the upstream build
process is the addition of some -X variables, which only affect the data
reported by golangci-lint version.

¹: https://github.com/golang/go/issues/29612
²: https://github.com/golangci/golangci-lint#install

Thanks to @dbriemann and @seriousben for reporting and clarifying this issue!
2019-12-28 20:29:01 +01:00
duianto 010ede8c30 [rust] Update backend
Refactor duplicate "lsp layer not installed ..." strings, into a function.
Add line breaks to limit lines to 80 chars.
2019-12-28 16:17:51 +01:00
Grant Shangreaux 2e30b9bb09 [rust] remove compilation buffer string match on rust-quick-run 2019-12-28 15:44:42 +01:00
JAremko 9b83609370 Add flycheck-elsa 2019-12-27 12:24:56 +02:00
emacspace 679aeb99d9 documentation formatting: Tue Dec 24 10:03:00 UTC 2019 2019-12-24 11:32:52 +01:00
Maximilian Wolff 97c746f51d
[dart] Make doc show lsp versions of flutter and format on save feature 2019-12-23 20:43:50 +00:00
Maximilian Wolff 0dc0820d62
Make rust-quick-run properly remove temp compilation function 2019-12-23 14:28:25 +01:00
Grant Shangreaux 59976dc688
Fix: broken rust-quick-run command
removing the `lexical-let` caused the intended closure to be invalid. the
filename being compiled was nil when the compilation-finish-function was
run.

this adds a special var to hold the temp file being compiled instead, and
tries to narrow down the compilation-finish-function to only run when the
compilation buffer includes the "rustc -o /tmp" regexp
2019-12-23 14:22:32 +01:00
Maximilian Wolff 0c774416d7
Make ruby layer load dap layer when lsp is used as backend
Before the ruby layer was only requiring standalone lsp layer,
however with the latest changes dap support has been added
therefore I have updated the layer file to require the full
dap layer instead which in turn requires the lsp layer.
2019-12-21 23:51:13 +01:00
Seong Yong-ju 82d4df4b0f
Fix key bindings in Ruby layer 2019-12-21 23:36:36 +01:00
Maximilian Wolff ffccb17426
Revise dart layer
I have:
- Revised the documentation to be more clear about the possible backends
- Simplified the lsp setup code
- Removed redundant loading of company-lsp (is done by lsp-mode already)
- Made lsp the default backend for dart and mentioned that the analyser is
deprecated
2019-12-20 23:56:10 +01:00
Takeshi Tsukamoto ffd8ad2410
Rework dart layer lsp integration 2019-12-20 19:32:36 +01:00
Maximilian Wolff beff6ec914
Replace lexical-let with normal let
An older PR reintroduced a dependency on lexical let.
There is no proper replacement for this in cl-lib therefore
I have changed it to a normal let which works the same
way.

In future we should think of making the entire file lexically bound
and only mark the exceptions to be dynamically bound.
2019-12-20 10:24:17 +01:00
Maximilian Wolff 67f62c6fd3
Improve documentation for flow-type a bit 2019-12-20 10:08:35 +01:00
JAremko 701c449f64 doc fixes 2019-12-20 01:21:01 +02:00
emacspace 5038781428 documentation formatting: Wed Dec 18 14:21:30 UTC 2019 2019-12-20 00:46:43 +02:00
Maximilian Wolff 6f029cc057
Integrate flow-js2-mode into flow-type layer
I have tried to integrate flow-js2-mode into flow-type in addition
I have fixed a couple of issues in the layer and replaced obsolete
react-mode bindings with rjsx-mode bindings.
2019-12-16 14:33:58 +01:00
Maximilian Wolff c6d764e041
Revise flow-type layer
Revise documentation to be spacemacs conform
Reformat code
Make layer correctly declare a dependency on nodejs layer
2019-12-16 13:23:10 +01:00
Mike Holm 06c321d4ac
add jdelStrother's flow-type layer with some changes 2019-12-16 12:46:06 +01:00
Maximilian Wolff fabbb5bf73
Update changelog and format new code to be more elisp like 2019-12-15 22:27:24 +00:00
Dietrich Daroch 3d0661a38d
Make rust-quick-run shell agnostic
This allows to use quick run when the default shell is not bash-compatible.

I also fixed the output name by using a digest of the filename rather
than always a new file as I noted that my /tmp got cluttered with 4MiB
files pretty quickly, and I was just using a hello-world like file.
2019-12-15 22:22:36 +00:00
emacspace eeff4c1420
documentation formatting: Sun Dec 15 21:56:35 UTC 2019 2019-12-15 22:03:17 +00:00
emacspace d07e7ba60f
documentation formatting: Sun Dec 15 20:56:12 UTC 2019 2019-12-15 21:42:47 +00:00
Maximilian Wolff 2c986df67f
Revise yaml layer
Simplify lsp setup
Implicitly load lsp layer if the lsp backend has been activated in the layer
Add missing changelog entry
2019-12-15 21:36:43 +00:00
Seong Yong-ju d3fda25e41
Add LSP backend support for YAML 2019-12-15 20:58:26 +00:00
Saulius Menkevičius c28cfcff4a
csharp: add support for the alternative `lsp' backend 2019-12-15 20:35:00 +00:00
zhuoyikang 35de1f6db0
[go] Add missing linters to flycheck-disabled-checkers
I have added go-staticcheck and go-unconvert to list of
disabled checkers.
2019-12-15 15:28:53 +01:00
Maximilian Wolff 6e1c8e6092
Remove obsolete requirement for lsp layer from python layer 2019-12-15 14:56:46 +01:00
emacspace a77f8f41f5
documentation formatting: Sun Dec 15 10:06:01 UTC 2019 2019-12-15 14:43:43 +01:00
Maximilian Wolff 9720127282
Revise python layer
Make LSP be used as default backend
Request DAP layer when LSP is used as backend
Update README.org with latest pyls package dependencies
Remove obsolete getter functions
2019-12-15 14:29:33 +01:00
lin.sun 7f6b4205cb
Automatically choose the `lsp' as python-formatter backend when lsp-layer is enabled. 2019-12-15 14:29:33 +01:00
Max Willsey e9ac45af30 [latex] Fix README to say auto-fill on by default. 2019-12-15 11:01:17 +01:00
Nicholas Hurden 9730e16463
[scala] Update metals binary version in README
Update the version of metals referenced in the metals installation
instructions, so that an old version of the metals binary doesn't get installed
by accident.
2019-12-14 20:52:50 +00:00
ajbond e919ba7e07
Fix clang-format-on-save 2019-12-14 20:39:35 +00:00
kimr da80634370
converted cl to cl-lib 2019-12-14 20:20:51 +00:00
kimr f86d7993bb
removed custom location for counsel-css
The URL is the same as default one at melpa.
2019-12-14 20:16:21 +00:00