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
{{ message }}
Repository navigation
vim-smoothie and nvim-treesitter-context have conflict #594
Error detected while processing CursorMoved Autocommands for "*":
Error executing lua callback: .../wzy/.local/rocks_rtp/lua/treesitter-context/context.lua:81: attempt to call method 'range' (a nil value)
stack traceback:
.../wzy/.local/rocks_rtp/lua/treesitter-context/context.lua:81: in function 'fn'
/home/wzy/.local/rocks_rtp/lua/treesitter-context/cache.lua:14: in function 'context_range'
.../wzy/.local/rocks_rtp/lua/treesitter-context/context.lua:296: in function 'get_context'
/home/wzy/.local/rocks_rtp/lua/treesitter-context.lua:101: in function 'f'
/home/wzy/.local/rocks_rtp/lua/treesitter-context.lua:27: in function </home/wzy/.local/rocks_rtp/lua/treesitter-context.lua:21>
OS: Arch Linux
NVIM v0.11.0
Build type: RelWithDebInfo
LuaJIT 2.1.1736781742
Run "nvim -V1 -v" for more info
vim-smoothie is git version
nvim-treesitter-context is luarocks' latest version
I tend to think this is due to vim-smoothie do some weird thing during CursorMoved ? Maybe @psliwka know.
Neovim version
0.11.0
Expected behavior
No error
Actual behavior
Error
Minimal config
localplugins= {
ts='https://github.com/psliwka/vim-smoothie',
ts_context='https://github.com/nvim-treesitter/nvim-treesitter-context',
-- ADD ADDITIONAL PLUGINS THAT ARE _NECESSARY_ TO REPRODUCE THE ISSUE
}
forname, urlinpairs(plugins) dolocalinstall_path='/tmp/nvim/site/'..nameifvim.fn.isdirectory(install_path) ==0thenvim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
endvim.o.runtimepath=install_path..','..vim.o.runtimepathend-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
Activity