mhartington / oceanic-next

Oceanic Next theme for neovim
Other
1.13k stars 141 forks source link

With the recent update, it's broken with vim #118

Closed mrpeabody closed 1 year ago

mrpeabody commented 1 year ago

Warning: I will close the issue without the minimal vimrc and the reproduce ways.

Problems summary

Simply start vim to get the following issue:

Error detected while processing /home/mrpeabody/.vimrc[456]../home/mrpeabody/.vim/plugged/oceanic-next/colors/OceanicNext.vim[36]..function oceanic_next#highlight[243]..<SNR>31_hi:
line    3:
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
Press ENTER or type command to continue

Confirmed to be broken on both macOS and Linux.

Expected

To work, as before.

Environment Information

Provide a minimal vim rc with less than 50 lines (Required!)

" Your minimal init.vim
set runtimepath+=~/path/to/oceanic-next
colorscheme OceanicNext

The reproduce ways from neovim starting

  1. modify vimrc to use OceanicNext colorscheme
  2. start vim
  3. bingo

Screen shot (if possible)

image

mhartington commented 1 year ago

Thanks for the heads up! Looks like vim doesn't like the new treesitter syntax happening in neovim. Should be fixed now.

mrpeabody commented 1 year ago

Thank you, works great now!