Commit graph

1957 commits

Author SHA1 Message Date
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