Closed mrjones2014 closed 1 year ago
I notice this isn't coloured in the original VS Code theme either:
...which seems a bit of a miss.
How does this look?
I used these highlights:
["@lsp.type.builtinAttribute.rust"] = { link = "Function" },
["@lsp.type.attributeBracket.rust"] = { link = "@punctuation.bracket.rust" },
["@lsp.type.generic.rust"] = { fg = theme.palette.red, style = config.styles.variables },
That looks great! Should I copy those to my config or will you be adding those to the default Rust highlights?
I've merged into main
! Thanks for raising...looks so much better.
Your
minimal.lua
configError messages
No response
Describe the bug
For example, this is not highlighted, which I typically put at the top of any
lib.rs
file:But kind without the
!
are highlighted correctly:Screenshot:
Looks like it needs an additional LSP semantic token highlight.
Reproduce the bug
cargo new example-crate
main.rs
to have the following contentsFinal checks
minimal.lua
config file above and still get the issue:checkhealth treesitter