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 (UPDATE NEOVIM NIGHTLY TO FIX) #262

Closed
brxxlstxrs opened this issue Aug 27, 2022 · 7 comments
Closed
Labels
bug Something isn't working neovim nightly Doesn't affect stable release

Comments

@brxxlstxrs
Copy link

brxxlstxrs commented Aug 27, 2022

Description

Error detected while processing /Users/thanh/.config/nvim/after/plugin/catppuccin.rc.lua..nvim_exec() called at /Users/thanh/.config/nvim/after/plugin/catppuccin.rc.lua:0../Users/thanh/.local/share/nvim/site/
pack/packer/start/catppuccin/colors/catppuccin.lua:
W18: Invalid character in group name

Screenshots
image

Configuration
vim.g.catppuccin_flavour = "macchiato" -- latte, frappe, macchiato, mocha

require("catppuccin").setup({
        dim_inactive = {
                enabled = false,
                shade = "dark",
                percentage = 0.15,
        },
        transparent_background = false,
        term_colors = false,
        compile = {
                enabled = false,
                path = vim.fn.stdpath "cache" .. "/catppuccin",
        },
        styles = {
                comments = {},      -- { "italic" },
                conditionals = {},  -- { "italic" },
                loops = {},
                functions = {},
                keywords = {},
                strings = {},
                variables = {},
                numbers = {},
                booleans = {},
                properties = {},
                types = {},
                operators = {},
        },
        integrations = {
                treesitter = true,
                native_lsp = {
                        enabled = true,
                        virtual_text = {
                                errors = {},       -- { "italic" },
                                hints = {},        -- { "italic" },
                                warnings = {},     -- { "italic" },
                                information = {},  -- { "italic" },
                        },
                        underlines = {
                                errors = { "underline" },
                                hints = { "underline" },
                                warnings = { "underline" },
                                information = { "underline" },
                        },
                },
                coc_nvim = false,
                lsp_trouble = true,
                cmp = true,
                lsp_saga = false,
                gitgutter = false,
                gitsigns = true,
                leap = false,
                telescope = true,
                nvimtree = true,
                neotree = {
                        enabled = false,
                        show_root = true,
                        transparent_panel = false,
                },
                dap = {
                        enabled = false,
                        enable_ui = false,
                },
                which_key = false,
                indent_blankline = {
                        enabled = true,
                        colored_indent_levels = false,
                },
                dashboard = true,
                neogit = false,
                vim_sneak = false,
                fern = false,
                barbar = false,
                bufferline = {
                        enabled = true,
                        italics = false,  -- true,
                        bolds = true,
                },
                markdown = true,
                lightspeed = false,
                ts_rainbow = false,
                hop = false,
                notify = true,
                telekasten = true,
                symbols_outline = true,
                mini = false,
                aerial = false,
                vimwiki = true,
                beacon = true,
                navic = false,
                overseer = false,
        },
        color_overrides = {},
        custom_highlights = {
                -- Treesitter
                TSParameter = { style = {} },
                ErrorMsg = { style = {} },
        },
})

vim.cmd [[colorscheme catppuccin]]

Additional info / context

Any additional info like neovim version (nvim -v), terminal, platform, etc to help with resolution

nvim -v

NVIM v0.8.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
@brxxlstxrs brxxlstxrs added the bug Something isn't working label Aug 27, 2022
@nullchilly
Copy link
Contributor

nullchilly commented Aug 27, 2022

Update your neovim nightly to the latest version

Leaving this issue open to remind people to update their neovim nightly. Related: #255

@nullchilly nullchilly changed the title Strange massages treesitter invalid highlight on neovim nightly Aug 27, 2022
@nullchilly nullchilly pinned this issue Aug 27, 2022
@nullchilly nullchilly reopened this Aug 28, 2022
@nullchilly nullchilly changed the title treesitter invalid highlight on neovim nightly W18: Invalid character in group name Aug 28, 2022
@nullchilly nullchilly added the neovim nightly Doesn't affect stable release label Aug 28, 2022
@gotgenes
Copy link
Contributor

gotgenes commented Sep 1, 2022

@brxxlstxrs, did updating Neovim resolve the issue for you?

@tyler-dot-earth
Copy link
Contributor

@brxxlstxrs, did updating Neovim resolve the issue for you?

I'm not OP, but updating Neovim resolved this issue for me.

@Morette
Copy link

Morette commented Sep 1, 2022

I'm having the same issue with

NVIM v0.8.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

@nullchilly
Copy link
Contributor

nullchilly commented Sep 1, 2022

@Morette Please update neovim to the latest commit, I only leave this issue open because we adapted to the master change too quickly people haven't updated their neovim-git yet.

Also basically every neovim build on master is "NVIM v0.8.0-dev" thus doesn't provide any valuable info.

@iduuck
Copy link

iduuck commented Sep 2, 2022

Updating helped!

@nullchilly nullchilly changed the title W18: Invalid character in group name W18: Invalid character in group name (UPDATE NEOVIM NIGHTLY TO FIX) Sep 6, 2022
@nullchilly nullchilly unpinned this issue Sep 13, 2022
@nullchilly
Copy link
Contributor

Better detection implemented
bb805c5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working neovim nightly Doesn't affect stable release
Projects
None yet
Development

No branches or pull requests

6 participants