Use brighter highlighting for globals (including file scope)
This commit is contained in:
@@ -42,6 +42,9 @@ function M.setup(theme, config)
|
|||||||
['@lsp.type.typeParameter'] = { link = '@type' }, -- TODO: Determine accuracy
|
['@lsp.type.typeParameter'] = { link = '@type' }, -- TODO: Determine accuracy
|
||||||
|
|
||||||
['@lsp.type.variable'] = { link = '@variable' },
|
['@lsp.type.variable'] = { link = '@variable' },
|
||||||
|
['@lsp.typemod.variable.globalScope'] = { fg = theme.syntax.global },
|
||||||
|
['@lsp.typemod.variable.fileScope'] = { fg = theme.syntax.global },
|
||||||
|
['@lsp.typemod.variable.classScope'] = { link = '@variable.member' },
|
||||||
['@lsp.typemod.variable.defaultLibrary'] = { link = '@variable.builtin' }
|
['@lsp.typemod.variable.defaultLibrary'] = { link = '@variable.builtin' }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ function M.setup(color, config)
|
|||||||
theme.syntax = {
|
theme.syntax = {
|
||||||
builtin = color.blue0,
|
builtin = color.blue0,
|
||||||
variable = color.gray2,
|
variable = color.gray2,
|
||||||
|
global = color.gray4,
|
||||||
parameter = color.gray4,
|
parameter = color.gray4,
|
||||||
constant = color.blue1,
|
constant = color.blue1,
|
||||||
macro = color.coral2,
|
macro = color.coral2,
|
||||||
|
|||||||
Reference in New Issue
Block a user