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

W18: Invalid character in group name when opening neovim #208

Closed
jmorgadov opened this issue Sep 10, 2022 · 6 comments
Closed

W18: Invalid character in group name when opening neovim #208

jmorgadov opened this issue Sep 10, 2022 · 6 comments

Comments

@jmorgadov
Copy link

Hi, I've just installed this plugin. It is amazing, great work! But everytime I open neovim this shows up:

                    Error detected while processing /home/username/.config/nvim/plugged/tokyonight.nvim/co
lors/tokyonight.lua:
W18: Invalid character in group name
W18: Invalid character in group name
Press ENTER or type command to continue

I managed to resolve this by commenting this two lines of lua/tokyonight/theme.lua:

    ["@punctuation.special.markdown"] = { fg = c.orange, style = "bold" },
    ["@text.literal.markdown_inline"] = { bg = c.terminal_black, fg = c.blue },

Do I have anything else installed or configured for this to work withow commenting those lines? or is this a bug?

Also, I'm using this neovim version:

NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"
@folke
Copy link
Owner

folke commented Sep 10, 2022

Fixed. Apparently the new group names can only be used on nightly

@folke folke closed this as completed Sep 10, 2022
@Ramilito
Copy link

Ramilito commented Sep 10, 2022

I'm getting the same error on this version of neovim:
image

PS. I'm using lunarvim
image

@folke
Copy link
Owner

folke commented Sep 10, 2022

@Ramilito are you using the latest nightly?

@folke
Copy link
Owner

folke commented Sep 10, 2022

@Ramilito it worked on the latest nightly, but added a different check to see wether the new group names are supported, so it should now also load on your version (without the new hls for TS markdown)

@Ramilito
Copy link

@folke Yeah I reinstalled nvim just to be sure, will try older versions to see if something changes

@Ramilito
Copy link

@folke mb! turns out my install wasn't done correctly! Working great on latest nightly!

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

3 participants