feat: Added option for italic_comments
This commit is contained in:
parent
112d3866a5
commit
a49f62d3c6
@ -11,6 +11,7 @@ M.ui = {
|
|||||||
"onedark",
|
"onedark",
|
||||||
"gruvchad",
|
"gruvchad",
|
||||||
},
|
},
|
||||||
|
italic_comments = false,
|
||||||
|
|
||||||
-- Enable this only if your terminal has the colorscheme set which nvchad uses
|
-- Enable this only if your terminal has the colorscheme set which nvchad uses
|
||||||
-- For Ex : if you have onedark set in nvchad , set onedark's bg color on your terminal
|
-- For Ex : if you have onedark set in nvchad , set onedark's bg color on your terminal
|
||||||
|
@ -11,6 +11,7 @@ M.ui = {
|
|||||||
"onedark",
|
"onedark",
|
||||||
"gruvchad",
|
"gruvchad",
|
||||||
},
|
},
|
||||||
|
italic_comments = false,
|
||||||
|
|
||||||
-- Enable this only if your terminal has the colorscheme set which nvchad uses
|
-- Enable this only if your terminal has the colorscheme set which nvchad uses
|
||||||
-- For Ex : if you have onedark set in nvchad , set onedark's bg color on your terminal
|
-- For Ex : if you have onedark set in nvchad , set onedark's bg color on your terminal
|
||||||
|
@ -41,7 +41,16 @@ fg("IndentBlanklineChar", line)
|
|||||||
|
|
||||||
-- misc --
|
-- misc --
|
||||||
fg("LineNr", grey)
|
fg("LineNr", grey)
|
||||||
|
|
||||||
|
-- Comments
|
||||||
|
local ui = require("utils").load_config().ui
|
||||||
|
|
||||||
|
if ui.italic_comments then
|
||||||
|
cmd("hi Comment gui=italic guifg=" .. grey_fg)
|
||||||
|
else
|
||||||
fg("Comment", grey_fg)
|
fg("Comment", grey_fg)
|
||||||
|
end
|
||||||
|
|
||||||
fg("NvimInternalError", red)
|
fg("NvimInternalError", red)
|
||||||
fg("VertSplit", line)
|
fg("VertSplit", line)
|
||||||
fg("EndOfBuffer", black)
|
fg("EndOfBuffer", black)
|
||||||
|
Loading…
Reference in New Issue
Block a user