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 name or number not recognized #396

Closed
danilomm opened this issue Nov 23, 2024 · 1 comment
Closed

Color name or number not recognized #396

danilomm opened this issue Nov 23, 2024 · 1 comment

Comments

@danilomm
Copy link

danilomm commented Nov 23, 2024

Hi,
I have had used Ubuntu 22 and neovim on terminal.
After I upgraded to Ubuntu 24 [GNOME Terminal Version 3.52.0 for GNOME 46], I always get several error messages when I load markdown files, that seem to stem from the same problem, as follows

Error detected while processing BufReadPost Autocommands for "*.txt"..FileType Autocommands for "*"..Syntax Autocommands for "*"..function <SNR>8_SynSet[25]..script .../.local/share/nvim/site/plugged/vim-pandoc-syntax/syntax/pandoc.vim[740]..function <SNR>63_SetupPandocHighlights:
line  111:
E421: Color name or number not recognized: ctermfg=#ffa0a0
line  112:
E421: Color name or number not recognized: ctermfg=#ffa0a0

... and so on
When I use set termguicolors on vim.init, I solve the error messages problem, but I lose the solarized syntax highlight, and the quality of the syntax hightlight itself is seemingly worse.

I use the same configurations on machines with Ubuntu 22, and everything works fine. However, since the problem comes from vim-syntax-pandoc scripts I ask here if you know how to solve it...

@danilomm
Copy link
Author

Same bug reported here. Sorry.

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

1 participant