vscode.nvim icon indicating copy to clipboard operation
vscode.nvim copied to clipboard

Setup not working

Open Benson9954029 opened this issue 2 years ago • 6 comments

I try it's not working.

color_overrides = {
        vscLineNumber = '#FF0000',
    },

I fork this repository. Add these code in line 25.

-- /lua/vscode/init.lua.
if next(user_opts) then
    print(user_opts.color_overrides.vscLineNumber)
else
    print(nil)
end

Result is #FF0000 and nil ,so I think setup will be called twice(First with my configuration).

I comment out /colors/vscode.vim ,result will be #FF0000 only and works as expected.

vscode

I want to know what's wrong with my configuration.

Benson9954029 avatar Jan 11 '23 08:01 Benson9954029

Did you find another theme like this ? Setup still not working...

kosekidev avatar Feb 07 '23 15:02 kosekidev

Nope, I fork it comment vscode.vim as the picture ,and install vscode theme in local.

Benson9954029 avatar Feb 08 '23 01:02 Benson9954029

"PATH: vscode.nvim/colors/vscode.vim
lua << EOF
local vscode = require("vscode")
vscode.setup({})
EOF

This file will run setup without any config.

Benson9954029 avatar Feb 08 '23 02:02 Benson9954029

me too

shenweijiekdel avatar Feb 22 '23 05:02 shenweijiekdel

i found the answer: use init.lua instead of init.vim

shenweijiekdel avatar Feb 22 '23 08:02 shenweijiekdel

Did you find another theme like this ? Setup still not working... I start try it now! https://github.com/askfiy/visual_studio_code

Benson9954029 avatar Mar 02 '23 01:03 Benson9954029