You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nixd/docs/features.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,13 +32,16 @@ Screenshots:
32
32
33
33
### Semantic Tokens
34
34
35
+
> [!WARNING]
36
+
> This feature is experimental and not enabled by default.
37
+
35
38
[nixd language server](https://github.com/nix-community/nixd) tries to make some tokens looks different by sending your editor some integers.
36
39
However, types in nix language is pretty different from standard LSP types.
37
40
So, as a result, attrnames, selection, variables are colored as different integers,
38
41
but the colors may, or may not rendered properly in your editor.
39
42
40
43
> [!TIP]
41
-
> `--semantic-tokens=false` to disable the feature.
0 commit comments