Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(module): Add inlay hint for coc and lsp #205

Merged
merged 1 commit into from
Sep 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions doc/nightfox.txt
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ Current list of modules are:
- aerial
- barbar
- cmp
- coc
- dap-ui
- dashboard
- diagnostic
Expand Down Expand Up @@ -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│
Expand Down
9 changes: 8 additions & 1 deletion lua/nightfox/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ local defaults = {
aerial = true,
barbar = true,
cmp = true,
coc = {
enable = true,
background = true,
},
dap_ui = true,
dashboard = true,
diagnostic = {
Expand All @@ -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,
Expand Down
13 changes: 13 additions & 0 deletions lua/nightfox/group/modules/coc.lua
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions lua/nightfox/group/modules/native_lsp.lua
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/nvim/carbonfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand Down Expand Up @@ -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" })
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/nvim/dawnfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand Down Expand Up @@ -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" })
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/nvim/dayfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand Down Expand Up @@ -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" })
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/nvim/duskfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand Down Expand Up @@ -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" })
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/nvim/nightfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand Down Expand Up @@ -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" })
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/nvim/nordfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand Down Expand Up @@ -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" })
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/nvim/terafox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" })
Expand Down Expand Up @@ -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" })
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/viml/carbonfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/viml/dawnfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/viml/dayfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/viml/duskfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/viml/nightfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/viml/nordfox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions lua/nightfox/precompiled/viml/terafox_compiled.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
19 changes: 19 additions & 0 deletions usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ Current list of modules are:
- aerial
- barbar
- cmp
- coc
- dap-ui
- dashboard
- diagnostic
Expand Down Expand Up @@ -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`.
Expand All @@ -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
Expand Down