mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix: link @lsp.type.comment.c, @lsp.type.comment.cpp to @comment
It fixes branches of conditional directives like `#if` and `#ifdef` in C and C++ appearing as if they both are true, without breaking TODO comments.
This commit is contained in:
parent
e10c9c6436
commit
6498514538
1 changed files with 2 additions and 0 deletions
|
|
@ -407,6 +407,8 @@ local function set_highlights()
|
|||
|
||||
--- Semantic
|
||||
["@lsp.type.comment"] = {},
|
||||
["@lsp.type.comment.c"] = { link = "@comment" },
|
||||
["@lsp.type.comment.cpp"] = { link = "@comment" },
|
||||
["@lsp.type.enum"] = { link = "@type" },
|
||||
["@lsp.type.interface"] = { link = "@interface" },
|
||||
["@lsp.type.keyword"] = { link = "@keyword" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue