You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comment-out several redundant hl-group links in:
- lua/github-theme/group/syntax.lua
- lua/github-theme/group/modules/treesitter.lua
These are redundant because they specify links which are identical to
Neovim defaults (e.g. `@string --> String`, `@function.call -->
@function`, etc.). They are mimicking default links that Neovim already
ships and starts-up with.
Colorschemes may break Neovim's default links arbitrarily, and `:hi clear`
restores them. Since we don't know if/which default links have been
broken by the previous colorscheme when loading ours, we should restore
these default links—either with `:hi clear`, or manually—before ours is
loaded. This already appears to be happening within compiled
colorschemes (i.e. `hi clear` gets embedded within them). Furthermore,
colorscheme compilation happens automatically by default and cannot be
disabled.
--['@method.call'] = { link = '@method' }, -- method calls
50
50
51
51
['@constructor'] = { fg=syn.ident }, -- For constructor calls and definitions: = { } in Lua, and Java constructors.
52
52
['@parameter'] = { fg=syn.param, stl.variables }, -- For parameters of a function.
53
53
54
54
-- Keywords
55
-
['@keyword'] = { link='Keyword' }, -- For keywords that don't fall in previous categories.
55
+
--['@keyword'] = { link = 'Keyword' }, -- For keywords that don't fall in previous categories.
56
56
['@keyword.function'] = { fg=syn.keyword, style=stl.functions }, -- Keywords used to define a function: `function` in Lua, `def` and `lambda` in Python.
57
57
['@keyword.operator'] = { fg=syn.operator, style=stl.operators }, -- For new keyword operator
0 commit comments