Skip to content

Commit

Permalink
fix(colors): use of 3.0-style hl-link
Browse files Browse the repository at this point in the history
  • Loading branch information
Iron-E committed Mar 11, 2023
1 parent bc06ca1 commit f008ce4
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions colors/highlite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -408,14 +408,14 @@ local highlight_groups = {
LspDiagnosticsUnderlineInfo = 'DiagnosticUnderlineInfo',
LspDiagnosticsUnderlineWarning = 'DiagnosticUnderlineWarn',

['@lsp.mod.constant'] = {link = 'Constant'},
['@lsp.type.boolean'] = {link = 'Boolean'},
['@lsp.type.character'] = {link = 'Character'},
['@lsp.type.float'] = {link = 'Float'},
['@lsp.type.interface'] = {link = 'Type'},
['@lsp.type.namespace'] = {link = 'Directory'},
['@lsp.type.number'] = {link = 'Number'},
['@lsp.type.string'] = {link = 'String'},
['@lsp.mod.constant'] = 'Constant',
['@lsp.type.boolean'] = 'Boolean',
['@lsp.type.character'] = 'Character',
['@lsp.type.float'] = 'Float',
['@lsp.type.interface'] = 'Type',
['@lsp.type.namespace'] = 'Directory',
['@lsp.type.number'] = 'Number',
['@lsp.type.string'] = 'String',

--[[ 4.2.12. Cursor ]]
Cursor = {style = 'inverse'},
Expand Down Expand Up @@ -575,9 +575,9 @@ local highlight_groups = {
jsonStringSQError = 'Exception',

--[[ 4.3.12. Lua ]]
['@lsp.type.keyword.lua'] = {link = 'SpecialComment'},
['@lsp.type.string.lua'] = {link = 'String'},
['@lsp.typemod.variable.defaultLibrary.lua'] = {link = '@lsp.type.class.lua'},
['@lsp.type.keyword.lua'] = 'SpecialComment',
['@lsp.type.string.lua'] = 'String',
['@lsp.typemod.variable.defaultLibrary.lua'] = '@lsp.type.class.lua',
luaBraces = 'Structure',
luaBrackets = 'Delimiter',
luaBuiltin = 'Keyword',
Expand Down Expand Up @@ -790,15 +790,15 @@ local highlight_groups = {
coqVernacPunctuation = 'coqTermPunctuation',

--[[ 4.3.37 Help ]]
helpCommand = {link = 'Statement'},
helpHeader = {link = 'Label', ft = 'help'},
helpHeadline = {link = 'Title', ft = 'help'},
helpHyperTextJump = {link = 'Tag', ft = 'help'},
helpHyperTextEntry = {link = 'Tag', ft = 'help'},
helpExample = {link = 'Statement'},
helpNote = {link = 'DiagnosticHint', ft = 'help'},
helpOption = {link = 'Keyword', ft = 'help'},
helpSectionDelim = {link = 'Delimiter', ft = 'help'},
helpCommand = 'Statement',
helpHeader = 'Label',
helpHeadline = 'Title',
helpHyperTextJump = 'Tag',
helpHyperTextEntry = 'Tag',
helpExample = 'Statement',
helpNote = 'DiagnosticHint',
helpOption = 'Keyword',
helpSectionDelim = 'Delimiter',

--[[ 4.3.38 Man ]]
manHeader = 'markdownH1',
Expand All @@ -809,23 +809,23 @@ local highlight_groups = {
manUnderline = '@text.literal',

--[[ 4.3.39 Rust ]]
['@lsp.mod.callable.rust'] = {link = 'Function'},
['@lsp.type.builtinType.rust'] = {link = 'Type'},
['@lsp.mod.callable.rust'] = 'Function',
['@lsp.type.builtinType.rust'] = 'Type',
['@lsp.type.character.rust'] = {},
['@lsp.type.decorator.rust'] = {link = 'PreProc'},
['@lsp.type.derive.rust'] = {link = 'Macro'},
['@lsp.type.decorator.rust'] = 'PreProc',
['@lsp.type.derive.rust'] = 'Macro',
['@lsp.type.enumMember.rust'] = {},
['@lsp.type.macro.rust'] = {},
['@lsp.type.selfKeyword.rust'] = {link = 'Keyword'},
['@lsp.type.selfTypeKeyword.rust'] = {link = 'Typedef'},
['@lsp.type.selfKeyword.rust'] = 'Keyword',
['@lsp.type.selfTypeKeyword.rust'] = 'Typedef',
['@lsp.type.string.rust'] = {},
['@lsp.type.typeAlias.rust'] = {link = 'Typedef'},
['@lsp.typemod.character.injected.rust'] = {link = '@lsp.type.character'},
['@lsp.typemod.deriveHelper.attribute.rust'] = {link = '@lsp.type.decorator.rust'},
['@lsp.typemod.keyword.injected.rust'] = {link = 'Keyword'},
['@lsp.typemod.macro.injected.rust'] = {link = 'Macro'},
['@lsp.typemod.operator.injected.rust'] = {link = 'Operator'},
['@lsp.typemod.string.injected.rust'] = {link = '@lsp.type.string'},
['@lsp.type.typeAlias.rust'] = 'Typedef',
['@lsp.typemod.character.injected.rust'] = '@lsp.type.character',
['@lsp.typemod.deriveHelper.attribute.rust'] = '@lsp.type.decorator.rust',
['@lsp.typemod.keyword.injected.rust'] = 'Keyword',
['@lsp.typemod.macro.injected.rust'] = 'Macro',
['@lsp.typemod.operator.injected.rust'] = 'Operator',
['@lsp.typemod.string.injected.rust'] = '@lsp.type.string',
rustAssert = 'Debug',
rustCharacterDelimiter = 'rustNoise',
rustIdentifier = 'Identifier',
Expand Down

0 comments on commit f008ce4

Please sign in to comment.