Commit graph

632 commits

Author SHA1 Message Date
Daniel Nicolai f4b04bcf22 Add obsoletion notification evilified-state-evilify 2022-05-29 14:05:07 +02:00
SpacemacsBot 10913caeb0 [bot] "documentation_updates" Fri May 13 16:52:02 UTC 2022 2022-05-13 18:52:10 +02:00
Ray Wang 24640fca75 Add layer translate for doing translation jobs 2022-05-13 07:36:18 +02:00
Dan Kessler 83d687534c tidy read syntax for anonymous functions
First, change read syntax for anonymous functions currently written '(lambda to
instead just be (lambda; otherwise this raises a warning.

Next, while we're at it, change all instances of #'(lambda to just (lambda,
since the two are equivalent and the latter is more concise (excepting anything
in core/libs or in /local/ subdirs of layers)

https://www.gnu.org/software/emacs/manual/html_node/elisp/Anonymous-Functions.html#index-_0023_0027-syntax
2022-05-11 19:24:54 +02:00
Ben c37d505625
Prefix obsolete aliases with "cl-" namespace. (#15494) 2022-05-02 00:11:19 -04:00
Xiaoxiang Cao 6774f37fc1 Fix #15306. Reflect eaf layer keybinding logic to upstream changes.
- Replace outdated eaf API call with most recent ones
- Tested with eaf-browser on my machine
- Both (kbd "SPC") and (kbd ",") works fine in eaf-browser
2022-04-03 20:20:41 +02:00
Maxi Wolff 587f584ebc
[lsp] Change default source of bindings back to spacemacs
as many bindings are not properly set from
the lsp package and the default setting should
just work out of the box.

See #15442 for details.
2022-04-02 22:04:17 +02:00
Rodrigo Kassick 8587ab6df0
fix: do not setenv PAGER in shell layer (#15369) 2022-02-22 11:37:58 -05:00
Lucius Hu 011b1454e1
quickurl: fix typo
fixes #15365
co-authored-by: Alex <aavanian@users.noreply.github.com>
2022-02-22 04:51:18 +00:00
SpacemacsBot 4d0529d3e7
[bot] documentation_updates (#15339)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-12 05:36:08 +00:00
thanhvg 023ba524f4
[tree-sitter] add option to seletively disable tree sitter hl mode (#15317)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 05:25:01 +00:00
Lucius Hu fd652fae0c
update spacemacs/declare-prefix usages (#15278)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:11 +00:00
SpacemacsBot 0ba8aa194a
[bot] "documentation_updates" Mon Jan 31 21:49:47 UTC 2022 (#15303) 2022-01-31 17:02:38 -05:00
Benedikt Broich a10d2fd845
Add journalctl-mode to systemd layer (#15288) 2022-01-31 16:48:47 -05:00
Maxi Wolff e9648b809a
[tree-sitter] Rename variables to match conventions 2022-01-08 12:59:33 +01:00
Thanh Vuong 1d45278a71 [lsp] add consult-lsp and set lsp-use-upstream-bindings to t
lsp-use-upstream-bindings is t so by default spacemacs will use lsp-mode binding
scheme. We should consider to phase our the current manual binding scheme for
lsp-mode in future
2022-01-01 15:57:32 +01:00
emiltoacs 088493ab0e
[languagetool] fix for non standard language code (#15216)
* [languagetool] fix for non standard language code

In the language tool layer, the `languagetool-get-language` function is used to
deduce the correct language code for languagetool from the variable
`ispell-local-dictionary`, `ispell-dictionary`, or from the list
`ispell-dicts-name2locale-equivs-alist` by replacing dash by underscore. However
many lanagetool codes are not formatted consistently with what can be found in
ispell, check `languagetool --list <file>` for the exact list.

Therefore I created this list of convertion between ispell codes and lanagetool
codes.

* [languagetool] Reorder language code by usage

* [languagetool] translate non-obvious language code

special-case handle the translation when a simple conversion from underscore to
dash does not work

Co-authored-by: emiltoacs <mil@evo.nomail>
2022-01-01 14:36:12 +01:00
SpacemacsBot f06fb38a8f [bot] "documentation_updates" Thu Nov 18 05:35:20 UTC 2021 2021-11-18 22:00:53 +01:00
Wieland Hoffmann f61a7cd453
Add a keybinding for lsp-treemacs-type-hierarchy (#15163)
* lsp: Bind =~SPC m g T~ to lsp-treemacs-type-hierarchy
This allows to show the type hierarchy for the type at point.

* lsp: Goto call and type hierarchy are provided by lsp-treemacs
2021-11-18 06:33:38 +01:00
Daniel Nicolai d5b6df3584
Add commands to compleseus layer (locate, yasnippet, search from) (#15078)
* Add commands to compleseus+fasd layer (locate,yasnippet,search-from)

* Add metadata classifier (for embark) to fasd-layer

Embark uses metadata of the target under point to determine actions. If the
target lacks a metadata classifier then the [embark
documentation](https://github.com/oantolin/embark#acting-on-targets) recommends
to [add them using the marginalia package](https://github.com/minad/marginalia#adding-custom-annotators-or-classifiers).

This PR adds the file classifier to results for fasd searches.
2021-11-02 22:50:32 +01:00
Ag Ibragimov 92979e7934
fasd layer: fasd & open in a layout (#15126)
* fasd layer: fasd & open in a layout

* rewrite without using dash.el

* adds buffer-live-p check
2021-11-02 21:55:04 +01:00
SpacemacsBot b4db141531 [bot] "documentation_updates" Fri Sep 17 18:59:01 UTC 2021 2021-09-17 21:17:02 +02:00
Daniel Nicolai c8c20becf6
Fix and update PR #14992: update eaf layer 2021-09-17 20:55:14 +02:00
Maxi Wolff 42868141da
[lsp] Fix void variable error during startup 2021-09-10 22:23:09 +02:00
Maxi Wolff e67caf8486
[lsp] Revise lsp layer's create temp files in cache folder feature
to avoid having to add a lot of additional ignore
statements to our .gitignore file.

For now this shall reside in LSP layer if it becomes too big
we can do a more refined design based on the auto-complete
layer.
2021-09-10 22:13:14 +02:00
Ray acea332435
Move known temporary files of LSP into spacemacs-cache-directory.
By enabling all layers referring to lsp and searching packages they depend
on, currently I found these variables:
`lsp-server-install-dir`
`lsp-session-file`
`lsp-eslint-library-choices-file`
`lsp-yaml-schema-store-local-db`
`lsp-vetur-global-snippets-dir`
2021-09-10 22:13:13 +02:00
Michael Peyton Jones 797360a419
lsp: add call hierarchy binding (#15021) 2021-08-31 21:02:05 +00:00
Dmitry Polienko 9bb3115bce
Remove obsolete paragraph from the LSP layer documentation (#14989) 2021-08-14 19:21:30 +00:00
Daniel Nicolai 65121ddd30 Improve spacemacs/default-pop-shell docstring
Add instruction for controlling automatic change to working directory ('fixes'
2021-07-30 17:10:38 +02:00
SpacemacsBot 284f56a397 [bot] "spacemacs_fix_org" Mon Jul 5 23:23:52 UTC 2021 2021-07-05 16:24:48 -07:00
Ryan Prior be74dd786f
Adds function to run default shell in project root, with leader keys SPC p $ (#14856)
By using `projectile-acquire-root`, we will prompt the user for a project when
they call `spacemacs/projectile-pop-shell` outside a project directory.
2021-07-04 07:02:19 +00:00
Maximilian Wolff ab6b165e96
[dotnet] Change bindings to be based on p for project
as d is reserved for debuger integrations. Also make
sure that dotnet bindings are set for fsharp and csharp.
Fixes #14606
2021-06-16 22:47:11 +02:00
Arif Er 2fd3eb3edb
[transmission] Add new keybindings (#14819)
This commit adds 3 sets of keybindings and organises the keybindings so that it
can be read easier. The README file is also organised and cleaned up to be read
easier.

1. Marking and labelling

   Add a new keybinding to mark torrents and another to set the labels at point
   or for marked torrents.

2. Queueing

   Keybindings to manage how the queueing of torrents are added using the
   uppercase vim movement keys. A keybinding to logically sort by columns is
   also added.

3. Turtle mode

   A new keybinding while in `transmission-mode` toggles the
   `transmission-turtle-mode` minor mode. When it is active, a new set of 3
   keybindings will be active to change the settings of the minor mode.

Although there is a keybinding for `transmission-remove` in `transmission-mode`,
a new keybinding for `transmission-delete` is also added. This is done since
`transmission-remove` merely removes the torrent from Transmission but does not
delete the file(s).

The rest of the changes are reflected in `CHANGELOG.develop`.
2021-06-10 18:30:31 +00:00
Maximilian Wolff 500e58341c
Defer loading of lsp servers up to when the buffer is visible 2021-06-06 22:26:31 +02:00
arifer612 27fa8f8f7d
Fix key binding in README in layers/tools/transmission (#14814) 2021-05-31 13:44:05 +00:00
Maximilian Wolff b29ed9b598
[docker] Register "q" to close the current window for docker modes 2021-05-27 22:34:27 +02:00
tvuong 3e93f56e58
[docker] simplify keybings for docker.el
use default transient bindings from docker.el which is very good
2021-05-27 22:23:31 +02:00
Thanh Vuong bc6163216c
[lsp] add keybindings for lsp-ivy/helm-lsp when use upstream bindings 2021-05-27 22:14:14 +02:00
Maximilian Wolff 3b45182e45
[eaf] Add docs for new keybindings 2021-05-27 22:04:59 +02:00
Kjartan Óli Ágústsson 15b9e0fd8a Add bindings for opening eaf applications
EAF recently added a system monitor. Add `SPC a a s` to open it.
Also add `SPC a a M` to open the eaf music player.
2021-05-27 22:02:52 +02:00
emacspace 61f6480ef8 documentation formatting: Sun May 9 19:09:25 UTC 2021 2021-05-09 21:16:30 +02:00
Daniel Nicolai 72127a49cb Replace counsel-M-x command in eaf-layer
Counsel is specific to Ivy, the universal M-x command is
`execute-extended-command`.
2021-05-09 21:06:04 +02:00
Daniel Nicolai 8ede09f875 Small fix to eaf-layer refactor
This PR reimplements the refactor changes by @lebensterben but with his fix as
he suggested [here](https://github.com/syl20bnr/spacemacs/pull/14681#discussion_r616060958)
2021-05-08 22:25:06 +02:00
emacspace c69458150f documentation formatting: Mon May 3 22:15:02 UTC 2021 2021-05-04 00:24:54 +02:00
Maximilian Wolff fdda1bd281
[lsp] Fix missing [ in documentation 2021-05-04 00:10:13 +02:00
Maximilian Wolff 99231d3a70
[lsp] Fix some smaller issues in documentation 2021-05-03 23:05:44 +02:00
Thanh Vuong 27f1519a5a
[lsp] add option to bind commands to lsp-command-map
`lsp-use-upstream-bindings` set to `t` then Spacemacs will bind all
`lsp-command-map` behind `SPC m`, `,` and `M-m`. This way the bidings will be
managed by upstream `lsp-mode` which is documented at
https://emacs-lsp.github.io/lsp-mode/page/keybindings/.

Spacemacs only replaces the prefix `s-l` with `SPC m`. For example:

| lsp binding | Spacemacs binding                   |
|-------------+-------------------------------------|
| `s-l w s`   | `SPC m w s` or `, w s` or `M-m w s` |
2021-05-03 22:53:11 +02:00
Lucius Hu e5be31bb85
Bumped minimum emacs version to 26.1 2021-05-03 22:09:11 +02:00
Daniel Nicolai 623c75d7d9 Fix: update eaf layer
The layer got broken due to some minor changes in the eaf package by the eaf
developers. This commit fixes the layer to a working state.
2021-04-19 21:40:59 +02:00
duianto 4262e01f11 [doc] Fix links 2021-04-13 11:38:33 +02:00