How to disable syntax highlighting without disabling LSP capabilities? #11892
-
This question may sound strange, but I prefer not to use syntax highlighting because it allows me to better focus on the code as meaningful text. Is it possible to turn off the syntax highlight without loosing LSP autosuggestions/goto/etc? I tried |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
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.