Commit graph

500 commits

Author SHA1 Message Date
Shunya Ishii 05bc20d806
[terraform] Add LSP support for terraform-lsp 2020-06-22 20:15:12 +02:00
emacspace 78176ff6fa documentation formatting: Sat Jun 20 21:17:28 UTC 2020 2020-06-20 23:38:28 +02:00
Maximilian Wolff a51397b3ce
[meson] Rebind lookup-doc-at-point to major mode specific binding 2020-06-20 21:49:23 +02:00
Matthew Leach 421fca3cea
[meson] add layer to +tools/
Add a new meson layer to the +tools layer set.
This basic layer is a simple wrapper around meson mode.
2020-06-20 21:22:57 +02:00
Maximilian Wolff eab3081388
[CFEngine] Make mustache-mode auto-mode-alist binding during init
If this is not done opening a .mustache file would not
load mustache-mode if it has not been activated manually
before.
2020-06-07 19:32:15 +02:00
Nick Anderson f384fed4b4 Added mustache-mode to CFEngine layer
Mustache is the preferred templating in modern versions of CFEngine and it's
nice to have syntax highlighting when working with templates.

Now, when the CFEngine layer is in use, files ending in .mustache will be opened
in mustache-mode.
2020-06-07 19:28:23 +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 04f2a5e58b
[dap] Fix mode specific prefixes 2020-05-16 23:40:38 +02:00
duianto a0b099b54e [spacemacs-base] Fix void layout local variable and function
The variable: layouts-enable-local-variables
and function: spacemacs/make-variable-layout-local
are defined in the layer: spacemacs-layouts

But the spacemacs-layouts layer isn't loaded
in the distribution: spacemacs-base
2020-05-16 13:44:23 +02:00
emacspace 20881cafee
documentation formatting: Fri May 15 21:10:12 UTC 2020 2020-05-15 23:57:28 +02:00
WH b81475a45c
[doc] Update latest libvterm install guide
Install ubuntu(18.04) libvterm-dev will cause compilation error,
update latest doc from emacs-libvterm, it shall download
latest libvterm automatically.
2020-05-15 22:50:46 +02:00
Maximilian Wolff d314cc7eef
Make auto-complete more configurable and efficient for lsp
To optimise performance of lsp mode in emacs 27 and above
I have introduced a new dotfile variable to define the size
of data read from external processes. The default I have
set to the recommended setting from lsp-mode.

In addition I have introduced a new layer variable for
auto-complete-layer to define the minimum prefix length.

I have also added instructions to auto-complete's readme
how to set these variables to the recommended settings
for lsp-mode.

Changes inspired from #13507
2020-05-15 22:22:28 +02:00
CeleritasCelery fef3187337 fixed window-live issue 2020-05-11 14:49:18 +02:00
CeleritasCelery 1c47f3e8f4 Make pop-shell layout local 2020-05-11 14:49:18 +02:00
Cormac Cannon 097a1fc42d Added keybinding to focus the imenu-list sidebar, creating if necessary.
Bound under ~spc b i~.
Moved existing toggle binding under UI toggle prefix: ~spc T i~
Bindings now using spacebind macro.
2020-05-09 00:08:33 +02:00
Ivan Yonchovski 25e9635402 [fasd] Use helm-fasd in fasd layer when helm is present
- Underestimated but very handy package.
2020-05-08 22:59:36 +02:00
Xing GUO d4221c3aa6 [Debug][Doc] Fix broken link in documentation. 2020-05-06 23:10:34 +02:00
Ivan Yonchovski e5f4db6ebe [dap] Add dap-ui-controls-mode integration for dap layer 2020-04-20 19:16:19 +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
Maximilian Wolff d36db7920f
[ranger] Make layer not use two different application level bindings
Ranger did register two application layer level bindings to call ranger
or deer. This has now been moved to its own application level binding
spc a r.
2020-04-18 20:57:17 +02:00
Maximilian Wolff 7a7c892dde
[geolocation] Make layer not longer use two global bindings
This layer was using two global bindings SPC a w and SPC a W.

