Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color Issue #1

Closed
lawrencet149 opened this issue Jul 2, 2022 · 7 comments
Closed

Color Issue #1

lawrencet149 opened this issue Jul 2, 2022 · 7 comments

Comments

@lawrencet149
Copy link

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
Copy link
Owner

Klafyvel commented Jul 3, 2022

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
Copy link
Author

lawrencet149 commented Jul 4, 2022

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
Copy link
Owner

Klafyvel commented Jul 4, 2022

Thank you very much! I may have a fix.

@lawrencet149
Copy link
Author

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

Klafyvel added a commit that referenced this issue Jul 4, 2022
@Klafyvel
Copy link
Owner

Klafyvel commented Jul 4, 2022

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

@lawrencet149
Copy link
Author

Hi, it works. Thank you for the fix.

Klafyvel added a commit that referenced this issue Jul 5, 2022
@Klafyvel
Copy link
Owner

Klafyvel commented Jul 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants