Klafyvel / vim-slime-cells

A plugin on top of vim-slime to enhance its cell feature.
MIT License
35 stars 3 forks source link

Color Issue #1

Closed lawrencet149 closed 2 years ago

lawrencet149 commented 2 years ago

Hi,

I am using the example installation via packer you provided on the README. Everything installs, but when I start neovim I am getting the message below.

Error detected while processing /home/username/.local/share/nvim/site/pack/packer/start/vim-slime-cells/plugin/slime_cells.vim:
line 24:
E421: Color name or number not recognized: ctermfg= guibg= ctermbg=

Thank you for the plug-in and your help.

Klafyvel commented 2 years ago

Hi !

Could you paste be the output of each these commands ?

:echo synIDattr(synIDtrans(hlID(g:slime_cells_highlight_from)), "fg", "gui")
:echo synIDattr(synIDtrans(hlID(g:slime_cells_highlight_from)), "fg", "cterm")
:echo synIDattr(synIDtrans(hlID(g:slime_cells_highlight_from)), "bg", "gui")
:echo synIDattr(synIDtrans(hlID(g:slime_cells_highlight_from)), "bg", "cterm")

Thanks, klafyvel

lawrencet149 commented 2 years ago

The only command that returns an output is the first one. All others return empty/blank

:echo synIDattr(synIDtrans(hlID(g:slime_cells_highlight_from)), "fg", "gui"):

808080

Thank you.

Klafyvel commented 2 years ago

Thank you very much! I may have a fix.

lawrencet149 commented 2 years ago

Thank you. Looking forward to using the plug-in.

Klafyvel commented 2 years ago

Can you try the fix-color-issue branch ? It should fix the issue.

lawrencet149 commented 2 years ago

Hi, it works. Thank you for the fix.

Klafyvel commented 2 years ago

You are welcome ! Please feel free to report any feedback that could improve the plugin.