Skip to content

Commit

Permalink
Revert "Make syntax highlighting consistent between semantic/treesitter"
Browse files Browse the repository at this point in the history
This reverts commit 3755c1c as it
appears semantic token support has been added to onedark.

navarasu/onedark.nvim#159
  • Loading branch information
ellsclytn committed Mar 24, 2024
1 parent af22fba commit ff638a1
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions config/nvim/lua/_onedark.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,4 @@ return function()
})

onedark.load()

local links = {
['@lsp.type.namespace'] = '@namespace',
['@lsp.type.type'] = '@type',
['@lsp.type.class'] = '@type',
['@lsp.type.enum'] = '@type',
['@lsp.type.interface'] = '@type',
['@lsp.type.struct'] = '@structure',
['@lsp.type.parameter'] = '@parameter',
['@lsp.type.variable'] = '@variable',
['@lsp.type.property'] = '@property',
['@lsp.type.enumMember'] = '@constant',
['@lsp.type.function'] = '@function',
['@lsp.type.method'] = '@method',
['@lsp.type.macro'] = '@macro',
['@lsp.type.decorator'] = '@function',
}
for newgroup, oldgroup in pairs(links) do
vim.api.nvim_set_hl(0, newgroup, { link = oldgroup, default = true })
end
end

0 comments on commit ff638a1

Please sign in to comment.