PreProc = { fg = nord.nord9_gui }, -- generic Preprocessor
Include = { fg = nord.nord9_gui }, -- preprocessor #include
Define = { fg = nord.nord9_gui }, -- preprocessor #define
- Macro = { fg = nord.nord8_gui }, -- same as Define
- Typedef = { fg = nord.nord8_gui }, -- A typedef
+ Macro = { fg = nord.nord9_gui }, -- same as Define
+ Typedef = { fg = nord.nord9_gui }, -- A typedef
PreCondit = { fg = nord.nord13_gui }, -- preprocessor #if, #else, #endif, etc.
Special = { fg = nord.nord4_gui }, -- any special symbol
SpecialChar = { fg = nord.nord13_gui }, -- special character in a constant
Ignore = { fg = nord.disabled }, -- left blank, hidden
Error = { fg = nord.error, bg = nord.none, style = 'bold,underline' }, -- any erroneous construct
Todo = { fg = nord.nord13_gui, bg = nord.none, style = 'bold,italic' }, -- anything that needs extra attention; mostly the keywords TODO FIXME and XXX
+ Conceal = { fg = node.none, bg = nord.bg },
+
htmlLink = { fg = nord.link, style = "underline" },
htmlH1 = { fg = nord.nord8_gui, style = "bold" },
if color.link then vim.cmd("highlight! link " .. group .. " " .. color.link) end
end
--- Only define Moonlight if it's the active colorshceme
+-- Only define nord if it's the active colorshceme
function util.onColorScheme()
if vim.g.colors_name ~= "nord" then
- vim.cmd [[autocmd! Moonlight]]
- vim.cmd [[augroup! Moonlight]]
+ vim.cmd [[autocmd! nord]]
+ vim.cmd [[augroup! nord]]
end
end
-- Change the background for the terminal, packer and qf windows
util.contrast = function ()
- vim.cmd [[augroup Moonlight]]
+ vim.cmd [[augroup nord]]
vim.cmd [[ autocmd!]]
vim.cmd [[ autocmd ColorScheme * lua require("nord.util").onColorScheme()]]
vim.cmd [[ autocmd TermOpen * setlocal winhighlight=Normal:NormalFloat,SignColumn:NormalFloat]]