Closed bmalehorn closed 3 years ago
Got this working, in this branch: https://github.com/bmalehorn/vscode-fish/tree/semantic-tokens
However, fish_indent --dump-parse-tree
parsing is very basic and only intended for indenting. For instance, it doesn't distinguish between a regular argument foo
and a string "foo"
. So it can't be used to do all highlighting.
Or, use
fish_indent --dump-parse-tree
, which includes offsets.fish_indent --dump-parse-tree
on save (or automatically with temp file?)