Replies: 1 comment 1 reply
-
Feature flagging LSP and DAP makes some sense since those features don't make sense in a WASM build (#8607). It's possible to load tree-sitter parsers from WASM so this feature would be enabled for a WASM build. Wrapping any and everywhere we use tree-sitter (motions, bracket matching, commands) with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think it might be a good idea to make all tree-sitter grammar features opt-out. This has several benefits:
hx
"in isolation"sudo hx
knowing that there are grammars installed, so I typically usesudo nano
instead.This gate should be enabled by default, to keep things as they are. If the flag is off, then
hx
is built like this::tree-sitter*
commands-{g,-grammar}
CLI flag, to prevent accidentalfetch
ing, and to avoid calling a C compiler withbuild
xtask
must not download or build any grammarsI'd be willing to help a bit, by adding the relevant
cfg
attributes. I have a tight schedule this month, so I can't promise anything :(Beta Was this translation helpful? Give feedback.
All reactions