Commit Graph

12126 Commits

Author SHA1 Message Date
Lin Sun 0206197b22 [core] less ".el" suffix for support both *.el and *.elc 2022-01-03 23:02:43 +01:00
Evan Klitzke 4625745a8b Change core-configuration-layer.el to not use obsolete defmethod 2022-01-03 22:59:11 +01:00
Maxi Wolff faaf87a375
[semantic-web] Fix missing package, ttl-mode 2022-01-03 22:40:10 +01:00
Maxi Wolff 8f59762378
[ci] Deactivate tests for emacs 26.3
As the min version is now 27.1.
2022-01-03 22:20:04 +01:00
Maxi Wolff 0cbd48f0a5
[doc] Fix wrong min emacs version and rewrite update instructions 2022-01-03 22:00:08 +01:00
Liu Zhijun 41ea2b2136
Update core-themes-support.el (#15237) 2022-01-03 01:27:29 -05:00
SpacemacsBot 4d59149eb5 [bot] "documentation_updates" Sun Jan 2 06:54:20 UTC 2022 2022-01-02 07:56:12 +01:00
Elliott Shugerman e2f6aa9480
Add basic tree-sitter layer (#15185)
* add basic tree-sitter layer

* defer loading tree-sitter-indent now that patch is merged

* fix note block in readme

* improve variable name
2022-01-02 07:53:20 +01:00
Harvey Chapman 9f92b47ce6 Make dotspacemacs config diffs a little smaller...
Move closing parens on all dotspacemacs/user-* functions to a new line so the
function documentation and closing paren are not part of the config diff when a
user runs `SPC f e D`. This should make it faster to check config changes versus
the template.
2022-01-01 15:59:36 +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
shdennlin 8cbcc9f085 Fix #14162, python-execute-file not using in virtual environment 2022-01-01 15:55:17 +01:00
Tim Ruffing 1bd5428360 git-gutter: Remove custom fringe bitmaps
The config for git-gutter currently sets custom fringe bitmaps which
are optimized for half-width fringes.

I think that's an arbitrary choice. There's no spacemacs option which
enables half-width fringes and as far as I can tell, we don't optimize
for half-width fringes anywhere else. So we should optimize the
package defaults for the spacemacs default of full-size fringes.

If users set half-width fringes manually, they can customize the
bitmaps manually. Even if they don't, the bitmaps are still visible,
they just don't look as nice.
2022-01-01 14:41:33 +01:00
emiltoacs c017aa9617 [lsp-latex] Fix warning void variable TeX-view-program-selection
Remove the call to =spacemacs//latex-setup-pdf-tools= in latex/init-lsp-latex
since it is already called in the init-auctex which is the main package
2022-01-01 14:38:35 +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
Lucius Hu d7f9eb6342 Update minimum supported emacs version to 27.1 2022-01-01 14:32:46 +01:00
Thanh Vuong eb3ebe2c6e [compleseus] integration with which-key
https://github.com/oantolin/embark/wiki/Additional-Configuration#use-which-key-like-a-key-menu-prompt

embark-act `M-o` menu will be handled by which-key
2022-01-01 14:28:52 +01:00
SpacemacsBot 295b86e57a
[bot] "built_in_updates" Thu Dec 30 17:38:33 UTC 2021 (#15229) 2021-12-30 14:15:33 -05:00
Daniel Nicolai 8034e471b5 Fix mouse click behavior in customize buffers (issue #15211) 2021-12-30 18:38:12 +01:00
Thanh Vuong 902d210361 [auto-completion][julia] Revert #15171, Proper fix for #15169
This reverts commit f2755533de.

This adds fix for julia layer breaking yasnippet setup.

Commit f2755533de fixed a specific bug in julia
layer but it loads yasnippet and friends on start up which adds 1 sec to my
startup time even though I don't use julia.

Julia layer loads lsp-julia early on startup, which loads lsp who then loads
yasnippet behind the scene unknown to spacemacs and use-package. That's why our
nice and ordered setup for yasnippet and yasnippet-snippets failed as discussed
in https://github.com/syl20bnr/spacemacs/pull/15171. We now tell use-package to
defer its load.
2021-12-30 18:35:37 +01:00
SpacemacsBot 5bcedd1912
[bot] built_in_updates (#15210)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2021-12-18 04:24:44 +00:00
Daniel Nicolai 58ca8bd879
Fix package update for emacs versions < 26.2 (issue #15212) (#15215) 2021-12-17 17:44:25 -05:00
Chris Jenkins 387d165455
Replace use of `parent-mode-list` in `spacemacs-visual/funcs.el` (#15209) 2021-12-14 18:14:36 -05:00
Julio Rincon 651a7a9f11 Fix #15198: Apply ansi-colors to compilation-mode derived modes 2021-12-11 08:32:48 +01:00
Daniel Nicolai 3883d1b195 Add pdf occur follow mode spacemacs binding
Follow mode in the pdf-occur buffer is very handy, and deserves specific
Spacemacs keybinding (mainly for discoverability/documentation, as its name
`next-error-follow-minor-mode`, putting it mildly, is not very intuitive)
2021-12-07 17:37:38 +01:00
Daniel Nicolai 8b895fe290 Fix #15186, broken package update due to commit cac0105 2021-12-07 17:36:53 +01:00
Rodrigo Kassick d3071ae37b Improve temporary fix for evil-redirect-digit-argument
The fix introduced in 23367d08f8 NOPs
evil-redirect-digit-argument. As a result, pressing 0 while in iedit movement
state does not jump to the beginning of the match or beginning of line.

This change redefines the functions currently needed by evil-iedit-state while
keeping the expected functionality
2021-12-07 17:35:53 +01:00
SpacemacsBot a86cdd3506
[bot] "documentation_updates" Sat Dec 4 16:11:00 UTC 2021 (#15196) 2021-12-04 16:28:49 +00:00
Daniel Nicolai ab19ea1de5
Coq layer README add optional requirement (auto-completion layer) (#15195) 2021-12-04 16:09:43 +00:00
SpacemacsBot 17b5646e77
[bot] "documentation_updates" Tue Nov 30 19:20:17 UTC 2021 (#15191) 2021-11-30 14:24:27 -05:00
Daniel Nicolai c34cb72343
Add documentation for most important org shortcuts (#15190) 2021-11-30 14:18:53 -05:00
Kijima Daigo 33e7f62693
Fix small typos (#15188) 2021-11-29 17:29:36 -05:00
Maxi Wolff bdd77bfed6
[version-control] Do not activate git-gutter-mode in pdf-view-mode 2021-11-29 22:48:21 +01:00
Daniel Nicolai 23367d08f8 Add temporary fix for `evil-redirect-digit-argument` error
iedit does not work already for quite some time. A fix (see
https://github.com/syl20bnr/evil-iedit-state/pull/37) has been proposed, but it
does not get merged (even after multiple reminders). Therefore, I propose to add
this temporary quick fix, that can/should be removed after that PR gets merged.
2021-11-28 09:22:19 +01:00
Maxi Wolff 050221ee35
[gnus] Fix wrong evilified macro
Seems that we have a lot of places where
evilified-state-evilify has been used
instead of evilified-state-evilify-map.

This causes issues with shadowing of
evilified maps as this is only done by
the later of those two.

Fixes #15150
2021-11-20 22:54:55 +01:00
Daniel Nicolai f2755533de Fix #15169, snippets not loading correctly
The auto-completion layer seems not to have been designed/configured correctly.
So that, e.g., when using the julia layer, the `auto-completion/init-yasnippet`
function is called after the `yasnippet-snippets` package has been loaded.
Despite the ``yasnippet-snippets` package containing an `eval-after-load
'yasnippet`, the form within that block is, for some reason, evaluated already
before `auto-completion/init-yasnippet` has been called.

Anyway, what currently happens is that first `(yasnippet-snippets-initialize)`
is evaluated, adding `yasnippet-snippets-dir` to the `yas-snippet-dirs` list.
Then ``auto-completion/init-yasnippet` is called which contains the line `(setq
yas-snippet-dirs nil)`, setting the list to nil again.

As there is quite some logic involved (e.g. the order of evaluation is correct
when the julia layer is not being used), this commit fixes the reported issue by
simply calling `(yasnippet-snippets-initialize)` from
`auto-completion/init-yasnippet` after the yas-snippet-dirs list has been
resetted to nil.

Any cleaner solution is welcome, but I would say this is a 'harmless' very
pragmatic quick fix/solution.
2021-11-20 20:38:36 +01:00
deb0ch b108f8b319 Add binding for markdown-table-align 2021-11-20 20:35:42 +01:00
Hans dee70b8486
Fix forge evil keybinds (#15167)
* [git] Fix: Evil-collection @-dispatch keybindings for magit forge.

Load new location for forge '@' dispatch keybindings.

'Evil-collection' has moved keymaps for magit forge from an
'with-eval-after-load' block to newfile 'evil-collection-forge.el' in commit
33461aa545.

As mentioned in the commit, these changes were due to a upstream change in the
'forge' package. Source: https://github.com/emacs-evil/evil-collection/issues/543

* [git] Docs: update README to reflect changes in Forge keybinds.

See https://magit.vc/manual/forge.html#Introduction for more information.
2021-11-19 17:52:11 +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
tvuong 1c48cc5a5a [ivy] add mark unmark bindings 2021-11-18 06:32:15 +01:00
thanhvg dafae5f136
[compleseus] improve (#15165)
* [compleseus] layout select current project first

* [compleseus] bind embark-export to C-c C-o

same as ivy-occur

* [compleseus] add vertico-{quick, directory}

* [compleseus] set up vertico-repeat
2021-11-18 06:30:26 +01:00
Keith Pinson 415f367589 [scala] Shortcut keys for common/standard SBT commands
It's nice to have a way to use common SBT commands without having to enter a
Hydra, and without having to type them out or select from a history list. The
following should be standard and quite common:

+ `scalafmtAll`
+ `compile`
+ `test`

Added mnemonic keybindings that I think match Spacemacs conventions. They
behaviors also give better parity with the build capabilities of other major
modes, which frequently support compile, format and test functionality.
2021-11-17 06:46:10 +01:00
JAremko 1a4912e51f [ci] better error handling in html export 2021-11-15 08:08:16 +02:00
JAremko 089ca14331 [ci] Actually fix html export 2021-11-15 02:13:00 +02:00
JAremko 2dded3117a [ci] pre-create the missing dir 2021-11-14 19:51:47 +02:00
SpacemacsBot 47fdbced8b [bot] "documentation_updates" Sun Nov 14 17:38:06 UTC 2021 2021-11-14 19:40:22 +02:00
JAremko c9917ea541 [ci] fix html export 2021-11-14 19:36:43 +02:00
David Perez-Suarez 0f7c2e3cab Adds example on how to set an alert style for org notifications
It also changes a "here" hyperlink to a more descriptive one in the same
paragraph.
2021-11-14 17:42:15 +01:00
Daniel Nicolai 51611b6e30
Fix autocompletion in elisp and text mode
Currently most or all auto-completion, using completion-at-point (i.e. the TAB
key), is 'hijacked' by company-capf in emacs-lisp-mode, while in text mode there
is no auto-completion by default at all.

This commit adds auto-completion for text-mode and slightly improves the
situation for emacs-lisp mode.
2021-11-13 10:26:45 +01:00
SpacemacsBot 759e761099 [bot] "documentation_updates" Sat Nov 13 09:20:02 UTC 2021 2021-11-13 10:24:57 +01:00