Jeetaditya Chatterjee
2cd40f7aa7
fix(tree-sitter): properly gatekeep ts text objs
...
before today all text objects were bound in all modes, now they have
been properly gatekept and only appear when `+tree-sitter-keys-mode` is
enabled / hooked, this allows for more flexibility and the ability to
arbitrarily disable / enable tree sitter text objects (which is nice)
2022-05-22 21:26:03 +01:00
Jeetaditya Chatterjee
66012fb413
bump: :tools tree-sitter
...
emacs-tree-sitter/elisp-tree-sitter@4d9871d239 -> emacs-tree-sitter/elisp-tree-sitter@8bbbfa4fc5
emacs-tree-sitter/tree-sitter-langs@fa47b55f7b -> emacs-tree-sitter/tree-sitter-langs@86a894a617
meain/evil-textobj-tree-sitter@eedc1f5461 -> meain/evil-textobj-tree-sitter@4d79ea7121
2022-05-22 21:26:03 +01:00
Jeetaditya Chatterjee
2a7442da74
nit(tree-sitter): cleanup
...
remove dead lines
remove old code comments
add in hack... thingy?
2022-05-22 21:26:02 +01:00
Ellis Kenyo
f39fb3afc1
fix(tree-sitter): adjust description for textobjs
...
Reduce the length of the description for evil text objects
2022-05-22 21:26:02 +01:00
Jeetaditya Chatterjee
8d27b2bf90
nit(tree-sitter): remove outdated comments
2022-05-22 21:26:01 +01:00
Jeetaditya Chatterjee
400d8d4116
feat(tree-sitter): bind textobjects to maps
...
Instead of binding all of the tree sitter text objects to every map
we only bind them to modes in the major-mode-language-alist
2022-05-22 21:26:00 +01:00
Jeetaditya Chatterjee
3fdd688356
feat(tree-sitter): ts-langs eagar loads on daemon
...
as ts-langs is quite heavy it makes sense to eagar load it when in
daemon mode to make the experience smoother overall
2022-05-22 21:26:00 +01:00
Jeetaditya Chatterjee
4eeb45f80b
fix(tree-sitter): lazy load tree-sitter-langs
...
Some how for some reason tree-sitter-langs managed to load. If if put
its require in the block of a lazy loaded package. it would load.
If i were to set its use-package call to load it after a lazy loaded
package. it would load.
a hook (and disabling it) were the only reliable ways to get it to lazy
load
2022-05-22 21:26:00 +01:00
Jeetaditya Chatterjee
4552064a5a
refactor(tree-sitter): move ts-langs into use-pkg
...
Move tree-sitter-langs into its own use-package call
This is to reflect an accepted code pattern seen in the rest of doom's
code.
This does not cause any user facing changes
2022-05-22 21:26:00 +01:00
Jeetaditya Chatterjee
cb269deed6
feat(tree-sitter): add function call text object
...
Changes:
- Bind `F` to the function call text object
- Add the text object to the table
- Realign table so it looks right to people who don't hide emphasis
markers
2022-05-22 21:25:59 +01:00
Jeetaditya Chatterjee
c0637e9e00
bump: :tools tree-sitter
...
emacs-tree-sitter/elisp-tree-sitter@588170ffbd -> emacs-tree-sitter/elisp-tree-sitter@4d9871d239
emacs-tree-sitter/tree-sitter-langs@81adcdc06a -> emacs-tree-sitter/tree-sitter-langs@fa47b55f7b
meain/evil-textobj-tree-sitter@fe4d738486 -> meain/evil-textobj-tree-sitter@eedc1f5461
2022-05-22 21:25:59 +01:00
Jeetaditya Chatterjee
9a34308246
bump: :tools tree-sitter
...
emacs-tree-sitter/elisp-tree-sitter@c7a1c34549 -> emacs-tree-sitter/elisp-tree-sitter@588170ffbd
emacs-tree-sitter/tree-sitter-langs@e7b8db7c40 -> emacs-tree-sitter/tree-sitter-langs@81adcdc06a
meain/evil-textobj-tree-sitter@f20598676f -> meain/evil-textobj-tree-sitter@fe4d738486
2022-05-22 21:25:59 +01:00
Jeetaditya Chatterjee
e72930c433
docs(tree-sitter): add better wording to readme
2022-05-22 21:25:59 +01:00
Daanturo
76d38ddc63
refactor(tree-sitter): remove doom-tree-sitter-fail-gracefully-a
...
Use turn-on-tree-sitter-mode instead of tree-sitter-mode directly
because the former now ignore errors.
2022-05-22 21:25:59 +01:00
Jeetaditya Chatterjee
56432f1649
test(tree-sitter): remove test.js
...
It does not belong in the module or the repo
2022-05-22 21:25:59 +01:00
Jeetaditya Chatterjee
6dd678a53c
docs(tree-sitter): mention text object bindings
2022-05-22 21:25:58 +01:00
Jeetaditya Chatterjee
727fcb2fcc
nit(tree-sitter): add rationale for debug mode var
2022-05-22 21:25:58 +01:00
Jeetaditya Chatterjee
afb1694b2b
docs(tree-sitter): add links to support in feature
...
- Add two feature subsections discussing with links to
- languages that have parsers
- languages that have highlighting support
- languages that have text object support and what text objects they
- have support for
- Fix capitalisation
2022-05-22 21:25:58 +01:00
Jeetaditya Chatterjee
9251ea9db7
docs(tree-sitter): add doctor check for modules
...
modules support it required by tree sitter to work.
2022-05-22 21:25:58 +01:00
Jeetaditya Chatterjee
b610b47b90
docs(tree-sitter): make wording more verbose
...
include 'like other text objects' to draw similarities and make the use
case clear
2022-05-22 21:25:57 +01:00
Jeetaditya Chatterjee
145d75eaaa
fix(tree-sitter): bind text-objs to keys
2022-05-22 21:25:57 +01:00
Jeetaditya Chatterjee
74a444db00
fix(tree-sitter): feature gate evil-textobj-ts
...
where ts stands for tree sitter
Only install 'evil-textobj-treesitter' if :editor evil +everywhere is
enabled
Also Comment which text objs are not currently not working
2022-05-22 21:25:57 +01:00
Jeetaditya Chatterjee
862e7980d8
module: add :tools tree-sitter
...
This module installs 'tree-sitter' and 'tree-sitter-langs' as well as
the 'evil-textobj-treesitter' and configures them.
This module is based on the prototype module that @hlissner has started
and I am just fleshing out that work.
It also comes with a README file
Fix : #4151
2022-05-22 21:25:57 +01:00
Itai Y. Efrat
258104f750
refactor(lsp): remove emacs 26 workarounds
2022-05-05 02:19:52 +02:00
Itai Y. Efrat
136e7df76e
bump: :completion vertico consult-lsp
...
gagbo/consult-lsp@5a3c4e3f42 -> gagbo/consult-lsp@a8eb3a062f
iyefrat/all-the-icons-completion@9e7d456b09 -> iyefrat/all-the-icons-completion@286e2c064a
minad/consult@36b8bc7065 -> minad/consult@d30213aa20
minad/marginalia@a514c024ac -> minad/marginalia@dbc37b373e
minad/vertico@7ec0f0c076 -> minad/vertico@46e8e05650
Close : #6279
Close : #6277
2022-04-12 02:32:20 +02:00
Daanturo
7ada538991
perf(lookup): defer consult-xref
...
`consult-xref` is autoloaded anyway. There are some packages that
require `xref` (such as lispy through requiring etags) so without
deferring, loading those packages may cause `consult.el` to be loaded.
2022-04-03 14:22:10 +02:00
Henrik Lissner
bab5bffa5d
bump: :tools
...
SavchenkoValeriy/emacs-powerthesaurus@02c9d11a3f -> SavchenkoValeriy/emacs-powerthesaurus@810a25056c
Silex/docker.el@8d64cf4f84 -> Silex/docker.el@fbd896e313
alphapapa/magit-todos@60152d5c4e -> alphapapa/magit-todos@67fd80c2f1
bdarcus/citar@79512aefdf -> bdarcus/citar@ee98b94f7f
editorconfig/editorconfig-emacs@3c03cef311 -> editorconfig/editorconfig-emacs@1d4acc3ec7
emacsorphanage/quickrun@78317951cd -> emacsorphanage/quickrun@c680f5137c
joaotavora/eglot@83a61f673a -> joaotavora/eglot@fd9a5646d1
magit/forge@5586863f98 -> magit/forge@eed613db88
magit/magit@4e29d5827c -> magit/magit@b4be194de1
millejoh/emacs-ipython-notebook@6063cee7fb -> millejoh/emacs-ipython-notebook@e04e1e19c6
tkf/emacs-request@3336eaa97d -> tkf/emacs-request@c769cf33f2
vedang/pdf-tools@72ef774320 -> vedang/pdf-tools@326552eef7
zx2c4/password-store@eea24967a0 -> zx2c4/password-store@c4d8a1d815
2022-03-31 19:25:50 +02:00
Henrik Lissner
44dee4033f
bump: :tools debugger lsp
...
emacs-lsp/dap-mode@6933fca0b5 -> emacs-lsp/dap-mode@f918c0580b
emacs-lsp/lsp-mode@c6482c1bbf -> emacs-lsp/lsp-mode@1e7128c43f
gagbo/consult-lsp@f4f195046b -> gagbo/consult-lsp@5a3c4e3f42
joaotavora/eglot@f775187115 -> joaotavora/eglot@83a61f673a
- Fixes support for newer versions of rust-analyzer (#6214 ).
- Fixes an issue where the diagnostics list from consult-lsp-diagnostics
weren't properly sorted by severity (#6220 ).
Ref: gagbo/consult-lsp#21
Close : #6220
Close : #6214
2022-03-30 17:32:47 +02:00
Henrik Lissner
d58d084774
tweak(:lang,:tools): start eglot/lsp-mode later
...
To ensure lsp/eglot settings have precedence over local servers (e.g.
cider and lookup handlers).
Ref: clojure-emacs/cider#3170
2022-03-30 17:32:47 +02:00
KARASZI István
5e6689fe5e
bump: :tools direnv
...
purcell/envrc@e161624b91 -> purcell/envrc@57d78f0138
- `envrc` added support for `.env` files (beyond `.envrc`).
2022-03-19 17:03:09 +01:00
Henrik Lissner
2372365fb8
bump: :tools debugger lsp
...
emacs-lsp/dap-mode@76cad34de8 -> emacs-lsp/dap-mode@6933fca0b5
emacs-lsp/lsp-mode@cb7ec94435 -> emacs-lsp/lsp-mode@c6482c1bbf
joaotavora/eglot@0f352213fc -> joaotavora/eglot@f775187115
Close : #6179
2022-03-19 16:43:44 +01:00
Luis Osa
09b3004abe
feat(magit): add evil keybinds for code-review
...
Add the two main keybindings expected in the README of code-review: `r`
for a transient menu with all actions and `RET` to add or edit a
comment. Both should only be enabled while in a `*Code Review*` buffer.
Ref: https://github.com/wandersoncferreira/code-review
2022-03-19 16:18:58 +01:00
Henrik Lissner
aac2c65826
tweak(magit): shrink right fringe
...
The right fringe isn't used for anything, so it was wasted space.
Also applies to org-roam's backlinks buffer.
2022-02-14 21:24:46 +01:00
Henrik Lissner
8cbfbce394
fix(magit,org): show fringe in org-roam side window
...
Otherwise, the fringe (and its nice magit chevrons) aren't visible to
org-roam users.
2022-02-06 03:27:08 +01:00
Henrik Lissner
7246db457c
docs: replace doom-source with doom-repo links
...
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
Henrik Lissner
b05b9c5405
bump: :tools
...
andras-simonyi/citeproc-el@9f783967c1 -> andras-simonyi/citeproc-el@ba49516265
bdarcus/citar@b24b5b94b7 -> bdarcus/citar@79512aefdf
cjohansson/emacs-ssh-deploy@7c5fe8af2d -> cjohansson/emacs-ssh-deploy@9311f9b4f8
editorconfig/editorconfig-emacs@2ab86dc9a8 -> editorconfig/editorconfig-emacs@3c03cef311
emacs-lsp/lsp-mode@f49ea4e365 -> emacs-lsp/lsp-mode@cb7ec94435
joaotavora/eglot@dade5a1487 -> joaotavora/eglot@0f352213fc
k1LoW/emacs-ansible@40af0d2bbb -> k1LoW/emacs-ansible@d89ac0ee57
magit/forge@0ff9b8a0de -> magit/forge@5586863f98
magit/magit@0ac05f3962 -> magit/magit@4e29d5827c
paradoxxxzero/jinja2-mode@ecd19a40b7 -> paradoxxxzero/jinja2-mode@03e5430a7e
purcell/envrc@456c4100de -> purcell/envrc@e161624b91
tmalsburg/helm-bibtex@aa775340ba -> tmalsburg/helm-bibtex@db73156576
tmalsburg/helm-bibtex@aa775340ba -> tmalsburg/helm-bibtex@db73156576
tumashu/posframe@6c0e63d6b3 -> tumashu/posframe@c91d4d53fa
vedang/pdf-tools@4e6c778194 -> vedang/pdf-tools@72ef774320
zx2c4/password-store@04cd3023f4 -> zx2c4/password-store@eea24967a0
2022-01-30 02:42:54 +01:00
Anh T Nguyen
0451c9b0bc
docs(lsp): link to LSP tuning guide
2022-01-29 20:08:17 +01:00
Wolfhard Prell
d7f9c1b7af
fix(tmux): +tmux/rerun fails due to malformed +tmux-last-command
2022-01-28 21:02:05 +01:00
Henrik Lissner
265afc9e07
fix(biblio): void-variable citar-bibliography
...
A variable is referred to before its containing package is defined.
Amend: 5656a96a1b
Fix : #6047
Ref: #6016
2022-01-27 14:40:45 +01:00
Henrik Lissner
7290f85cfd
feat(eval): set load-true-file-name & buffer-file-truename
...
So they are available in evaluated contexts.
2022-01-27 03:50:52 +01:00
Bruce D'Arcus
5656a96a1b
refactor(biblio): update citar config
...
- Remove outdated config for org-roam.
- Set org-cite-bibliography to citar-bibliography
Ref: #6016
Co-authored-by: Bruce D'Arcus <bdarcus@users.noreply.github.com>
2022-01-27 03:46:48 +01:00
Henrik Lissner
29536a22f0
bump: :tools lsp
...
emacs-lsp/lsp-mode@c228bce435 -> emacs-lsp/lsp-mode@f49ea4e365
joaotavora/eglot@2c0f262c24 -> joaotavora/eglot@dade5a1487
- lsp-mode now properly installs kotlin-language-server from the correct
URL (#5984 ).
Fix : #5984
Ref: emacs-lsp/lsp-mode#3315
2022-01-12 16:48:22 +01:00
Henrik Lissner
3df8903071
bump: :tools
...
andras-simonyi/citeproc-el@538fed794c -> andras-simonyi/citeproc-el@9f783967c1
bdarcus/citar@51b30f2e40 -> bdarcus/citar@b24b5b94b7
emacs-lsp/lsp-mode@3d6a01dde9 -> emacs-lsp/lsp-mode@c228bce435
gagbo/consult-lsp@aaa9a31bc8 -> gagbo/consult-lsp@f4f195046b
joaotavora/eglot@28092ba3af -> joaotavora/eglot@2c0f262c24
magit/forge@a44afa81f1 -> magit/forge@0ff9b8a0de
magit/magit@2e73b66c29 -> magit/magit@0ac05f3962
millejoh/emacs-ipython-notebook@c6696c12eb -> millejoh/emacs-ipython-notebook@6063cee7fb
purcell/envrc@8a9a142cf9 -> purcell/envrc@456c4100de
realgud/realgud@978b455d7d -> realgud/realgud@3c88611c4e
tumashu/posframe@3b1dc400d2 -> tumashu/posframe@6c0e63d6b3
vedang/pdf-tools@a8847b75d3 -> vedang/pdf-tools@4e6c778194
wandersoncferreira/code-review@136c0933ba -> wandersoncferreira/code-review@ccc3795a72
yoshiki/yaml-mode@63b637f846 -> yoshiki/yaml-mode@a79d2a7b92
Close : #5977
Ref: emacs-lsp/lsp-mode#3295
2022-01-12 01:55:34 +01:00
Henrik Lissner
2a515c683a
bump: :tools lookup
...
abo-abo/define-word@6e4a427503 -> abo-abo/define-word@31a8c67405
Ref: abo-abo/define-word#31
2022-01-04 20:59:28 +01:00
Henrik Lissner
f491dd9e7b
fix(magit): gate code-review behind +forge
...
code-review requires forge, therefore it shouldn't be available if
+forge isn't enabled on the :tools magit module.
Ref: 2d3a68df49
Fix : #5935
2022-01-03 19:13:09 +01:00
Henrik Lissner
b88eb77605
merge: pull request #5908 from ethan-leba/repl-handler
...
Add :send-region and :send-buffer options to `set-repl-handler!`
2022-01-03 18:12:31 +01:00
Björn Larsson
1a0fd1b7ec
fix(magit): unbind M-1 etc. for code-review
...
code-review is built on magit-sections so it will have the same default
bindings for M-1, M-2 etc. To be consistent with the rest of doom, those
should be used for switching workspace and z1, z2 etc should be used for
toggling outlines in a magit-sections buffer.
This only affects users with :editor (evil +everywhere) enabled.
Amend: 2d3a68df49
2022-01-03 18:10:17 +01:00
Zero King
7423eef243
docs(lookup): fix typos
2022-01-03 18:05:56 +01:00
Henrik Lissner
659b0ebc1b
fix(lsp): lsp--matching-clients? -> lsp--supports-buffer?
...
Ref: #5933
Amend: 0cb8d1416f
Co-authored-by: Samuel Tschiedel <mukaobr@gmail.com>
2022-01-03 18:02:29 +01:00
Henrik Lissner
e8551ded5f
bump: :tools magit
...
magit/forge@402773ef7e -> magit/forge@a44afa81f1
magit/magit@65c4485e19 -> magit/magit@2e73b66c29
wandersoncferreira/code-review@b0bedbdb30 -> wandersoncferreira/code-review@136c0933ba
Close : #5947
2022-01-03 16:51:51 +01:00