Commit Graph

6376 Commits

Author SHA1 Message Date
Maxi Wolff 02c667e8d8
[syntax-checking] Revise layer
Change variable declarations to standard config variables.
Change default size to relative values to be less independent
on specific screen sizes.
Improve general documentation of config choices.
2022-06-11 13:36:56 +02:00
Lana Black 46d15dc367
Allow setting flycheck buffer location on screen. 2022-06-11 12:58:26 +02:00
Maxi Wolff 87823c3081
[shell-scripts] Install shfmt unconditionally
Fixes #15562
2022-06-10 15:22:26 +02:00
Lin Sun fa28a4f302 [source-control] Evilify the svn/git/hg mode-maps after its mode file be loaded 2022-06-09 19:21:03 +02:00
Lin Sun d1bdf6c634 Evilify the pyim-dict-manager-mode-map after its mode be loaded 2022-06-08 16:33:50 +02:00
Lin Sun 5a715c85c2 [pdf] Evilify the pdf-outline-buffer-mode-map after its mode be loaded 2022-06-08 16:33:10 +02:00
Sebastian Hahn 85edf6a578 org-contacts no longer built-in 2022-06-06 09:24:37 +02:00
SpacemacsBot 51686e5f12 [bot] "documentation_updates" Sat Jun 4 08:12:41 UTC 2022 2022-06-04 14:59:14 +02:00
Maxi Wolff 3087f5cf58
[fountain] Fix tag declaration 2022-06-04 10:10:50 +02:00
SpacemacsBot 3ba43e2916 [bot] "documentation_updates" Fri Jun 3 15:18:32 UTC 2022 2022-06-03 17:33:18 +02:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
Damien Picard 6fd1165060 Add fountain layer, a screenwriting file format 2022-06-03 17:17:26 +02:00
lin.sun 771bb6c43a
[Chinese] refactor the input with last pyim (#15563) 2022-06-02 15:08:04 +02:00
Sebastian Hahn 1228c57444 removing consult-completing-read-multiple in compleseus 2022-06-01 11:14:47 +02:00
Kevin Ji 3afb088940 [javascript] Use js2-mode with .cjs files
.cjs is an extension for CommonJS files, and is needed if `"type": "module"` is specified for a Node package.
2022-06-01 11:14:16 +02:00
Thanh Vuong 11277c517c [Rust] fix dap mode toggle logic
rust layer doesn't own dap-mode so toggle is ignored
2022-06-01 11:13:40 +02:00
Maxi Wolff 69027b8eec
[latex] Replace auctex-latexmk with a fixed fork
Fixes #15541
Please make sure to remove the old package to
trigger a reinstallation, sometimes this is not
happening automatically.
2022-05-29 16:16:37 +02:00
iliekprogrammar c0948b3e04
[defaults] Fix toggle line numbers to respect dotspacemacs-line-numbers.
Previously, `SPC t n n` (spacemacs/toggle-line-numbers) did not respect
dotspacemacs-line-numbers despite it telling otherwise, when it's binded to a
property list.
2022-05-29 16:05:15 +02:00
Thanh Vuong b8f471dc1c
[core] new recipe :fetcher local
with this curent (package :location local) can be replaced with (package
:location (recipe :fetcher local)) then quelpa will install local pacakge. We
have the benefit of bytecompile and autoload

[packages] use new fetcher for local
2022-05-29 15:58:19 +02:00
iliekprogrammar 96360701cc [evil] fix missing spacemacs-default-map in evil-lisp-state. 2022-05-29 15:51:17 +02:00
SpacemacsBot 54c6cce370 [bot] "documentation_updates" Sun May 29 13:05:22 UTC 2022 2022-05-29 15:49:07 +02:00
Maxi Wolff 39b9def6d5
Fix variable is void warnings at startup
which were caused by invocing
evilified-state-evilify-map in the init section.
2022-05-29 15:04:18 +02:00
Daniel Nicolai 2325fc521f
Fix: variable is void: emoji-cheat-sheet-plus-buffer-mode warning 2022-05-29 15:04:18 +02:00
Keith Pinson 9d7646f0f4 [scala] add keybinding for running `It / compile` in SBT 2022-05-29 14:16:09 +02:00
Maxi Wolff 712aa31870
[Rust] Move package loading conditions to package list 2022-05-29 14:11:43 +02:00
Dav1d23 e9f09cde48 Enable racer only when it is selected as a backend
When using LSP, there is little to no need to use Racer as well. So, this patch
conditionally enables Racer, only when it is selected as a backend.
2022-05-29 14:06:13 +02:00
Daniel Nicolai f4b04bcf22 Add obsoletion notification evilified-state-evilify 2022-05-29 14:05:07 +02:00
Lin Sun 756e204d25 [layers+misc/ietf] fix auto-mode-alias for ietf 2022-05-26 08:17:09 +02:00
Thanh 85e14e5519 [compleseus] update
- update vertico-repeat

- annotation for projectile

- tweak xref

- new buffer source of modified ones

- vertico settings

- use consult-org-heading

- tweak orderless

- tweak consult-line to start from top to bottom

- tweak marginalia

- tweak orderless for company and lsp

- fix persp mixing up buffer-list order
2022-05-21 11:13:08 +02:00
thanhvg 35bfa8601a
[layout] consittent buffer list (#15520)
* [spacemacs-defaults] make split double windows consistent

* [layout] new macro spacemacs||with-persp-buffer-list

to use instead of `with-persp-buffer-list`. The new repsects the order of
original buffer-list

* [default] improve split-triple|grid windows functions

buffer-list will return the list int the the most recent accessed order. Of
which the first one is always the current buffer. So we don't need to do extra
work in removing it.
2022-05-21 09:21:40 +02:00
Josh Mcguigan 7834b2b7e1 update org-superstar-mode docs
* update defaults to new default values
* correct variable name in example code block
* correct usage of character literals
2022-05-21 09:12:43 +02:00
SpacemacsBot 10913caeb0 [bot] "documentation_updates" Fri May 13 16:52:02 UTC 2022 2022-05-13 18:52:10 +02:00
Tim Rakowski f54cc055b1 s/org-roam-enable-protocol/org-enable-roam-protocol
Fixes #15514
2022-05-13 18:50:55 +02:00
Ray Wang 24640fca75 Add layer `translate` for doing translation jobs 2022-05-13 07:36:18 +02:00
Çağrı Özkan 88e5d10d2b Add rails api to search engines 2022-05-13 07:27:41 +02:00
jgart 1fde8719e9 python: Fix broken link 2022-05-12 17:20:28 +02:00
SpacemacsBot 50c8651b7d [bot] "documentation_updates" Wed May 11 17:49:13 UTC 2022 2022-05-11 19:49:23 +02:00
Bryce a69aba732a
Fix function quote warning (#15446)
* Fix function quote warning

Change `'` to `#'`, resolves #15443.

* Fix quoting in `helm-spacemacs-help.el`, add docstrings, fix action

These changes hopefully fix #15443

- Add docstrings to the lambdas
- Change selected action for `<S-return>` to the sixth action, to install the
  layer. This change makes the action conform to the removed comment.

  > `;; Add layer`

* squash! Fix function quote warning, fix helm action

- Resolve #15443
- Add docstrings to lambdas
- Fix index of helm action for layer install (the actions are zero-indexed)
2022-05-11 19:40:19 +02:00
Stanislav Ochotnický 805d9e8cd6 When enabled make sure we load org-roam-protocol
Org roam protocol can be used from outside Emacs and as such, loading it only
after some org-roam buffers are opened defeats the purpose. Without this change
the org-protocol links won't work after emacs restart until at least one
org-roam buffer is loaded.

Fixes #14487
2022-05-11 19:34:46 +02:00
Dan Kessler 06f790d4cf [latex] add, configure, and document evil-tex package
Add support for the very useful evil-tex package to the latex layer.

Of particular note, this package provides numerous text objects for latex, e.g.,
latex-style quotes and double quotes, and also provides valuable toggles for
managing delimeters.

I've mapped its "magnificent toggles" (which are otherwise under a `mt` prefix)
to `SPC m q` (q for "quite magnificent") to avoid interfering with any standard
evil features.

I added brief documentation for evil-tex to the latex layer's README, which
primarily refers the reader to evil-tex's thorough documentation rather
than duplicating it in the readme.
2022-05-11 19:31:43 +02:00
Pieter Swinkels 0d5247f231
Only bind TAB when evil setting allows it (#15473)
* Only bind TAB when evil setting allows it

In a terminal TAB and C-i generate the same key press. So to "avoid TAB being
overlapped in terminal mode", function spacemacs/init sets evil-want-C-i-jump to
nil. Unfortunately commit bbd40f1 always binds C-i to evil-jump-forward
regardless of the value of evil-want-C-i-jump. This commit fixes that.

* Always bind C-i in GUI mode

This commit always binds C-i to evil-jump-forward in GUI mode, regardless of the
value of evil-want-C-i-jump. In GUI mode C-i and TAB enerate different key
presses so this doesn't affect the behavior of TAB.
2022-05-11 19:28:33 +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
Aaron L. Zeng f70110dd77 [version-control] Load smerge-mode when entering smerge-transient-state
This fixes the following error when pressing `SPC g r n` if
smerge-mode is not loaded yet:

    Symbol's function definition is void: smerge-vc-next-conflict

Removed the `:commands` argument to use-package, which is
erroneous (:commands sets up autoloads so that invoking the command
will load the package specified, but only if the command is not
already fboundp).

Instead, explicitly load smerge-mode when entering the transient
state, so that any of the key bindings in the transient state will be
available.  This has the same intended effect as the previous code.
2022-05-11 19:23:04 +02:00
winsphinx 265472214e
add org-roam-ui to replace org-roam-server (#15504)
* add org-roam-ui

* lazy load org-valign
2022-05-11 19:19:23 +02:00
John Practicalli 6bdf609421 [git] key bindings to edit magit forge topics
Add Spacemacs style key bindings menu when editing a Magit Forge topic (issue,
pull request)

https://magit.vc/manual/forge.html#Editing-Topics-and-Posts
2022-05-11 19:17:07 +02:00
Rathur421 895deed51a Add support for code-cells in python layer 2022-05-11 19:15:31 +02:00
SpacemacsBot 11f45d529f
[bot] "built_in_updates" Wed May 11 06:35:02 UTC 2022 (#15508) 2022-05-11 11:39:47 -04:00
jgart 2218a5e286
common-lisp: Fix typo (#15507) 2022-05-11 02:34:17 -04:00
Ben c37d505625
Prefix obsolete aliases with "cl-" namespace. (#15494) 2022-05-02 00:11:19 -04:00
Julien Debon 9b6083b32d
Fix NPM package to install for JSON lsp (#15492) 2022-04-28 10:39:37 -04:00
Aaron Zeng 056c7264ad
[spacemacs-bootstrap] Fix :pre-bindings evaluation in evilified-state-evilify-map (#15490) 2022-04-26 18:52:30 -04:00
Aaron Zeng dc85616df5
Add key binding for revert-buffer in process-menu-mode (#15403) 2022-04-22 21:50:23 -04:00
Riccardo Binetti abc028e24e
[zig] Fix setup backend hook (#15483) 2022-04-21 19:26:09 -04:00
Harold Cooper b3e67aafe2
fix typo (#15470) 2022-04-14 13:56:58 -04:00
bryce-carson 434e26486c
Remove disabled code and FIXME: resolved. (#15464) 2022-04-12 05:41:21 +00:00
Dan Kessler 9dd28c0316
disable evil-surround in magit-status buffers (#15462) 2022-04-11 13:28:02 -04:00
Dan Kessler d79b12e7b4
Replace alist helm sources with proper helm sources (#15364) 2022-04-04 14:51:01 -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
Ray Wang d3d50f580b [spacemacs-editing] initialize `undo-tree-history-directory-alist`
to stop *.~undo-tree~ files from scattering.

Fix: #15426
2022-04-02 18:04:01 +02:00
Maxi Wolff 97af6fa9f8
[neotree] Add zz, zt, zb bindings
To make this buffer behave more vim like.
See #15355
2022-03-31 16:55:29 +02:00
Mattijs Korpershoek 2202597ee3
notmuch: Fix company based address completion (#15392) 2022-03-31 03:45:01 -04:00
SpacemacsBot c2a9aaedff
[bot] "documentation_updates" Mon Mar 28 11:29:34 UTC 2022 (#15433) 2022-03-28 11:38:15 -04:00
John Practicalli cb786cc071 [github] clarify Git configuration and authorisation documentation
Resolve #15377
2022-03-28 13:28:10 +02:00
Maxi Wolff bf64c09535
[org] Make org buffers work with helm-imenu-in-all-buffers
Fixes #15420
2022-03-27 21:23:42 +02:00
Claudio Bley 18ad9759b2
[nixos] Fix variable name in README (#15413) 2022-03-17 11:34:53 -04:00
Dan Kessler 75c30eed0d
[helm] fix typo in helm-ls-git (#15411) 2022-03-16 15:59:54 -04:00
Alfonso Montero d66548fd04
[completion] Fix readme markup. (#15410) 2022-03-16 15:10:42 -04:00
SpacemacsBot e32acdfadf
[bot] "documentation_updates" Fri Mar 11 06:55:25 UTC 2022 (#15402) 2022-03-11 02:33:47 -05:00
John Practicalli d751c09fab
[git] document configuration of Magit Forge and Git identity (#15388)
Add documentatation to the Spacemacs Git layer describing how to configure basic git identity and more importantly how to configure Magit Forge to access GitHub / GitLab using a machine configuration and an encrypted file to hold the personal access token.
2022-03-11 06:54:23 +00:00
John Practicalli ed19c94a1e
[space-doc] use cl-return as return is obsolete (#15397) 2022-03-06 11:48:20 -05:00
Dominic Pearson a027f34a94
spacemacs-navigation: golden-ratio fix for SPC w TAB. (#15374)
`SPC w TAB` with golden-ratio doesn't work, due to missing hooks. This adds them.
2022-02-25 04:21:17 +00:00
SpacemacsBot 9f1155a998
[bot] "documentation_updates" Tue Feb 22 16:39:44 UTC 2022 (#15373) 2022-02-22 11:44:00 -05:00
Rodrigo Kassick 8587ab6df0
fix: do not setenv PAGER in shell layer (#15369) 2022-02-22 11:37:58 -05:00
Keith Pinson e9adfe9122
[scala] add keybinding for running `Test / compile` in SBT (#15372) 2022-02-22 11:37:17 -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
Dan Kessler 3cc0f99800
[osx] don't set dired-listing-switches (#15371) 2022-02-21 21:45:57 -05:00
Lucius Hu 910245527d
spacemacs-evil: use official evil-iedit-state
Reuse the official package since the upstream PR is merged.
2022-02-20 01:54:36 +00:00
Andreas Sahlbach 3deed8f060
compleseus: corrects name of some renamed consul commands (#15352) 2022-02-16 18:45:42 +00:00
Lucius Hu b7e1dee13f
spacemacs-buffer: Added optional feature to show file icons (#15332)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-15 06:52:00 +00:00
Lucius Hu 0bdddfc165
tabs: fix a typo
co-authored-by: Yixuan Chen <yixuan.chen@yale.edu>
2022-02-14 14:01:17 -05:00
Lucius Hu 3429bcf056
fixed typos postframe to posframe 2022-02-14 11:05:18 -05:00
Daniel Nicolai 25674b7768
Fix tab key functionality in pdf outline mode (#15345) 2022-02-14 09:33:48 -05:00
Lucius Hu 30e32ea41f
fixup! [auto-completion] add company-posframe 2022-02-14 02:36:17 -05:00
August Feng ec8c87df27
spacemacs-purpose: Improved README.org (#15346) 2022-02-14 03:10:05 +00:00
Lucius Hu fe23d52414
fixup! fixup! help/helpful: Set tab-width to 8, better integration w/Ivy (#15243)
The previous commit had two issues:
- It doesn't have effect for `help-mode` because its was loaded too late. (In
the `:config` section of `help-fn+`.
- It only has effect for the code sections in `helpful-mode` buffer. And has no
effect in the buffer opened via button widget in either `help-mode` or
`helpful-mode`.

This commit fixes both problems.
2022-02-13 21:58:47 -05:00
SpacemacsBot 6fc9faee85
[bot] "documentation_updates" Sun Feb 13 20:45:13 UTC 2022 (#15343) 2022-02-13 15:46:34 -05:00
Luis Ch ea020911f8
Add basic LSP support to NixOS layer (#15342)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-13 20:44:16 +00:00
fleimgruber 179bb38ebc
fix: progn typo in org-transclusion :init (#15340) 2022-02-12 09:12:52 -05:00
thanhvg adf9da378b
[auto-completion] add company-posframe (#15320)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 06:01:59 +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 60e512a48b
[iedit] use fork (#15318)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 05:30:49 +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
SpacemacsBot 44fbaa3d10
[bot] documentation_updates (#15338)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-12 05:15:52 +00:00
thanhvg 9deb58d16a
[elisp] add elisp-def (#15315)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 05:14:57 +00:00
Lucius Hu 77ba076f69
spacemacs-editing-visual: rework (#15322) 2022-02-12 04:58:35 +00:00
SpacemacsBot a7d91f1b4f
[bot] documentation_updates (#15337)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-12 04:47:44 +00:00
Keith Pinson 34e14fb681
[org] add support for transclusion (#15333)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 04:45:45 +00:00
Lucius Hu ebd0603885
eww: cleaned up (#15321) 2022-02-12 04:10:23 +00:00
Lucius Hu e24e1e4b57
spacemacs-defaults: Prompt to save a buffer for certain operations (#15331) 2022-02-12 04:09:53 +00:00
Lucius Hu 8bfc1566ec
fixup! help/helpful: Set tab-width to 8, better integration w/ Ivy (#15243) 2022-02-09 17:20:17 -05:00
KK 9e30cf9b39
Fix ⌘-s shortcut in macOS (#15329) 2022-02-09 12:31:44 -05:00
Lucius Hu 696b15652f
Revert "spacemacs-defaults: Added prompt to save a buffer (#15297)" (#15330)
This reverts commit d33a1a8fcc.
2022-02-09 12:29:46 -05:00
Lucius Hu d33a1a8fcc
spacemacs-defaults: Added prompt to save a buffer (#15297)
Added a new `kill-buffer-hook` that prompt the user to save a buffer
before killing it.
2022-02-09 03:33:21 -05:00
ismama 031f7e1666
Fix the use of consult--source-project-file (#15328) 2022-02-08 11:07:25 -05:00
ismama 22d168a054
Fix consult-buffer error (#15327) 2022-02-08 09:13:06 -05:00
Lucius Hu d366150139
exwm: replace desktop-environment by melpa one
closes https://github.com/syl20bnr/spacemacs/issues/15312
2022-02-06 04:20:29 +00:00
thanhvg 4a305a44af
[compleseus] clean up (#15314) 2022-02-05 13:31:20 -05:00
thanhvg fee90f8dd0
[compleseus][ivy] quote regex when search for region or symbol at point (#15313) 2022-02-05 13:30:30 -05:00
thanhvg ff2087e6a6
[layouts] fix counsel-projectile (#15311) 2022-02-04 16:52:05 -05:00
SpacemacsBot ce0becb723
[bot] documentation_updates (#15310)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-04 05:39:59 +00:00
Lucius Hu 824889c974
tabs: Rework (#15293)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:26 +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
Lucius Hu d2b566406a
rust: respect `lsp-use-upstream-bindings`
This is needed after 1d45278a71
2022-01-31 04:14:59 +00:00
Lucius Hu ddf44ab93f
org: fix #15290 (#15291)
Co-authored-by: xin <etimecowboy@gmail.com>
2022-01-29 01:34:24 +00:00
Dan Kessler 44ed2f84a1
org: add binding for org-paste-subtree (#15289) 2022-01-27 03:58:53 +00:00
Keith Pinson 4bc45f70a1
[org] integrate org-appear with evil when triggering manually (#15284) 2022-01-25 10:06:11 -05:00
Lucius Hu 6ccbbcc7d9
gnux: fix which-key prefix bug
The third argument to `spacemacs/declare-prefix` is never used.
It was ignored before but currently causes issues.
2022-01-17 21:28:13 +00:00
Lucius Hu ca93e28a9c
keyboard-layout: Fixes #15249 (#15251)
Co-authored-by: Nils Wloka <mail@nilswloka.com>
2022-01-15 02:33:06 +00:00
Lucius Hu 719b64377f
fix evil-lisp-state prefixes & improve related functions (#15258)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-01-15 02:32:18 +00:00
SpacemacsBot 19bde126a5
[bot] documentation_updates (#15271)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-01-15 02:29:19 +00:00
John Practicalli 84033e168d [clojure] add kaocha-runner as optional package
Add kaocha-runner.el to the Clojure layer to enable running the kaocha test
runner from Emacs Cider

Kaocha runner added to the layer via the clojure-enable-kaocha-runner variable

Add key bindings to call Kaocha runner
2022-01-14 18:03:53 +01:00
Lucius Hu 1541eed6bd fix messed up keybindings in helm-ag-map 2022-01-12 13:14:44 +01:00
Lucius Hu 7cb37ee58e markdown: Remove orgtbl
Entirely removed orgtbl from markdown layer since it causes problems.
Users may still manually enable it if they know what they are doing.
2022-01-12 13:14:05 +01:00
Lucius Hu 8226efa633
help/helpful: Set tab-width to 8, better integration w/ Ivy (#15243)
Co-authored-by: Tommi Komulainen <tkomulai+github@gmail.com>
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-01-11 04:15:47 +00:00
Julio Rincon 94a6811682
Fix #15198 predicate to check if major-mode is compilation-mode or derived. (#15253) 2022-01-08 08:01:46 -05:00
SpacemacsBot f85b561085
[bot] "documentation_updates" Sat Jan 8 12:02:19 UTC 2022 (#15254) 2022-01-08 08:00:06 -05:00
Maxi Wolff e9648b809a
[tree-sitter] Rename variables to match conventions 2022-01-08 12:59:33 +01:00
Lucius Hu 8856bc4316
themes-megapack: Update obsolete package
modus-operandi-theme and modus-vivendi-theme are now available in mods-themes
2022-01-08 05:25:56 +00:00
Daniel Nicolai 2f061d26ae
Fix keybindings in ivy-occur-grep-mode
Closes #15219
2022-01-08 03:56:30 +00:00
Daniel Nicolai bbd40f113f
Add C-o and C-i keybindings to evil-evilified-state-map (and remove from pdf-view-mode-map)
C-o and C-i are standard vim keybindings to jump back/forward between previous
locations. It is annoying and unnecessary that evilified buffers break that
flow, therefore these keybindings should be added to the
`evil-evilified-state-map` so that they are available automatically in all
evilified keymaps/modes. I assume that by just adding them to the map, all
required remappings will automatically be taken car of by the
`evilified-state-evilify-map` macro (anyway, it seems to work fine).
2022-01-08 03:54:30 +00:00
Lucius Hu d63e172bde
Revert "[org-roam] Fix evil org-roam-node-insert spacing" (#15244) 2022-01-06 03:40:22 +00:00
Maxi Wolff faaf87a375
[semantic-web] Fix missing package, ttl-mode 2022-01-03 22:40:10 +01: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
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
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
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
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
SpacemacsBot 47fdbced8b [bot] "documentation_updates" Sun Nov 14 17:38:06 UTC 2021 2021-11-14 19:40:22 +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
Maxi Wolff f5541e876a
[svelte] Revise layer
Fix minor issues in comments and refactor code
a bit. Also make lsp layer autoload if
required.
2021-11-13 10:16:29 +01:00
Marco Süß 3185902f78
Add Svelte layer 2021-11-13 09:30:46 +01:00
Maxi Wolff 707124fd3a
[compleseus] Fix orderless integration 2021-11-13 09:04:54 +01:00
Thanh Vuong 76841d87fc [compleseus] tuned completion-style and added support for M-: 2021-11-12 07:47:39 +01:00
Daniel Nicolai 548edefcce Install org from ELPA instead of Org ELPA
From org version 9.5 org will not be distributed from Org ELPA but from
ELPA (see https://list.orgmode.org/87lfa7tc9v.fsf@gnu.org/t/). This commit makes
Spacemacs use/install org from ELPA.

Besides that, this commit removes some 'hack' that seemed to have no effect. As
org comes with Emacs `package-installed-p 'org` will always return t. Also
activating org via `configuration-layer//activate-package` seems to have no
effect.

Finally, the package is declared including a :min-version because appending only
`:location melpa` seems to have no effect (this can probably be considered a
bug).
I am almost certain that the information that was added when making org install
from Org ELPA is still relevant also for installing org from ELPA so I have just
adapted the version number from 0.104 to 0.300.

As the "org" archive has been removed, the `ert-deftest` for it can be removed
also.
2021-11-06 14:34:18 +01:00
JAremko 500335a2c2 fix links 2021-11-04 20:36:23 +02:00
SpacemacsBot e6bd5cc4ac [bot] "documentation_updates" Tue Nov 2 22:01:23 UTC 2021 2021-11-02 23:04:42 +01:00
Maxi Wolff 1c0d7be28b
[python] Fix broken link 2021-11-02 23:00:02 +01:00
Maxi Wolff 0dd38667df
[compleseus] Fetch consult-yasnippet from melpa 2021-11-02 22:57:53 +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
Maxi Wolff 7ac303922e
[compleseus] Fix some small typos 2021-11-02 22:40:48 +01:00
Robert O'Connor 89d3482503 Add to the docs for compleseus about selecting a completion engine 2021-11-02 22:27:17 +01:00
Daniel Nicolai 22bfc8197d Add zonokai themes to themes-megapack layer
The documentation of the `themes-megapack` layer states that the layer provides
all themes included in the [theme gallery](https://themegallery.robdor.com/) by
Rob Merrell. However, this theme currently is missing from the layer.
2021-11-02 22:25:35 +01:00
Lucius Hu 7d39d7363b python: Update README.org
It turns out that we've already migrated to pylsp from pyls a while ago, except that README.org is not updated.
closes https://github.com/syl20bnr/spacemacs/issues/15036
2021-11-02 22:23:24 +01:00
Robert O'Connor 16ae20bcfe Update go layer docs since go get is deprecated
See https://golang.org/doc/go-get-install-deprecation
2021-11-02 22:22:09 +01:00
Maxi Wolff b926293c33
[doc] Improve wording
following suggestions from #15119
2021-11-02 22:19:59 +01:00
Benjamin Hipple 2dc6208174 [doc] Fix spelling mistake 2021-11-02 22:17:51 +01:00
Daniel Nicolai b1fe17d370 Open special-mode buffer in motion-state (not evilified)
Special mode and its derived mode(s) buffers were made evilified in PRs #14995
and #15050. However, special-mode is too aggressive (as 'warned' for already in
 #14995); it makes it hard to overwrite its keybindings (e.g. `evil-local-set-key`,
or using `evil-evilified-state-map` on a derived map have no effect).

Therefore it makes more sense to open the buffers in motion-state instead. This
state also does not hijack the `q` keybindings as defined by special-mode (see
https://www.gnu.org/software/emacs/manual/html_node/elisp/Basic-Major-Modes.html),
although it does still hijack its `g` keybinding, but evil navigation is
considered to have higher priority than revert-buffer anyway.
2021-11-02 22:15:13 +01:00
Rodrigo Virote Kassick 889f33216e helm-find-files-history requires prefix argument
Calling spacemacs/helm-find-files with prefix would cause an error
instead of popping helm-find-files-history before helm-find-files
2021-11-02 22:05:12 +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
Evan Klitzke 66e509f345 Remove helm-gitignore from git layer.
Related to #15117, this removes the helm-gitignore from the git layer because it
hasn't been updated to use the new git-modes package. The helm-gitignore
functionality isn't particularly useful anyway, it's just a utility to help
generate .gitignore files.

This change can be reverted if the upstream helm-gitignore package is fixed and
people find the functionality it provides to be useful.
2021-11-02 21:45:23 +01:00
Lucius Hu f4f8ad8fd7 git: migrate git{attributes,config,ignore}-mode to git-modes 2021-11-02 21:40:54 +01:00
SpacemacsBot 6cc5f4ec07 [bot] "documentation_updates" Tue Nov 2 20:29:57 UTC 2021 2021-11-02 21:33:48 +01:00
Julien Debon c93b6726bc LaTeX: Fix broken key binding 2021-11-02 21:28:55 +01:00
Robert O'Connor ae056660b2 Remove gist.el since it's unmaintained.
Comments out the elisp code but removes the README docs.

Closes #15093
2021-11-02 21:25:39 +01:00
Eugene Yaremenko 4f7246da07
use fetcher url for vertico-repeat package
vertico extensions aren't available yet
See https://github.com/minad/vertico/issues/83
2021-10-24 17:08:14 +03:00
Eugene Yaremenko 337c1108b9
require org-indent for space-doc
Under some conditions `org-indent-mode` was undefined.
2021-10-24 16:43:28 +03:00
Benjamin Hipple 6e512b80e1 [compleseus] Cleanup fetcher now that vertico-repeat is on elpa
elpa has the latest release tag, which includes vertico-repeat, so we can clean
this override up.
https://elpa.gnu.org/packages/vertico.html
https://github.com/minad/vertico/tree/0.14
2021-10-24 15:16:16 +03:00
Hans 256a4c0384
Update Bibtex Layer README (#15115) 2021-10-22 19:07:21 +00:00
JAremko f320524a55 Fetch info+ from GitHub
It seems that wiki doesn't work well with CI.
2021-10-21 17:00:07 +03:00