diff options
| author | Nysal Jan K.A. <nysal@linux.ibm.com> | 2023-11-29 22:22:16 +0530 |
|---|---|---|
| committer | Nysal Jan K.A. <nysal@linux.ibm.com> | 2023-11-29 22:22:16 +0530 |
| commit | f77cf2f7150852b9901c6437a0c24e5d2bf6c73b (patch) | |
| tree | 26d0be5d56e8d0022d34d253e8741118f16a9266 | |
| parent | 517b012757fbe7a4d6e507baf5cc75837e62734f (diff) | |
| download | gruvbox-f77cf2f7150852b9901c6437a0c24e5d2bf6c73b.tar.gz gruvbox-f77cf2f7150852b9901c6437a0c24e5d2bf6c73b.tar.xz | |
fix(semantic_tokens): link LSP comments
Comment out conditionally compiled code (C/C++) if inactive
Fixes ellisonleao/gruvbox.nvim#300
Signed-off-by: Nysal Jan K.A. <jnysal@gmail.com>
| -rw-r--r-- | lua/gruvbox.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/gruvbox.lua b/lua/gruvbox.lua index e45da9b..a1430ef 100644 --- a/lua/gruvbox.lua +++ b/lua/gruvbox.lua @@ -1023,7 +1023,7 @@ local function get_groups() ["@macro"] = { link = "Macro" }, ["@structure"] = { link = "Structure" }, ["@lsp.type.class"] = { link = "@type" }, - ["@lsp.type.comment"] = {}, -- do not overwrite comments + ["@lsp.type.comment"] = { link = "@comment" }, ["@lsp.type.decorator"] = { link = "@macro" }, ["@lsp.type.enum"] = { link = "@type" }, ["@lsp.type.enumMember"] = { link = "@constant" }, |
