Mofiqul / vscode.nvim

Neovim/Vim color scheme inspired by Dark+ and Light+ theme in Visual Studio Code
MIT License
692 stars 111 forks source link

Group overrides for treesitter don't seem to work #204

Closed baltermia closed 1 week ago

baltermia commented 2 months ago

My configuration is very simple for this plugin:

local colors = require('vscode.colors').get_colors()
require('vscode').setup({
  group_overrides = {
    ['@property'] = { fg = '#DCDADC', bg = colors.vscNone },
    ['@interface'] = { fg = '#B8D7A3', bg = colors.vscNone },
    ['@structure'] = { fg = '#86C691', bg = colors.vscNone },
  }
})

I'm coming from VS22 and use this colorscheme since it's the most similar to it. Only the three changes above would make it pretty much perfect. But They don't seem to get applied at all. Am I missing something?


Solution:

local colors = require('vscode.colors').get_colors()
require('vscode').setup({
  group_overrides = {
    ['@lsp.type.property'] = { fg = '#DCDADC', bg = colors.vscNone },
    ['@lsp.type.interface'] = { fg = '#B8D7A3', bg = colors.vscNone },
    ['@lsp.type.struct'] = { fg = '#86C691', bg = colors.vscNone },
  }
})
Kyykek commented 2 weeks ago

Try using @lsp.type.interface and equivalent

baltermia commented 1 week ago

@Kyykek that worked, thanks for the help!