fix: link @lsp.type.comment.c, @lsp.type.comment.cpp to @comment (#282)

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:
Ilya Kuporosov 2024-07-03 14:23:19 -07:00 committed by GitHub
commit 69b3aa9500

View file

@ -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" },