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