Compare commits

...

5 commits

View file

@ -90,6 +90,10 @@ M.highlights = function()
Normal = { fg = fg, bg = bg }, -- normal text Normal = { fg = fg, bg = bg }, -- normal text
NormalNC = { link = 'Normal' }, -- normal text in non-current windows NormalNC = { link = 'Normal' }, -- normal text in non-current windows
NormalFloat = { link = 'Normal' }, -- floating windows
FloatBorder = { fg = C.gray },
FloatTitle = { fg = C.blue },
Comment = { fg = C.bg3, italic = true }, -- any comment Comment = { fg = C.bg3, italic = true }, -- any comment
Constant = { fg = C.orange }, -- any constant Constant = { fg = C.orange }, -- any constant
@ -99,7 +103,7 @@ M.highlights = function()
Boolean = { fg = C.aqua, bold = true, italic = true }, -- a boolean constant: TRUE, false Boolean = { fg = C.aqua, bold = true, italic = true }, -- a boolean constant: TRUE, false
Float = { link = 'String' }, -- a floating point constant: 2.3e10 Float = { link = 'String' }, -- a floating point constant: 2.3e10
Identifier = { fg = C.fg3 }, Identifier = { fg = fg },
Function = { fg = C.blue }, Function = { fg = C.blue },
Statement = { fg = C.green }, -- any statement Statement = { fg = C.green }, -- any statement
@ -138,7 +142,7 @@ M.highlights = function()
}, },
additional = { additional = {
StatusLine = { fg = C.fg3 , bg = C.bg2, reverse = true}, StatusLine = { fg = fg , bg = C.bg2, reverse = true},
StatusLineNC = { fg = C.bg4, bg = C.bg2, reverse = true}, StatusLineNC = { fg = C.bg4, bg = C.bg2, reverse = true},
Visual = { fg = C.bg3, bg = bg, reverse = true}, Visual = { fg = C.bg3, bg = bg, reverse = true},
@ -197,7 +201,15 @@ M.highlights = function()
TabLineFill = { fg = C.fg4 , bg = C.bg2 }, TabLineFill = { fg = C.fg4 , bg = C.bg2 },
TabLineSel = { fg = C.yellow, bg = bg }, TabLineSel = { fg = C.yellow, bg = bg },
MatchParen = { fg = C.red, bg = C.reg_bg, bold = true }, MatchParen = { fg = C.red, bg = C.red_bg, bold = true },
},
diagnostic = {
DiagnosticOk = { fg = C.green },
DiagnosticWarn = { link = 'Warning' },
DiagnosticError = { link = 'Error' },
DiagnosticInfo = { fg = C.br_blue },
DiagnosticHint = { fg = C.fg0 },
}, },
pum = { pum = {
@ -217,7 +229,7 @@ M.highlights = function()
vimCommentString = { fg = C.purple }, vimCommentString = { fg = C.purple },
vimCommand = { fg = C.yellow }, vimCommand = { fg = C.yellow },
vimCmdSep = { fg = C.blue, bold = true }, vimCmdSep = { fg = C.blue, bold = true },
helpExample = { fg = C.fg3 }, helpExample = { fg = fg },
helpOption = { fg = C.aqua }, helpOption = { fg = C.aqua },
helpNote = { fg = C.purple }, helpNote = { fg = C.purple },
helpVim = { fg = C.purple }, helpVim = { fg = C.purple },
@ -280,9 +292,9 @@ M.highlights = function()
markdownBlockquote = { fg = C.fg2, bold = true, italic = true }, markdownBlockquote = { fg = C.fg2, bold = true, italic = true },
markdownRule = { link = 'Comment' }, markdownRule = { link = 'Comment' },
markdownItalic = { fg = C.fg3, italic = true }, markdownItalic = { fg = fg, italic = true },
markdownBold = { fg = C.fg3, bold = true }, markdownBold = { fg = fg, bold = true },
markdownBoldItalic = { fg = C.fg3, bold = true, italic = true }, markdownBoldItalic = { fg = fg, bold = true, italic = true },
markdownCode = { fg = C.orange }, markdownCode = { fg = C.orange },
markdownCodeBlock = { link = 'markdownCode' }, markdownCodeBlock = { link = 'markdownCode' },
markdownItalicDelimiter = { link = 'Comment' }, markdownItalicDelimiter = { link = 'Comment' },
@ -360,8 +372,8 @@ M.highlights = function()
TSTagAttribute = { link = 'TSProperty' }, TSTagAttribute = { link = 'TSProperty' },
TSTagDelimiter = { link = 'Delimiter' }, TSTagDelimiter = { link = 'Delimiter' },
TSText = { link = 'TSNone' }, TSText = { link = 'TSNone' },
TSStrong = { fg = C.fg3, bold = true }, TSStrong = { fg = fg, bold = true },
TSEmphasis = { fg = C.fg3, italic = true }, TSEmphasis = { fg = fg, italic = true },
TSUnderline = { underline = true }, TSUnderline = { underline = true },
TSStrike = { strikethrough = true }, TSStrike = { strikethrough = true },
TSTitle = { link = 'Title' }, TSTitle = { link = 'Title' },
@ -433,7 +445,7 @@ M.highlights = function()
NeogitHunkHeader = { fg = C.purple }, NeogitHunkHeader = { fg = C.purple },
NeogitHunkHeaderHighlight = { fg = C.br_purple }, NeogitHunkHeaderHighlight = { fg = C.br_purple },
NeogitDiffContext = { fg = C.bg4 }, NeogitDiffContext = { fg = C.bg4 },
NeogitDiffContextHighlight = { bg = C.bg0 }, NeogitDiffContextHighlight = { bg = bg },
NeogitDiffAdd = { fg = C.green, bg = C.green_bg }, NeogitDiffAdd = { fg = C.green, bg = C.green_bg },
NeogitDiffAddHighlight = { fg = C.green, bg = C.green_bg }, NeogitDiffAddHighlight = { fg = C.green, bg = C.green_bg },
NeogitDiffDelete = { fg = C.red, bg = C.red_bg }, NeogitDiffDelete = { fg = C.red, bg = C.red_bg },
@ -492,10 +504,10 @@ M.highlights = function()
-- 'nvim-telescope/telescope.nvim' -- 'nvim-telescope/telescope.nvim'
telescope = { telescope = {
TelescopeBorder = { fg = C.gray }, TelescopeBorder = { link = 'FloatBorder' },
TelescopePromptBorder = { fg = C.fg0 }, TelescopePromptBorder = { fg = C.fg0 },
TelescopeTitle = { fg = C.blue, bold = true }, TelescopeTitle = { link = 'FloatTitle' },
TelescopePromptPrefix = { fg = C.blue }, TelescopePromptPrefix = { link = 'FloatTitle' },
TelescopePromptCounter = { fg = C.bg3 }, TelescopePromptCounter = { fg = C.bg3 },
TelescopeNormal = { fg = C.gray }, TelescopeNormal = { fg = C.gray },
TelescopeMatching = { fg = C.fg0 }, TelescopeMatching = { fg = C.fg0 },
@ -504,6 +516,15 @@ M.highlights = function()
TelescopeMultiIcon = { link = 'TelescopeMultiSelection' }, TelescopeMultiIcon = { link = 'TelescopeMultiSelection' },
}, },
-- 'neovim/nvim-lspconfig'
lspconfig = {
LspInfoTitle = { link = 'FloatTitle' },
LspInfoList = { link = 'Function' },
LspInfoFiletype = { link = 'Type' },
LspInfoTip = { link = 'Comment' },
LspInfoBorder = { link = 'FloatBorder' },
},
-- 'hrsh7th/nvim-cmp' -- 'hrsh7th/nvim-cmp'
nvim_cmp = { nvim_cmp = {
CmpItemAbbr = { link = 'Comment' }, CmpItemAbbr = { link = 'Comment' },