Commit graph

468 commits

Author SHA1 Message Date
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
Kalle Lindqvist 1095d3b7d3
shell: enable prompt autojump when using smart-eshell 2019-12-15 22:01:41 +00:00
Seong Yong-ju d3fda25e41
Add LSP backend support for YAML 2019-12-15 20:58:26 +00:00
Maximilian Wolff d3283fe04a
Fix "d d d starts with non prefix key" warning during loading of dap 2019-12-15 14:29:34 +01:00
emacspace d18d09049d
documentation formatting: Sat Dec 14 20:26:43 UTC 2019 2019-12-14 20:56:29 +00:00
Maximilian Wolff efe39163df
Revise quickurl layer
Added undocumented keybindings to README.org
Moved bindings from top level to application specific
Fix some smaller documentation issues
Added "quickurls" file to .gitignore
2019-12-14 20:13:01 +00:00
Spenser Truex 4645430084
Add quickurl layer on SPC Q. 2019-12-14 19:59:25 +00:00
emacspace 76245081d6 documentation formatting: Mon Dec 9 21:44:48 UTC 2019 2019-12-09 23:52:24 +02:00
Maximilian Wolff 4e76cdefdf
Reformat kubernetes layer documentation 2019-12-07 00:40:24 +01:00
Maximilian Wolff 4e7a36b72e
Revise kubernetes layer
Add missing changelog entry
Replace license header with standard version
2019-12-07 00:37:13 +01:00
Matt Bray 5e7eb5d01c
Add kubernetes layer. 2019-12-07 00:28:04 +01:00
Uros Perisic 628fe9adba
Add support to start external terminal emulators in context.
Integrated terminal emulators/integrated shells get the job done for
quick-and-dirty shell commands, but a lot of people take great care to tweak
their terminal workflow exactly to their liking. This makes it possible to
switch to that workflow seamlessly, by opening their terminal emulator of
choosing in the current directory or at the project root, and even supports
working over `ssh` using `tramp`.
2019-12-06 22:21:15 +01:00
Brian Wignall 4df6c9035f
Fix typos 2019-12-05 22:23:04 +01:00
emacspace eb9de01a36
documentation formatting: Tue Dec 3 20:31:20 UTC 2019 2019-12-03 20:38:39 +00:00
Maximilian Wolff 64b607ce14
Revise docker layer
Adjust the documentation to be more clear how to activate the new lsp feature.
Simplify layer setup code.
Provide missing company-lsp integration in feature list.
Remove obsolete tests for a loaded lsp layer as the docker layer loads it
itself already.
2019-12-01 02:05:55 +01:00
Seong Yong-ju b26430df2a
Add LSP backend support for Dockerfile 2019-12-01 00:55:53 +01:00
Magnus Therning 3240c24873
Use "mgb" for jumping back
[elisp] use "mgb" for jumping back
[lsp] use "mgb"/"mGb" to jump back
[haskell] use "mgb" for jumping back
2019-11-23 21:52:13 +01:00
Sylvain Benner 6ddcf6f0a6 [c-c++] Fix typos and improve wording
Co-Authored-By: duianto <otnaiud@gmail.com>
2019-11-09 09:41:12 -05:00
syl20bnr 06708b2039 [ycmd] Remove ycmd layer (move to c-c++ layer) 2019-11-09 09:41:01 -05:00
syl20bnr d536b36d15 [c-c++] C/C++ layer refactor to support multiple backends 2019-11-09 09:40:56 -05:00
syl20bnr ab818140d0 [cmake] Remove cmake forgotten cmake config in c-c++ layer 2019-11-09 09:40:51 -05:00
emacspace c91779aff4 documentation formatting: Fri Nov 8 16:03:53 UTC 2019 2019-11-08 16:08:22 +00:00
Ag Ibragimov 08fdb02d7d [shell] Add vterm key bindings
- ~M-n~     =vterm-send-down= (next command)
- ~M-p~     =vterm-send-up=   (previous command)
- ~M-y~     =vterm-yank-pop=  (previous paste)
- ~M-/~     =vterm-send-tab=  (hippie expand)
Evil insert state:
- ~C-y~     =vterm-yank=      (paste)
Evil normal state:
- ~p~       =vterm-yank=      (paste)
- ~u~       =vterm-undo=

vterm: more keys
2019-11-06 12:01:31 +01:00
Ivan Yonchovski 06cf8e3842 lsp layer must depend on yasnippet
- if this line is missing yasnippets might not be loaded because lsp-mode might
load the snippets before the auto-completion layer kick in.
2019-11-02 13:39:48 +01:00
br3athein e528c6b038 shell: Set initial shell state better 2019-10-19 22:58:22 +02:00
smile13241324 bbe3e5bde1 [shell] Revise documentation 2019-10-19 22:34:49 +02:00
br3athein 72844d2ae9 shell: Tell vterm to respect shell-default-term-shell setting
Effectively, this forces `vterm` to spawn a shell set in a
`shell-default-term-shell` variable i/o default "/bin/bash" - just like
other shells from `shell-pop` do.
2019-10-19 22:21:05 +02:00
Miciah Masters 552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
Miciah Masters 7db8815ee5 Simplify loading logic for eshell-z
* layers/+tools/shell/packages.el (shell/init-eshell-z): Replace use of
with-eval-after-load by using use-package's :after keyword to load eshell-z
when eshell is loaded.
2019-10-13 11:15:46 +02:00
syl20bnr fdd38eec9b [shell] Add instruction to install cmake on MacOS 2019-09-30 02:29:50 -04:00
syl20bnr 996da0505f [dap] Fix errors in README.org 2019-09-30 02:25:48 -04:00
syl20bnr 584392bd92 [core] Fix layer dependencies based on layer variables
There was a edge case with the declaration of the `lsp` layer in `layers.el`
files.
The `hy` layer depends on the `python` layer which in turn depends on the `lsp`
layer if and only if the `python-backend` layer variable is set to `lsp`.
When the `hy` layer was declared first then it declares the `python` layer
without its layer variables, thus the `lsp` layer was not declared because the
`python-backend` variable was not set.

The fix is to gather all the layer dependencies and resolve them only after all
the used layers have been declared.

* new function `configuration-layer/declare-layer-dependencies`
* replace all calls to `configuration-layer/declare-layer` by the new function
  except for distribution layers (we declare layer dependencies right away in
  distribution layers)
2019-09-30 02:00:48 -04:00
syl20bnr ac30247811 [lsp] When used, make LSP the default backend for all supported lang
* Added a new function to each language to select the backend
* Use these new functions in all `pcase`.
2019-09-30 00:49:44 -04:00