As the available keybindings in that sub-menu are dwindling
I have moved the bindings to SPC a w w and SPC a w W instead.
2020-04-18 00:43:13 +02:00
Maximilian Wolff acdd37def1
[pass] Move global bindings to SPC a a instead of SPC A p
Also make layer work properly in non evil mode by using
spacemacs macros instead of evil primitives.
2020-04-18 00:29:58 +02:00
emacspace d6ad9ec120 documentation formatting: Thu Apr 16 21:34:10 UTC 2020 2020-04-16 23:41:56 +02:00
Ivan Yonchovski 6fbcef0648 [lsp] Use lsp-ivy when ivy layer is present 2020-04-16 21:53:31 +02:00
Ivan Yonchovski 8fe8f76cd6 [dap] Provide global keybindings for dap-mode
- added the same bindings you normally have under `SPC m d` under `SPC d`
similar to what Debug layer does. Most of the dap-bindings are not content
sensitive(e. g. rerun last debug session) and it doesn't make sense to restrict
them only to particular major modes.
- Moved `spacemacs/browse-docs-online-at-point` from `SPC d b` to `SPC h b d` to
avoid collisions.
2020-04-16 21:52:18 +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
Benjamin Hipple 2d7480f677
[chrome] Add link to more details about chrome jquery workaround in docs
We probably want to update the `markdown` layer to be able to do this directly
with `firefox`; having to kill and restart all of your `chrome` processes before
using `flymd` is a little clunky! It's nice that we have the upstream workaround
inlined in spacemacs, though.
2020-03-29 21:51:58 +02:00
emacspace ff4a528bb4
documentation formatting: Sat Mar 21 19:36:41 UTC 2020 2020-03-21 20:57:20 +01:00
Maximilian Wolff 0438c1ca5d
[kubernetes] Add tramp support 2020-03-17 20:41:11 +01:00
emacspace 0cee84f2bb documentation formatting: Fri Mar 13 07:13:20 UTC 2020 2020-03-13 08:19:39 +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
Maximilian Wolff fee257b46e
[sphinx] Restore document generation/cleaning feature and document config vars
I have noticed that most commands from the sphinx layer stopped working while
I was working on the restructured text layer.

This commit tries to jurry rig this package back into a working state.
It does not solve all issues we have in this package to do so a major
rewrite would be in order.

I have fixed:
- An endless loop caused by a failing search for a conf.py
- Fixed all compile commands
- Add a more detailed description of the meaning of the necessary config
variables in the doc.
2020-02-22 11:35:59 +01:00
Maximilian Wolff 4110b9d634
[sphinx] Fix typo in documentation 2020-02-22 00:47:37 +01:00
Maximilian Wolff 83b65be0b9
[sphinx] Improve documentation and add proper command prefixes 2020-02-22 00:45:20 +01:00
duianto dd8e611158
Replace obsolete lsp-prefer-flymake with lsp-diagnostic-package 2020-02-21 23:19:20 +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
Steven Allen 36230346ea [eshell] Skip prompt text on insert
When entering insert mode, don't start editing in the middle of the prompt text.

That is, given:

~/foo/bar> some command
  ^            ^       ^
  A            B       C

Cursor A will jump to position C but cursor B won't.

Edit by duianto
This also stops the cursor from jumping to the end of the last line,
when entering insert state, from all but the last line in a multi line.

Example:
~/foo/bar>(+
1{cursor in normal state on the 1}
2)

Entering insert state: i

Before:
~/foo/bar>(+
1
2){cursor in insert state after the close parenthesis}

After:
~/foo/bar>(+
{cursor in insert state before the 1}1
2)
2020-02-14 13:09:29 +01:00
Steven Allen 2088eb67a9
[lsp] set jump handler per lsp-managed buffer
Previously, this would try to add the lsp jump handler to the mode's jump
handler list every time lsp started managing a buffer of that mode. Now, we only
use the lsp jump handler for buffers managed by lsp.
2020-02-08 09:08:37 +00:00
emacspace 75cfd40d3c
documentation formatting: Mon Jan 27 22:19:54 UTC 2020 2020-01-27 23:35:09 +01:00
Maximilian Wolff f4051a2bbf
[elasticsearch] Revise documentation and add missing changelog entry 2020-01-27 23:03:02 +01:00
Jean Rigotti 7f42e0f856
Add elasticsearch layer 2020-01-27 22:29:47 +01:00
duianto 019b381d0d [xclipboard] Backend formatting
Joined trailing parentheses.
Added line breaks to keep lines under 80 chars.
2020-01-13 13:05:09 +01:00
lipengcheng 591ab10be2 [xclipboard] Add var for custom xclipboard command 2020-01-13 12:47:17 +01:00
emacspace 9d379e4ff4
documentation formatting: Thu Jan 2 22:13:38 UTC 2020 2020-01-02 23:35:41 +01:00
Maximilian Wolff 728a3f56e2
Try to correctly tag kubernetes and vue layers 2020-01-02 22:56:00 +01:00
Maximilian Wolff 6784a0e0f8
Tag uncategorized layers 2020-01-02 22:42:13 +01:00
duianto 53c1059582 [lsp] Change ecase to cl-ecase 2019-12-23 16:38:07 +01:00
Nikita Leshenko 0417379a2f
shell: Wrap terminal-here in use-package
Introduced in PR #11949, terminal-here wasn't wrapped in `use-package'. This
made it impossible to use `spacemacs|use-package-add-hook' to customize it.
2019-12-20 10:09:27 +01:00
Nikita Leshenko aaa11a6823 Convert case' to cl-case' to fix cl-lib related errors
Broken since PR #13059
2019-12-18 12:08:05 +01:00