Commit graph

13 commits

Author SHA1 Message Date
Jeetaditya Chatterjee
4696f0d4ce
tweak(syntax): feat gate flycheck in all modules 2023-07-25 00:11:09 +01:00
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Henrik Lissner
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
Henrik Lissner
173396a963
merge: pull request #5401 from jeetelongname/tree-sitter 2022-06-17 22:55:42 +02:00
Nils "Linkpy" Reid
3ea4952f3f fix(zig): use zig ast-check for flycheck checker 2022-06-17 18:37:53 +02:00
Jeetaditya Chatterjee
6d10e205dd
feat(tree-sitter): add support to zig and nix 2022-05-23 20:02:22 +01: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
Henrik Lissner
273d561762 fix(zig): rely on :editor format alone
Otherwise, two formatters are run if :editor format is enabled.

Fix: #5817
2021-11-23 13:06:34 +01:00
Henrik Lissner
2cecf3bf84
Minor refactors 2021-04-14 13:30:13 -04:00
Benjamin Tan
66569e4d88
Shift (when (featurep! +lsp)) expression outside of use-package 2021-04-05 22:43:33 +08:00
Benjamin Tan
6085102766
Remove duplicate :mode declaration
`zig-mode` already adds handles it.
2021-04-05 16:21:31 +08:00
Benjamin Tan
27c553782a
Simplify map! call 2021-04-05 16:21:31 +08:00
Benjamin Tan
28705030e0
Add :lang zig module 2021-04-05 16:21:31 +08:00