Closed hungnguyen1503 closed 1 year ago
Yeah treesitter often has trouble with macros. What are you using to grey out the undeclared macro? LSP tokens? If so, it's probably a highlight priority issue, you can probably fix it by lowering hlargs' priority:
require('hlargs').setup {
...
hl_priority = 20,
}
Try playing around with the value a bit and see if that helps
Hi @m-demare,
My issue is fixed by your configuration. Thank you for your support.
Describe the bug When the macros aren't declared, the arguments are still highlighted.
Expected behavior Could you please support me with a config to fix it?
Screenshots or sample file
System information