Skip to content

How to disable syntax highlighting without disabling LSP capabilities? #11892

Answered by pierrelgol
fidelicura asked this question in Q&A
Discussion options

You must be logged in to vote

I think that if you delete the grammar file than maybe it stops working ? I'm not sure but I remember one time, where I tried to install helix from source to test a branch, and everything worked well except for the syntax highlighting, which was fixed when doing a hx --grammar fetch && hx --grammar build, so maybe you could simply delete those files.
Another options could be to create your own theme and disable syntax highlighting by simply putting the same colour everywhere for each kind of tokens.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fidelicura
Comment options

Answer selected by fidelicura
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants