Commit graph

11004 commits

Author SHA1 Message Date
Maximilian Wolff
76301564c5
[cmake] Add lsp server support 2020-08-14 00:29:39 +02:00
Codruț Constantin Gușoi
3216aedb27 Better UX for opening and copying links 2020-08-13 22:17:36 +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
ca2cdd0fcc
[core] Fix ugly comment formating
In my last commit I have messed up the comment
formats so that they not longer show correctly
in help buffers. This fixes it.
2020-08-11 00:16:09 +02:00
Maximilian Wolff
793898f818
[core] Move snoopy mode to spacemacs-editing layer 2020-08-11 00:05:40 +02:00
Tim Jäger
aa6ab15776
Add layer for snoopy-mode 2020-08-10 12:59:46 +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
Leandro Doctors
641cb39afa Make Colemak layout more ergonomic 2020-08-09 11:07:59 +02:00
wang-d
4daa844574
Add more slack keybindings (#13806)
* alphabetize slack keybindings

Alphabetization makes it easier...
- to read the list
- to add new keybindings (because there's an obvious place)
- to merge this file (because insertions won't all happen at the end)

* Add more slack keybindings

T 'slack-all-threads
u 'slack-all-unreads

* Update documentation and changelog for slack keybindings

Also alphabetized the keybindings in the slack README

Co-authored-by: Damon Wang <damon.wang@gmail.com>
2020-08-09 10:51:12 +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
JAremko
ed021a957f Remove changelog CI check 2020-08-08 05:22:33 +03:00
emacspace
bc33fc46fc documentation formatting: Fri Aug 7 20:15:11 UTC 2020 2020-08-07 22:29:21 +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
Keith Pinson
286c71bd40 feat: mnemonic, ergonomic keybindings for next-error, previous-error
When Spacemacs' fancy logic works well, it is breathtaking. Sometimes, however,
you may need a way to reach in for something a little more raw: in this case,
going straight to `next-error` rather than `spacemacs/next-error`.

I chose `cn`/`cN` because:

* They seem to be unused thus far
* It makes sense to put these keybinding under compile, since they are
  associated with Emac's base functionality for compilation.
* The analogous Ex commands are `:cn` and `:cN`. They work this way even in
  Spacemacs (but I am trying to wean myself off Ex mode, since I see the
  Spacemacs keybindings as far superior most scenarios).
* `cp` was already taken, so `cN` had to be used for going back.

Fixes #13815.
2020-08-07 22:21:47 +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
Jonas Strømsodd
47412d5bf7 Add support for enabling all-the-icons theme in treemacs layer 2020-08-07 13:52:31 +02:00
Maximilian Wolff
5e7f2d1b43
[nim] Add experimental lsp support 2020-08-07 13:32:45 +02:00
emacspace
a76bda6a54 documentation formatting: Wed Aug 5 12:35:48 UTC 2020 2020-08-05 14:45:34 +02:00
Langston Barrett
af6b1479f3 new layer: outshine (with outorg support)
outshine layer: Add "Features:" section to the README

outorg: use `a O` instead of `a o o` as a prefix

outshine: add transient state

outshine layer: (re)document keybindings, add imenu keybinding

outshine layer: fix outorg mode keybinding documentation

address review comments
2020-08-05 14:28:37 +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
duianto
4b7273cd09 [themes] Sort supported themes alphabetically 2020-07-21 23:29:13 +02:00
Kirill Chernyshov
9e6cfbb83e Add almost-mono-themes into core-themes-support list of aliases 2020-07-20 22:33:29 +02:00
Damon Wang
c393990452 Improve slack layer keybindings
1. Make slack-mode bindings available in slack-thread-message-buffer-mode
2. Bind : to slack-insert-emoji
2020-07-19 20:44:12 +02:00
emacspace
69ecdfe514 documentation formatting: Sat Jul 18 20:49:09 UTC 2020 2020-07-18 22:54:28 +02:00
Maximilian Wolff
e41fe49a0c
[treemacs] Fix wrong instructions to set ace mode as default action 2020-07-18 22:45:54 +02:00
duianto
b604743369 [doc] Document how to bind keys to a macro (one or more keys) 2020-07-18 22:33:11 +02:00
Maximilian Wolff
afc133d2ff
[groovy] Fix broken binding for non-lsp company backend 2020-07-18 10:07:30 +02:00
emacspace
fa991f0d62 documentation formatting: Sat Jul 18 07:52:04 UTC 2020 2020-07-18 10:01:18 +02:00
Maximilian Wolff
a45c2ce7d5
[core] Revise fixed M-x binding
After the latest change the list of bindings
has been changed to a dynamic form which
is not only slow but very hard to maintain.

I have replaced the list with the original one
and replaced the fixed line with backquote notation
to keep it static.
2020-07-18 09:56:54 +02:00
hackartist
0e3065af92
[core] M-x prefix was fixed
* Issue
* It could not correctly bind a prefix.
* where `dotspacemacs-emacs-command-key` is modified,
* it continuously binds a `M-x` prefix to `SPC`
* `SPC` always looks as `M-x`

* Solution
* `SPC`, hard coded `string`, was modified to `dotspacemacs-emacs-command-key`

* Expectation
* When a `SPC` prefix is bound, it should be displayed as the registered name.
2020-07-18 09:53:01 +02:00
Loys Ollivier
d0bfc51c7e
visual: apply ansi color only on compilation major mode
Some modes have compilation-mode as parent mode but the ansi coloring
scheme is breaking their highlighting.
i.e. https://github.com/Wilfred/ag.el/issues/124

Fix this by applying ansi-colors only when the major mode is
compilation-mode.

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2020-07-18 09:47:34 +02:00
duianto
5150ac6c50 [helm] Hide helm-ff-cache-mode mode-line indicator 2020-07-18 09:40:14 +02:00
duianto
dd397b1ad5 [semantic-web][docs] Fix layer renamed from semweb 2020-07-18 09:39:35 +02:00
Cormac Cannon
bf1ef03bda [org] Updated 'Archive subtree' command to support customisation.
Binding ~SPC m s A~ to org-archive-subtree-default rather than existing
org-archive-subtree binding.
2020-07-18 09:38:54 +02:00
Codruț Constantin Gușoi
18bd126de4 Change browse-at-remote to "SPC go" sicne it is not github specific 2020-07-18 09:37:11 +02:00
Benjamin Yang
0fe36bed57 [shell] Update vterm binding in README
Back in commit ac3752ffd, the binding for `vterm` was updated to fit in with the
rest of the `shell` layer bindings (under `SPC a t s v`).  However, the `README`
was not updated to match.  This commit updates the `README` for the `shell`
layer.

Relates to #13503.
2020-07-18 09:35:11 +02:00