ray-x / navigator.lua

Code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐 Exploring LSP and 🌲Treesitter symbols a piece of 🍰 Take control like a boss 🦍
MIT License
1.29k stars 58 forks source link

Error calling `.setup({...})` #304

Closed SingularisArt closed 4 months ago

SingularisArt commented 4 months ago

I get the error:

Error executing vim.schedule lua callback: ...m/lazy/navigator.lua/lua/navigator/lspclient/clients.lua:585: attempt to call field 'get_clients' (a nil 
value)                                                                                                                                                 
stack traceback:                                                                                                                                       
        ...m/lazy/navigator.lua/lua/navigator/lspclient/clients.lua:585: in function 'setup'                                                           
        ...m/.local/share/nvim/lazy/navigator.lua/lua/navigator.lua:360: in function ''                                                                
        vim/_editor.lua: in function ''                                                                                                                
        vim/_editor.lua: in function <vim/_editor.lua:0>

When just running: lua require("navigator").setup(). I'm using the master branch with the latest commit at this time (fd1f7e9).

ray-x commented 4 months ago

Thanks for the heads-up it was fixed in the latest version. Alternatively. you can update your nvim to 0.10 release.