Replies: 1 comment
-
Helix uses treesitter grammars for syntax highlighting which can currently not display semantic information. Other editors achieve this using LSP semantic highlighting (see #814) but that is not supported in helix (and there is hesitancy about supporting it for performance reasons). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The code inside "#if 0" is not greyed out.
Reproduction Steps
"""
#include <maith.h>
#include <stdio.h>
int main()
{
#if 0
int i;
int j;
int k;
int l;
int m;
i = 1;
j = i +1;
#endif
int a;
return 0;
}
"""
Open above code in hx
I expected this to happen (what happened in vim)
Instead, this happened:
Helix log
No response
Platform
macOS/Linux
Terminal Emulator
tmux
Helix Version
helix 22.08.1 (590a628)
Beta Was this translation helpful? Give feedback.
All reactions