tune colors for cpp in astrodark
This commit is contained in:
parent
832a09e031
commit
d34858bbc3
@ -3,6 +3,7 @@ return {
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
local C = require('astrotheme.palettes.astrodark')
|
||||
require('astrotheme').setup({
|
||||
palette = 'astrodark', -- String of the default palette to use when calling `:colorscheme astrotheme`
|
||||
|
||||
@ -25,6 +26,25 @@ return {
|
||||
astrodark = {
|
||||
},
|
||||
},
|
||||
highlights = {
|
||||
global = {
|
||||
modify_hl_groups = function(hl, c)
|
||||
end,
|
||||
},
|
||||
astrodark = {
|
||||
modify_hl_groups = function(hl, c) -- modify_hl_groups function allows you to modify hl groups,
|
||||
hl.Type = { fg = c.Yellow }
|
||||
hl.Comment = { italic = true }
|
||||
end,
|
||||
['@lsp.mod.readonly'] = { bold = true },
|
||||
['@lsp.type.namespace.cpp'] = { fg = C.rb },
|
||||
['@lsp.type.variable'] = { fg = C.text },
|
||||
['Comment'] = { italic = true },
|
||||
['Type'] = { fg = C.dark_orange },
|
||||
['Structure'] = { link = 'Type' },
|
||||
['Constant'] = { fg = 'NONE' },
|
||||
}
|
||||
}
|
||||
})
|
||||
vim.cmd('colorscheme astrodark')
|
||||
end,
|
||||
|
Loading…
x
Reference in New Issue
Block a user