Commit Graph

11 Commits

Author SHA1 Message Date
a70e634ebd refactor(:lang): move tree-sitter init
Moved add-hook calls (for tree-sitter initialization) into their
respective modes' config blocks, or nearby, to be consistent with how
other, similar tools (like lsp!) are initialized, and does so at
runtime, rather than at expansion/compile time, which eval-when! caused.
2022-07-25 17:34:44 +02:00
7f814e5d99 refactor(:lang): redo tree-sitter hooks
- bind to major-mode-local-vars-hook instead of major mode hook
- bind the autodef tree-sitter! instead of the functions.
2022-05-22 21:26:08 +01:00
0c2f986708 feat(:lang): enable ts text objs in modes 2022-05-22 21:26:03 +01:00
06ed5ade3f refactor!(tree-sitter): add +tree-sitter flag
BREAKING CHANGE: break the global nature of the tree sitter
module by adding a +tree-sitter flag to every applicable module

In the background this hooks turn-on-tree-sitter-mode
to the major-mode-hook of the language.
This may also solve the eager loading of tree sitter
2022-05-22 21:26:00 +01:00
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
1d90a6a7cd Add json-mode keybindings 2020-10-06 19:52:02 +03:00
8bf902d5f4 General refactors & reformatting across the board 2020-06-04 20:13:28 -04:00
71c2932786 Use :when instead of (when ...) 2020-06-01 16:13:30 -05:00
cf9e2e6463 Fix: ivy-gate counsel-jq 2020-05-28 18:11:11 -05:00
2c158c8b81 Feat: add counsel-jq
Co-authored-by: rushsteve1 <rushsteve1@rushsteve1.us>
2020-05-28 10:14:19 -05:00
b151abfd34 Add :lang json module
Removes json-mode from :lang data and adds LSP support (#2502).
2020-04-23 23:28:50 -04:00