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

Error Invalid character in group name on start up #207

Closed
joshuali925 opened this issue Sep 10, 2022 · 8 comments · Fixed by #293
Closed

Error Invalid character in group name on start up #207

joshuali925 opened this issue Sep 10, 2022 · 8 comments · Fixed by #293

Comments

@joshuali925
Copy link

packer setup

use({ "folke/tokyonight.nvim" })

Got error after running colorscheme tokyonight. Tried on mac and linux, nvim version: 0.7.2.

Error detected while processing /Users/<user>/.local/share/nvim/site/pack/packer/opt/tokyonight.nvim/colors/tokyonight.lua:
W18: Invalid character in group name
W18: Invalid character in group name
Press ENTER or type command to continue

this commit caused it: de2a7e7

does this require nightly, or something i missed? thanks

@NikolaM-Dev
Copy link

I am using nightly and I have the same problem

@wongchongkai
Copy link

Just updated and have the same problem too. The theme still works fine apart from that though.

Removing vim.cmd[[colorscheme tokyonight]] solves the issue, but of course the theme wouldn't work then.

@jmorgadov
Copy link

I was creating a new issue for this with a solution. See here: #208

@folke folke closed this as completed in dbf4300 Sep 10, 2022
@folke
Copy link
Owner

folke commented Sep 10, 2022

Damn, my bad. I added some treesitter highlights for markdown, but that apparently only works on 0.8.
Fixed now

riley-martine pushed a commit to riley-martine/tokyonight.nvim that referenced this issue Dec 7, 2023
@BPowell76
Copy link

BPowell76 commented May 18, 2024

This issue still exists. New neovim user so I'm using the latest plugin Packer pulls. Note this is also the only plugin installed.

@folke
Copy link
Owner

folke commented May 19, 2024

@BPowell76
Copy link

https://github.com/folke/tokyonight.nvim?tab=readme-ov-file#%EF%B8%8F-requirements

I saw that after I made the comment, but couldn't find the comment again to delete it. Do you by chance know which version is compatible with neovim 7.2?

@folke
Copy link
Owner

folke commented May 19, 2024

You'll have a hard time making anything work on 7.2
For every plugin, especially nvim-treesitter, you'll need to find the old version that used towork at the time.
no idea what version of tokyonight works with 7.2

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

Successfully merging a pull request may close this issue.

6 participants