diff --git a/doc/nightfox.txt b/doc/nightfox.txt index a0244e66..dbafce9a 100644 --- a/doc/nightfox.txt +++ b/doc/nightfox.txt @@ -468,6 +468,7 @@ Current list of modules are: - aerial - barbar - cmp +- coc - dap-ui - dashboard - diagnostic @@ -499,12 +500,34 @@ Current list of modules are: EXTENDED MODULES ~ + *nightfox-modules.coc* + +modules.coc This module sets highlight groups from + `neoclide/coc.nvim`. + + +│ key │ type │default │ description │ +│enable │boolean│true │Enable the module to be included │ +│background│boolean│true │Set virtual text background color│ + + *nightfox-modules.diagnostic* modules.diagnostic This module sets highlight groups from `vim.diagnostic`. +│ key │ type │default │ description │ +│enable │boolean│true │Enable the module to be included │ +│background│boolean│true │Set virtual text background color│ + + + *nightfox-modules.native_lsp* + +modules.native_lsp This module sets highlight groups from + neovim’s builtin `lsp`. + + │ key │ type │default │ description │ │enable │boolean│true │Enable the module to be included │ │background│boolean│true │Set virtual text background color│ diff --git a/lua/nightfox/config.lua b/lua/nightfox/config.lua index 07e14ab6..289f91ee 100644 --- a/lua/nightfox/config.lua +++ b/lua/nightfox/config.lua @@ -30,6 +30,10 @@ local defaults = { aerial = true, barbar = true, cmp = true, + coc = { + enable = true, + background = true, + }, dap_ui = true, dashboard = true, diagnostic = { @@ -48,7 +52,10 @@ local defaults = { lsp_trouble = true, mini = true, modes = true, - native_lsp = true, + native_lsp = { + enable = true, + background = true, + }, neogit = true, neotree = true, notify = true, diff --git a/lua/nightfox/group/modules/coc.lua b/lua/nightfox/group/modules/coc.lua new file mode 100644 index 00000000..839d7986 --- /dev/null +++ b/lua/nightfox/group/modules/coc.lua @@ -0,0 +1,13 @@ +-- https://github.com/neoclide/coc.nvim + +local M = {} + +function M.get(spec, config, opts) + local syn = spec.syntax + + return { + CocInlayHint = { fg = syn.comment, bg = opts.background and spec.bg2 or "NONE" }, + } +end + +return M diff --git a/lua/nightfox/group/modules/native_lsp.lua b/lua/nightfox/group/modules/native_lsp.lua index 642e9880..d61d57c3 100644 --- a/lua/nightfox/group/modules/native_lsp.lua +++ b/lua/nightfox/group/modules/native_lsp.lua @@ -1,6 +1,8 @@ local M = {} function M.get(spec, config, opts) + local syn = spec.syntax + -- stylua: ignore return { -- These groups are for the native LSP client. Some other LSP clients may @@ -13,6 +15,8 @@ function M.get(spec, config, opts) LspCodeLens = { fg = spec.syntax.comment }, -- Used to color the virtual text of the codelens LspCodeLensSeparator = { fg = spec.fg3 }, -- Used to color the separator between two or more code lens LspSignatureActiveParameter = { fg = spec.sel1 }, -- Used to highlight the active parameter in the signature help + + LspInlayHint = { fg = syn.comment, bg = opts.background and spec.bg2 or "NONE" }, } end diff --git a/lua/nightfox/precompiled/nvim/carbonfox_compiled.lua b/lua/nightfox/precompiled/nvim/carbonfox_compiled.lua index 7436f147..c32dd95a 100644 --- a/lua/nightfox/precompiled/nvim/carbonfox_compiled.lua +++ b/lua/nightfox/precompiled/nvim/carbonfox_compiled.lua @@ -62,6 +62,7 @@ vim.api.nvim_set_hl(0, "CmpItemKindUnit", { link = "Constant" }) vim.api.nvim_set_hl(0, "CmpItemKindValue", { link = "Keyword" }) vim.api.nvim_set_hl(0, "CmpItemKindVariable", { link = "TSVariable" }) vim.api.nvim_set_hl(0, "CmpItemMenu", { link = "Comment" }) +vim.api.nvim_set_hl(0, "CocInlayHint", { bg = "#252525", fg = "#6e6f70" }) vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#252525" }) vim.api.nvim_set_hl(0, "Comment", { fg = "#6e6f70" }) vim.api.nvim_set_hl(0, "Conceal", { fg = "#535353" }) @@ -172,6 +173,7 @@ vim.api.nvim_set_hl(0, "LspCodeLens", { fg = "#6e6f70" }) vim.api.nvim_set_hl(0, "LspCodeLensSeparator", { fg = "#7b7c7e" }) vim.api.nvim_set_hl(0, "LspFloatWinBorder", { fg = "#7b7c7e" }) vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#0c0c0c" }) +vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#252525", fg = "#6e6f70" }) vim.api.nvim_set_hl(0, "LspReferenceRead", { bg = "#2a2a2a" }) vim.api.nvim_set_hl(0, "LspReferenceText", { bg = "#2a2a2a" }) vim.api.nvim_set_hl(0, "LspReferenceWrite", { bg = "#2a2a2a" }) diff --git a/lua/nightfox/precompiled/nvim/dawnfox_compiled.lua b/lua/nightfox/precompiled/nvim/dawnfox_compiled.lua index 6381bad3..34f49b8b 100644 --- a/lua/nightfox/precompiled/nvim/dawnfox_compiled.lua +++ b/lua/nightfox/precompiled/nvim/dawnfox_compiled.lua @@ -62,6 +62,7 @@ vim.api.nvim_set_hl(0, "CmpItemKindUnit", { link = "Constant" }) vim.api.nvim_set_hl(0, "CmpItemKindValue", { link = "Keyword" }) vim.api.nvim_set_hl(0, "CmpItemKindVariable", { link = "TSVariable" }) vim.api.nvim_set_hl(0, "CmpItemMenu", { link = "Comment" }) +vim.api.nvim_set_hl(0, "CocInlayHint", { bg = "#ebe0df", fg = "#9893a5" }) vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#ebe0df" }) vim.api.nvim_set_hl(0, "Comment", { fg = "#9893a5" }) vim.api.nvim_set_hl(0, "Conceal", { fg = "#bdbfc9" }) @@ -172,6 +173,7 @@ vim.api.nvim_set_hl(0, "LspCodeLens", { fg = "#9893a5" }) vim.api.nvim_set_hl(0, "LspCodeLensSeparator", { fg = "#a8a3b3" }) vim.api.nvim_set_hl(0, "LspFloatWinBorder", { fg = "#a8a3b3" }) vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#ebe5df" }) +vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#ebe0df", fg = "#9893a5" }) vim.api.nvim_set_hl(0, "LspReferenceRead", { bg = "#d0d8d8" }) vim.api.nvim_set_hl(0, "LspReferenceText", { bg = "#d0d8d8" }) vim.api.nvim_set_hl(0, "LspReferenceWrite", { bg = "#d0d8d8" }) diff --git a/lua/nightfox/precompiled/nvim/dayfox_compiled.lua b/lua/nightfox/precompiled/nvim/dayfox_compiled.lua index a789e836..7f5e746c 100644 --- a/lua/nightfox/precompiled/nvim/dayfox_compiled.lua +++ b/lua/nightfox/precompiled/nvim/dayfox_compiled.lua @@ -62,6 +62,7 @@ vim.api.nvim_set_hl(0, "CmpItemKindUnit", { link = "Constant" }) vim.api.nvim_set_hl(0, "CmpItemKindValue", { link = "Keyword" }) vim.api.nvim_set_hl(0, "CmpItemKindVariable", { link = "TSVariable" }) vim.api.nvim_set_hl(0, "CmpItemMenu", { link = "Comment" }) +vim.api.nvim_set_hl(0, "CocInlayHint", { bg = "#dbcece", fg = "#7f848e" }) vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#dbcece" }) vim.api.nvim_set_hl(0, "Comment", { fg = "#7f848e" }) vim.api.nvim_set_hl(0, "Conceal", { fg = "#bebebe" }) @@ -172,6 +173,7 @@ vim.api.nvim_set_hl(0, "LspCodeLens", { fg = "#7f848e" }) vim.api.nvim_set_hl(0, "LspCodeLensSeparator", { fg = "#2e537d" }) vim.api.nvim_set_hl(0, "LspFloatWinBorder", { fg = "#2e537d" }) vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#dbdbdb" }) +vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#dbcece", fg = "#7f848e" }) vim.api.nvim_set_hl(0, "LspReferenceRead", { bg = "#ced5de" }) vim.api.nvim_set_hl(0, "LspReferenceText", { bg = "#ced5de" }) vim.api.nvim_set_hl(0, "LspReferenceWrite", { bg = "#ced5de" }) diff --git a/lua/nightfox/precompiled/nvim/duskfox_compiled.lua b/lua/nightfox/precompiled/nvim/duskfox_compiled.lua index 881c4a52..7ef55cad 100644 --- a/lua/nightfox/precompiled/nvim/duskfox_compiled.lua +++ b/lua/nightfox/precompiled/nvim/duskfox_compiled.lua @@ -62,6 +62,7 @@ vim.api.nvim_set_hl(0, "CmpItemKindUnit", { link = "Constant" }) vim.api.nvim_set_hl(0, "CmpItemKindValue", { link = "Keyword" }) vim.api.nvim_set_hl(0, "CmpItemKindVariable", { link = "TSVariable" }) vim.api.nvim_set_hl(0, "CmpItemMenu", { link = "Comment" }) +vim.api.nvim_set_hl(0, "CocInlayHint", { bg = "#2d2a45", fg = "#817c9c" }) vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#2d2a45" }) vim.api.nvim_set_hl(0, "Comment", { fg = "#817c9c" }) vim.api.nvim_set_hl(0, "Conceal", { fg = "#4b4673" }) @@ -172,6 +173,7 @@ vim.api.nvim_set_hl(0, "LspCodeLens", { fg = "#817c9c" }) vim.api.nvim_set_hl(0, "LspCodeLensSeparator", { fg = "#6e6a86" }) vim.api.nvim_set_hl(0, "LspFloatWinBorder", { fg = "#6e6a86" }) vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#191726" }) +vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#2d2a45", fg = "#817c9c" }) vim.api.nvim_set_hl(0, "LspReferenceRead", { bg = "#433c59" }) vim.api.nvim_set_hl(0, "LspReferenceText", { bg = "#433c59" }) vim.api.nvim_set_hl(0, "LspReferenceWrite", { bg = "#433c59" }) diff --git a/lua/nightfox/precompiled/nvim/nightfox_compiled.lua b/lua/nightfox/precompiled/nvim/nightfox_compiled.lua index d62a7e7a..a6be743e 100644 --- a/lua/nightfox/precompiled/nvim/nightfox_compiled.lua +++ b/lua/nightfox/precompiled/nvim/nightfox_compiled.lua @@ -62,6 +62,7 @@ vim.api.nvim_set_hl(0, "CmpItemKindUnit", { link = "Constant" }) vim.api.nvim_set_hl(0, "CmpItemKindValue", { link = "Keyword" }) vim.api.nvim_set_hl(0, "CmpItemKindVariable", { link = "TSVariable" }) vim.api.nvim_set_hl(0, "CmpItemMenu", { link = "Comment" }) +vim.api.nvim_set_hl(0, "CocInlayHint", { bg = "#212e3f", fg = "#738091" }) vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#212e3f" }) vim.api.nvim_set_hl(0, "Comment", { fg = "#738091" }) vim.api.nvim_set_hl(0, "Conceal", { fg = "#39506d" }) @@ -172,6 +173,7 @@ vim.api.nvim_set_hl(0, "LspCodeLens", { fg = "#738091" }) vim.api.nvim_set_hl(0, "LspCodeLensSeparator", { fg = "#71839b" }) vim.api.nvim_set_hl(0, "LspFloatWinBorder", { fg = "#71839b" }) vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#131a24" }) +vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#212e3f", fg = "#738091" }) vim.api.nvim_set_hl(0, "LspReferenceRead", { bg = "#2b3b51" }) vim.api.nvim_set_hl(0, "LspReferenceText", { bg = "#2b3b51" }) vim.api.nvim_set_hl(0, "LspReferenceWrite", { bg = "#2b3b51" }) diff --git a/lua/nightfox/precompiled/nvim/nordfox_compiled.lua b/lua/nightfox/precompiled/nvim/nordfox_compiled.lua index c87a79b7..940d14db 100644 --- a/lua/nightfox/precompiled/nvim/nordfox_compiled.lua +++ b/lua/nightfox/precompiled/nvim/nordfox_compiled.lua @@ -62,6 +62,7 @@ vim.api.nvim_set_hl(0, "CmpItemKindUnit", { link = "Constant" }) vim.api.nvim_set_hl(0, "CmpItemKindValue", { link = "Keyword" }) vim.api.nvim_set_hl(0, "CmpItemKindVariable", { link = "TSVariable" }) vim.api.nvim_set_hl(0, "CmpItemMenu", { link = "Comment" }) +vim.api.nvim_set_hl(0, "CocInlayHint", { bg = "#39404f", fg = "#60728a" }) vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#39404f" }) vim.api.nvim_set_hl(0, "Comment", { fg = "#60728a" }) vim.api.nvim_set_hl(0, "Conceal", { fg = "#5a657d" }) @@ -172,6 +173,7 @@ vim.api.nvim_set_hl(0, "LspCodeLens", { fg = "#60728a" }) vim.api.nvim_set_hl(0, "LspCodeLensSeparator", { fg = "#7e8188" }) vim.api.nvim_set_hl(0, "LspFloatWinBorder", { fg = "#7e8188" }) vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#232831" }) +vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#39404f", fg = "#60728a" }) vim.api.nvim_set_hl(0, "LspReferenceRead", { bg = "#3e4a5b" }) vim.api.nvim_set_hl(0, "LspReferenceText", { bg = "#3e4a5b" }) vim.api.nvim_set_hl(0, "LspReferenceWrite", { bg = "#3e4a5b" }) diff --git a/lua/nightfox/precompiled/nvim/terafox_compiled.lua b/lua/nightfox/precompiled/nvim/terafox_compiled.lua index 671ad39d..215bf381 100644 --- a/lua/nightfox/precompiled/nvim/terafox_compiled.lua +++ b/lua/nightfox/precompiled/nvim/terafox_compiled.lua @@ -62,6 +62,7 @@ vim.api.nvim_set_hl(0, "CmpItemKindUnit", { link = "Constant" }) vim.api.nvim_set_hl(0, "CmpItemKindValue", { link = "Keyword" }) vim.api.nvim_set_hl(0, "CmpItemKindVariable", { link = "TSVariable" }) vim.api.nvim_set_hl(0, "CmpItemMenu", { link = "Comment" }) +vim.api.nvim_set_hl(0, "CocInlayHint", { bg = "#1d3337", fg = "#6d7f8b" }) vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#1d3337" }) vim.api.nvim_set_hl(0, "Comment", { fg = "#6d7f8b" }) vim.api.nvim_set_hl(0, "Conceal", { fg = "#2d4f56" }) @@ -172,6 +173,7 @@ vim.api.nvim_set_hl(0, "LspCodeLens", { fg = "#6d7f8b" }) vim.api.nvim_set_hl(0, "LspCodeLensSeparator", { fg = "#587b7b" }) vim.api.nvim_set_hl(0, "LspFloatWinBorder", { fg = "#587b7b" }) vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#0f1c1e" }) +vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#1d3337", fg = "#6d7f8b" }) vim.api.nvim_set_hl(0, "LspReferenceRead", { bg = "#293e40" }) vim.api.nvim_set_hl(0, "LspReferenceText", { bg = "#293e40" }) vim.api.nvim_set_hl(0, "LspReferenceWrite", { bg = "#293e40" }) diff --git a/lua/nightfox/precompiled/viml/carbonfox_compiled.lua b/lua/nightfox/precompiled/viml/carbonfox_compiled.lua index ea83d70b..9877f1a2 100644 --- a/lua/nightfox/precompiled/viml/carbonfox_compiled.lua +++ b/lua/nightfox/precompiled/viml/carbonfox_compiled.lua @@ -39,6 +39,7 @@ highlight CmpItemAbbrMatch guifg=#8cb6ff guibg=NONE gui=NONE guisp=NONE | highlight CmpItemAbbrMatchFuzzy guifg=#8cb6ff guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindDefault guifg=#b6b8bb guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindSnippet guifg=#b6b8bb guibg=NONE gui=NONE guisp=NONE | +highlight CocInlayHint guifg=#6e6f70 guibg=#252525 gui=NONE guisp=NONE | highlight ColorColumn guifg=NONE guibg=#252525 gui=NONE guisp=NONE | highlight Comment guifg=#6e6f70 guibg=NONE gui=NONE guisp=NONE | highlight Conceal guifg=#535353 guibg=NONE gui=NONE guisp=NONE | @@ -122,6 +123,7 @@ highlight LspCodeLens guifg=#6e6f70 guibg=NONE gui=NONE guisp=NONE | highlight LspCodeLensSeparator guifg=#7b7c7e guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinBorder guifg=#7b7c7e guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinNormal guifg=NONE guibg=#0c0c0c gui=NONE guisp=NONE | +highlight LspInlayHint guifg=#6e6f70 guibg=#252525 gui=NONE guisp=NONE | highlight LspReferenceRead guifg=NONE guibg=#2a2a2a gui=NONE guisp=NONE | highlight LspReferenceText guifg=NONE guibg=#2a2a2a gui=NONE guisp=NONE | highlight LspReferenceWrite guifg=NONE guibg=#2a2a2a gui=NONE guisp=NONE | diff --git a/lua/nightfox/precompiled/viml/dawnfox_compiled.lua b/lua/nightfox/precompiled/viml/dawnfox_compiled.lua index f2ec7a8a..9c695222 100644 --- a/lua/nightfox/precompiled/viml/dawnfox_compiled.lua +++ b/lua/nightfox/precompiled/viml/dawnfox_compiled.lua @@ -39,6 +39,7 @@ highlight CmpItemAbbrMatch guifg=#295e73 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemAbbrMatchFuzzy guifg=#295e73 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindDefault guifg=#625c87 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindSnippet guifg=#625c87 guibg=NONE gui=NONE guisp=NONE | +highlight CocInlayHint guifg=#9893a5 guibg=#ebe0df gui=NONE guisp=NONE | highlight ColorColumn guifg=NONE guibg=#ebe0df gui=NONE guisp=NONE | highlight Comment guifg=#9893a5 guibg=NONE gui=NONE guisp=NONE | highlight Conceal guifg=#bdbfc9 guibg=NONE gui=NONE guisp=NONE | @@ -122,6 +123,7 @@ highlight LspCodeLens guifg=#9893a5 guibg=NONE gui=NONE guisp=NONE | highlight LspCodeLensSeparator guifg=#a8a3b3 guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinBorder guifg=#a8a3b3 guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinNormal guifg=NONE guibg=#ebe5df gui=NONE guisp=NONE | +highlight LspInlayHint guifg=#9893a5 guibg=#ebe0df gui=NONE guisp=NONE | highlight LspReferenceRead guifg=NONE guibg=#d0d8d8 gui=NONE guisp=NONE | highlight LspReferenceText guifg=NONE guibg=#d0d8d8 gui=NONE guisp=NONE | highlight LspReferenceWrite guifg=NONE guibg=#d0d8d8 gui=NONE guisp=NONE | diff --git a/lua/nightfox/precompiled/viml/dayfox_compiled.lua b/lua/nightfox/precompiled/viml/dayfox_compiled.lua index 5bb880d2..a088b8fc 100644 --- a/lua/nightfox/precompiled/viml/dayfox_compiled.lua +++ b/lua/nightfox/precompiled/viml/dayfox_compiled.lua @@ -39,6 +39,7 @@ highlight CmpItemAbbrMatch guifg=#485e7d guibg=NONE gui=NONE guisp=NONE | highlight CmpItemAbbrMatchFuzzy guifg=#485e7d guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindDefault guifg=#233f5e guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindSnippet guifg=#233f5e guibg=NONE gui=NONE guisp=NONE | +highlight CocInlayHint guifg=#7f848e guibg=#dbcece gui=NONE guisp=NONE | highlight ColorColumn guifg=NONE guibg=#dbcece gui=NONE guisp=NONE | highlight Comment guifg=#7f848e guibg=NONE gui=NONE guisp=NONE | highlight Conceal guifg=#bebebe guibg=NONE gui=NONE guisp=NONE | @@ -122,6 +123,7 @@ highlight LspCodeLens guifg=#7f848e guibg=NONE gui=NONE guisp=NONE | highlight LspCodeLensSeparator guifg=#2e537d guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinBorder guifg=#2e537d guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinNormal guifg=NONE guibg=#dbdbdb gui=NONE guisp=NONE | +highlight LspInlayHint guifg=#7f848e guibg=#dbcece gui=NONE guisp=NONE | highlight LspReferenceRead guifg=NONE guibg=#ced5de gui=NONE guisp=NONE | highlight LspReferenceText guifg=NONE guibg=#ced5de gui=NONE guisp=NONE | highlight LspReferenceWrite guifg=NONE guibg=#ced5de gui=NONE guisp=NONE | diff --git a/lua/nightfox/precompiled/viml/duskfox_compiled.lua b/lua/nightfox/precompiled/viml/duskfox_compiled.lua index ec7bde70..e0604a0e 100644 --- a/lua/nightfox/precompiled/viml/duskfox_compiled.lua +++ b/lua/nightfox/precompiled/viml/duskfox_compiled.lua @@ -39,6 +39,7 @@ highlight CmpItemAbbrMatch guifg=#65b1cd guibg=NONE gui=NONE guisp=NONE | highlight CmpItemAbbrMatchFuzzy guifg=#65b1cd guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindDefault guifg=#cdcbe0 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindSnippet guifg=#cdcbe0 guibg=NONE gui=NONE guisp=NONE | +highlight CocInlayHint guifg=#817c9c guibg=#2d2a45 gui=NONE guisp=NONE | highlight ColorColumn guifg=NONE guibg=#2d2a45 gui=NONE guisp=NONE | highlight Comment guifg=#817c9c guibg=NONE gui=NONE guisp=NONE | highlight Conceal guifg=#4b4673 guibg=NONE gui=NONE guisp=NONE | @@ -122,6 +123,7 @@ highlight LspCodeLens guifg=#817c9c guibg=NONE gui=NONE guisp=NONE | highlight LspCodeLensSeparator guifg=#6e6a86 guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinBorder guifg=#6e6a86 guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinNormal guifg=NONE guibg=#191726 gui=NONE guisp=NONE | +highlight LspInlayHint guifg=#817c9c guibg=#2d2a45 gui=NONE guisp=NONE | highlight LspReferenceRead guifg=NONE guibg=#433c59 gui=NONE guisp=NONE | highlight LspReferenceText guifg=NONE guibg=#433c59 gui=NONE guisp=NONE | highlight LspReferenceWrite guifg=NONE guibg=#433c59 gui=NONE guisp=NONE | diff --git a/lua/nightfox/precompiled/viml/nightfox_compiled.lua b/lua/nightfox/precompiled/viml/nightfox_compiled.lua index 3f010205..4102a137 100644 --- a/lua/nightfox/precompiled/viml/nightfox_compiled.lua +++ b/lua/nightfox/precompiled/viml/nightfox_compiled.lua @@ -39,6 +39,7 @@ highlight CmpItemAbbrMatch guifg=#86abdc guibg=NONE gui=NONE guisp=NONE | highlight CmpItemAbbrMatchFuzzy guifg=#86abdc guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindDefault guifg=#aeafb0 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindSnippet guifg=#aeafb0 guibg=NONE gui=NONE guisp=NONE | +highlight CocInlayHint guifg=#738091 guibg=#212e3f gui=NONE guisp=NONE | highlight ColorColumn guifg=NONE guibg=#212e3f gui=NONE guisp=NONE | highlight Comment guifg=#738091 guibg=NONE gui=NONE guisp=NONE | highlight Conceal guifg=#39506d guibg=NONE gui=NONE guisp=NONE | @@ -122,6 +123,7 @@ highlight LspCodeLens guifg=#738091 guibg=NONE gui=NONE guisp=NONE | highlight LspCodeLensSeparator guifg=#71839b guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinBorder guifg=#71839b guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinNormal guifg=NONE guibg=#131a24 gui=NONE guisp=NONE | +highlight LspInlayHint guifg=#738091 guibg=#212e3f gui=NONE guisp=NONE | highlight LspReferenceRead guifg=NONE guibg=#2b3b51 gui=NONE guisp=NONE | highlight LspReferenceText guifg=NONE guibg=#2b3b51 gui=NONE guisp=NONE | highlight LspReferenceWrite guifg=NONE guibg=#2b3b51 gui=NONE guisp=NONE | diff --git a/lua/nightfox/precompiled/viml/nordfox_compiled.lua b/lua/nightfox/precompiled/viml/nordfox_compiled.lua index f18e4691..773ee98d 100644 --- a/lua/nightfox/precompiled/viml/nordfox_compiled.lua +++ b/lua/nightfox/precompiled/viml/nordfox_compiled.lua @@ -39,6 +39,7 @@ highlight CmpItemAbbrMatch guifg=#8cafd2 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemAbbrMatchFuzzy guifg=#8cafd2 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindDefault guifg=#abb1bb guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindSnippet guifg=#abb1bb guibg=NONE gui=NONE guisp=NONE | +highlight CocInlayHint guifg=#60728a guibg=#39404f gui=NONE guisp=NONE | highlight ColorColumn guifg=NONE guibg=#39404f gui=NONE guisp=NONE | highlight Comment guifg=#60728a guibg=NONE gui=NONE guisp=NONE | highlight Conceal guifg=#5a657d guibg=NONE gui=NONE guisp=NONE | @@ -122,6 +123,7 @@ highlight LspCodeLens guifg=#60728a guibg=NONE gui=NONE guisp=NONE | highlight LspCodeLensSeparator guifg=#7e8188 guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinBorder guifg=#7e8188 guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinNormal guifg=NONE guibg=#232831 gui=NONE guisp=NONE | +highlight LspInlayHint guifg=#60728a guibg=#39404f gui=NONE guisp=NONE | highlight LspReferenceRead guifg=NONE guibg=#3e4a5b gui=NONE guisp=NONE | highlight LspReferenceText guifg=NONE guibg=#3e4a5b gui=NONE guisp=NONE | highlight LspReferenceWrite guifg=NONE guibg=#3e4a5b gui=NONE guisp=NONE | diff --git a/lua/nightfox/precompiled/viml/terafox_compiled.lua b/lua/nightfox/precompiled/viml/terafox_compiled.lua index 39c342f8..5c94a463 100644 --- a/lua/nightfox/precompiled/viml/terafox_compiled.lua +++ b/lua/nightfox/precompiled/viml/terafox_compiled.lua @@ -39,6 +39,7 @@ highlight CmpItemAbbrMatch guifg=#73a3b7 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemAbbrMatchFuzzy guifg=#73a3b7 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindDefault guifg=#cbd9d8 guibg=NONE gui=NONE guisp=NONE | highlight CmpItemKindSnippet guifg=#cbd9d8 guibg=NONE gui=NONE guisp=NONE | +highlight CocInlayHint guifg=#6d7f8b guibg=#1d3337 gui=NONE guisp=NONE | highlight ColorColumn guifg=NONE guibg=#1d3337 gui=NONE guisp=NONE | highlight Comment guifg=#6d7f8b guibg=NONE gui=NONE guisp=NONE | highlight Conceal guifg=#2d4f56 guibg=NONE gui=NONE guisp=NONE | @@ -122,6 +123,7 @@ highlight LspCodeLens guifg=#6d7f8b guibg=NONE gui=NONE guisp=NONE | highlight LspCodeLensSeparator guifg=#587b7b guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinBorder guifg=#587b7b guibg=NONE gui=NONE guisp=NONE | highlight LspFloatWinNormal guifg=NONE guibg=#0f1c1e gui=NONE guisp=NONE | +highlight LspInlayHint guifg=#6d7f8b guibg=#1d3337 gui=NONE guisp=NONE | highlight LspReferenceRead guifg=NONE guibg=#293e40 gui=NONE guisp=NONE | highlight LspReferenceText guifg=NONE guibg=#293e40 gui=NONE guisp=NONE | highlight LspReferenceWrite guifg=NONE guibg=#293e40 gui=NONE guisp=NONE | diff --git a/usage.md b/usage.md index e0d6f181..68b13dbd 100644 --- a/usage.md +++ b/usage.md @@ -368,6 +368,7 @@ Current list of modules are: - aerial - barbar - cmp +- coc - dap-ui - dashboard - diagnostic @@ -398,6 +399,15 @@ Current list of modules are: ### Extended modules +#### modules.coc + +This module sets highlight groups from `neoclide/coc.nvim`. + +| key | type | default | description | +| ---------- | ------- | ------- | --------------------------------- | +| enable | boolean | `true` | Enable the module to be included | +| background | boolean | `true` | Set virtual text background color | + #### modules.diagnostic This module sets highlight groups from `vim.diagnostic`. @@ -407,6 +417,15 @@ This module sets highlight groups from `vim.diagnostic`. | enable | boolean | `true` | Enable the module to be included | | background | boolean | `true` | Set virtual text background color | +#### modules.native_lsp + +This module sets highlight groups from neovim's builtin `lsp`. + +| key | type | default | description | +| ---------- | ------- | ------- | --------------------------------- | +| enable | boolean | `true` | Enable the module to be included | +| background | boolean | `true` | Set virtual text background color | + ## Color Nightfox exposes a color utility library to help with manipulating colors. This library can be required using the