fixed gruvbox colors
This commit is contained in:
parent
90494dfad6
commit
476c83e7a8
@ -2,31 +2,7 @@ return {
|
||||
'ellisonleao/gruvbox.nvim',
|
||||
priority = 1000,
|
||||
config = function()
|
||||
local links = {
|
||||
['@lsp.type.namespace'] = '@namespace',
|
||||
['@lsp.type.type'] = '@type',
|
||||
['@lsp.type.class'] = '@type',
|
||||
['@lsp.type.enum'] = '@type',
|
||||
['@lsp.type.interface'] = '@type',
|
||||
['@lsp.type.struct'] = '@structure',
|
||||
['@lsp.type.parameter'] = '@parameter',
|
||||
['@lsp.type.variable'] = '@variable',
|
||||
['@lsp.type.property'] = '@property',
|
||||
['@lsp.type.enumMember'] = '@constant',
|
||||
['@lsp.type.function'] = '@function',
|
||||
['@lsp.type.method'] = '@method',
|
||||
['@lsp.type.macro'] = '@macro',
|
||||
['@lsp.type.decorator'] = '@function',
|
||||
}
|
||||
local colors = require('gruvbox.palette').colors
|
||||
for newgroup, oldgroup in pairs(links) do
|
||||
vim.api.nvim_set_hl(0, newgroup, { link = oldgroup, default = true })
|
||||
end
|
||||
vim.api.nvim_set_hl(0, '@lsp.type.parameter', { fg = colors.faded_purple })
|
||||
vim.api.nvim_set_hl(0, '@lsp.type.namespace', { fg = colors.neutral_aqua })
|
||||
vim.api.nvim_set_hl(0, '@lsp.type.function', { fg = '#797df2' })
|
||||
vim.api.nvim_set_hl(0, '@lsp.type.method', { fg = '#797df2' })
|
||||
vim.api.nvim_set_hl(0, '@lsp.mod.readonly', { bold = true })
|
||||
|
||||
require('gruvbox').setup({
|
||||
undercurl = true,
|
||||
@ -44,7 +20,12 @@ return {
|
||||
invert_tabline = false,
|
||||
invert_intend_guides = false,
|
||||
palette_overrides = {},
|
||||
overrides = {},
|
||||
overrides = {
|
||||
['@lsp.type.parameter'] = { fg = colors.faded_purple },
|
||||
['@lsp.type.function'] = { fg = '#797df2' },
|
||||
['@lsp.type.method'] = { fg = '#797df2' },
|
||||
['@lsp.mod.readonly'] = { bold = true },
|
||||
},
|
||||
dim_inactive = true,
|
||||
transparent_mode = false,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user