You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues of trouble.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.9.5
Operating system/version
Arch Linux x86_64
Describe the bug
When I open an Astro file using LazyVim and Trouble-v3 it starts with a lot of errors like this
..hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:98: Error executing lua: ...e/nvim/lazy/lualine.nvim/lua/lualine/utils/nvim_opts.lua:77: E539: Illegal character <]>
stack traceback:
[C]: in function 'nvim_win_set_option'
...e/nvim/lazy/lualine.nvim/lua/lualine/utils/nvim_opts.lua:77: in function 'setter_fn'
...e/nvim/lazy/lualine.nvim/lua/lualine/utils/nvim_opts.lua:50: in function 'set_opt'
...e/nvim/lazy/lualine.nvim/lua/lualine/utils/nvim_opts.lua:74: in function 'set'
...irio/.local/share/nvim/lazy/lualine.nvim/lua/lualine.lua:432: in function 'refresh'
.../.local/share/nvim/lazy/trouble.nvim/lua/trouble/api.lua:150: in function 'on_update'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:108: in function 'update'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:72: in function 'finder'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:66: in function 'fn'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:99: in function <...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:98>
[C]: in function 'nvim_win_call'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:98: in function 'main_call'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:64: in function 'fn'
....local/share/nvim/lazy/trouble.nvim/lua/trouble/util.lua:119: in function <....local/share/nvim/lazy/trouble.nvim/lua/trouble/util.lua:115>
[C]: in function 'xpcall'
....local/share/nvim/lazy/trouble.nvim/lua/trouble/util.lua:115: in function <....local/share/nvim/lazy/trouble.nvim/lua/trouble/util.lua:114>
If I use old version of Trouble there are no errors
Steps To Reproduce
Open LazyVim
Open an Astro file
Wait some seconds and they appear
Expected Behavior
It will open the file without errors, now it is unusable. I tried with the repro below, but it doesn't reproduce anything, I don't know how to set it to reproduce (I'm a little newbie in this XD )
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
"folke/trouble.nvim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.5
Operating system/version
Arch Linux x86_64
Describe the bug
When I open an Astro file using LazyVim and Trouble-v3 it starts with a lot of errors like this
..hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:98: Error executing lua: ...e/nvim/lazy/lualine.nvim/lua/lualine/utils/nvim_opts.lua:77: E539: Illegal character <]>
stack traceback:
[C]: in function 'nvim_win_set_option'
...e/nvim/lazy/lualine.nvim/lua/lualine/utils/nvim_opts.lua:77: in function 'setter_fn'
...e/nvim/lazy/lualine.nvim/lua/lualine/utils/nvim_opts.lua:50: in function 'set_opt'
...e/nvim/lazy/lualine.nvim/lua/lualine/utils/nvim_opts.lua:74: in function 'set'
...irio/.local/share/nvim/lazy/lualine.nvim/lua/lualine.lua:432: in function 'refresh'
.../.local/share/nvim/lazy/trouble.nvim/lua/trouble/api.lua:150: in function 'on_update'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:108: in function 'update'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:72: in function 'finder'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:66: in function 'fn'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:99: in function <...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:98>
[C]: in function 'nvim_win_call'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:98: in function 'main_call'
...hare/nvim/lazy/trouble.nvim/lua/trouble/view/section.lua:64: in function 'fn'
....local/share/nvim/lazy/trouble.nvim/lua/trouble/util.lua:119: in function <....local/share/nvim/lazy/trouble.nvim/lua/trouble/util.lua:115>
[C]: in function 'xpcall'
....local/share/nvim/lazy/trouble.nvim/lua/trouble/util.lua:115: in function <....local/share/nvim/lazy/trouble.nvim/lua/trouble/util.lua:114>
If I use old version of Trouble there are no errors
Steps To Reproduce
Expected Behavior
It will open the file without errors, now it is unusable. I tried with the repro below, but it doesn't reproduce anything, I don't know how to set it to reproduce (I'm a little newbie in this XD )
Repro
The text was updated successfully, but these errors were encountered: