Closed RaphGL closed 1 year ago
I'm facing the same issue.
I found a temporary workaround though, comment out require "user.bufferline"
.
(no errors for me)
Please try the latest commit.
Please try the latest commit.
I am note getting the stack trace message anymore but
Error detected while processing /home/saumitra/.dotfiles/nvim/.config/nvim/init.lua:
E5248: Invalid character in group name
E5248: Invalid character in group name
E5248: Invalid character in group name
is still being prompted on startup.
Same here, the stack trace is gone, the error I get is this:
Error detected while processing /home/raph/.config/nvim/init.lua:
E5248: Invalid character in group name
I need a minimum configuration to reproduce this issue.
I need a minimum configuration to reproduce this issue.
You can try my neovim config if you want https://github.com/RaphGL/Dotfiles/tree/master/Configs/nvim/.config/nvim
I'm using packer for managing plugins
@RaphGL
IMO, the plugin author is requesting a minimal nvim config for detecting the root cause easily.
You just provide your whole nvim config, and it's not what he expects.
nvim released version 0.9 which you can run nvim with custom config folder, please use it to create a minimal nvim config (keyword is NVIM_APPNAME).
I went back to hunting down what the issue was as it was bothering me. After around 30 minutes I think I've solved the issue.
So it seems that bufferline.nvim
was causing the issue (I know this is true because removing bufferline altogether fixes the issue).
The error is fixed by changing from:
bufferline.setup {
highlights = {
fill = {
fg = { attribute = "fg", highlight = "#ff0000" },
bg = { attribute = "bg", highlight = "TabLine" },
}
}
to:
bufferline.setup {
highlights = {
fill = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
}
}
Let me know if this fixes it for you as well @saumitrapatil @xiyaowong @ansidev
You assigned an invalid value for highlight. Value of highlight
is a highlight group.
If you want to assign color, the syntax is
fg = "#ff0000"
You should read the documentation carefully.
FYI: https://github.com/akinsho/bufferline.nvim/blob/main/doc/bufferline.txt#L762
@RaphGL I guess the root cause was detected. This issue can be closed.
P/s: Relate to bufferline
, if you are using a colorscheme
plugin, you can check their documentation to know whether they support bufferline
and how to configure highlight groups.
Hey, love the plugin been using it for a while now. It's been working fine but yesterday after an update it broke. The colorscheme no longer works on lualine but is working for syntax highlighting and the background colors, I get the following stack trace when opening neovim:
I tried fixing it myself but couldn't, when I remove the line
transparent/init.lua:69
the issue seems to be fixed but the following message remainsFor reference my
init.lua
looks like this:So nothing is wrong on my end I think