bluz71 / vim-nightfly-colors

A dark midnight theme for modern Neovim & classic Vim
MIT License
828 stars 51 forks source link

colorscheme nightfly not found #38

Closed gmdevz closed 2 years ago

gmdevz commented 2 years ago

I got this error after updating my plugins

image

pallymore commented 2 years ago

same issue here - i'm using NeoVim 0.8

bluz71 commented 2 years ago

Very strange, in my Neovim 0.8 setup I can do vim.api_nvim_set_hl(0, "TermCursor", { bg = "#222222", fg = "bg" }) with no issues, but in your case it errors out. It works for me on Linux and macOS.

The fg = "bg" appears to break.

What platform are you on?

Anyway, I have replaced such usages with real RGB codes, hence I believe this issue should now be resolved.

Apologies for the breakage; I am moving some VimScript to Lua (in this theme); so there may be some teething issues.

pallymore commented 2 years ago

I can confirm it works again now, thank you for the quick fix!

I'm using Linux (Amazon Linux 2 x86_64)

bluz71 commented 2 years ago

Ok, good to know it is fixed......though I do not understand why it fails on your Linux and works on my Linux.

Best regards.