Files
AstroConfig/highlights/init.lua
2023-11-03 21:04:02 +01:00

13 lines
421 B
Lua

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