init
This commit is contained in:
12
highlights/init.lua
Normal file
12
highlights/init.lua
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user