Use brighter highlighting for globals (including file scope)

This commit is contained in:
2025-03-06 12:01:31 -05:00
parent 5a40f441b0
commit b617deb91b
2 changed files with 4 additions and 0 deletions

View File

@@ -42,6 +42,9 @@ function M.setup(theme, config)
['@lsp.type.typeParameter'] = { link = '@type' }, -- TODO: Determine accuracy
['@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' }
}