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

Invalid character group name

Open devloos opened this issue 3 years ago • 9 comments

Hello Team,

I am getting an error when trying to use the plugin, I am a novice at nvim but I isolated the problem as much as possible this is what's in my config.

vim.o.background = 'dark'
require('vscode').setup{}

this was stripped from the documentation

I am using packer to install the plugin this is the error message Screen Shot 2022-10-17 at 10 23 57 AM

The odd part is I am getting the theme to work but I continue to get this error every time I open nvim

devloos avatar Oct 17 '22 17:10 devloos

I'm experiencing the same issue. I have confirmed it is caused by this commit:

https://github.com/Mofiqul/vscode.nvim/commit/ec639c1e96793583a97b96924503ef950593ec22

jrop avatar Oct 17 '22 17:10 jrop

I've also confirmed that the new highlight groups work with NeoVim 0.8. I was running 0.7 previously.

jrop avatar Oct 17 '22 17:10 jrop

I see I am using 0.7 as well

devloos avatar Oct 17 '22 17:10 devloos

It also fixed the issue when upgrading to 0.8

devloos avatar Oct 17 '22 17:10 devloos

I see this error with 0.7.2 using this colorscheme.

amplexus avatar Oct 18 '22 05:10 amplexus

Upgrading Neovim to v0.8 fixed this issue.

wongjiahau avatar Oct 25 '22 01:10 wongjiahau

Hmm... I'm on NeoVim v0.8 but still getting this, any thought on what it might be?

lazywei avatar Oct 26 '22 19:10 lazywei

Upgrading to NVIM 0.9 solves this lol ..

lazywei avatar Oct 26 '22 19:10 lazywei

I see this error with 0.7.2 using this colorscheme.

For anyone else like me that is stuck on the 0.7.x version til the neovim-ppa package maintainers make 0.8+ part of the stable release, just lock in the last version of the vsode.nvim plugin that worked.

If you're using packer plugin manager like me, then replace:

use { 'Mofiqul/vscode.nvim' }

With:

use { 'Mofiqul/vscode.nvim', commit = "c5125820a0915ef50f03fae10423c43dc49c66b1" }

Other plugin managers will have a similar mechanism to pin a specific commit for a plugin.

amplexus avatar Oct 27 '22 10:10 amplexus