This commit is contained in:
2023-11-03 21:04:02 +01:00
commit 3b1035fd35
14 changed files with 372 additions and 0 deletions

12
highlights/init.lua Normal file
View File

@@ -0,0 +1,12 @@
return function()
-- Remove italic in documentation comments
local docComment = vim.api.nvim_get_hl(0, { name = "Comment" })
docComment.italic = false
docComment.nocombine = true -- Don't merge missing attributes from inherited highlight group
return {
["@comment.doc"] = docComment,
["@comment.documentation"] = docComment,
["@lsp.mod.documentation"] = docComment,
}
end