Replies: 1 comment
-
The error message is pointing to a specific file in the null-ls plugin, and it seems to be related to an attempt to index a field that's currently nil. The stack traceback is showing the chain of functions that led to the error, and it seems like the issue is happening when trying to start a client for null-ls. The root_dir function is involved, and it's returning a nil value instead of the expected directory path. Without more information about your specific setup and use case, it's difficult to pinpoint exactly what's causing the error. But it might be worth checking if you have all the required dependencies installed, and if there are any conflicting plugins that could be causing issues. |
Beta Was this translation helpful? Give feedback.
-
Error executing vim.schedule lua callback: ...ack/packer/start/null-ls.nvim/lua/null-ls/utils/init.lua:282: attempt to index field 'fs' (a nil value)
stack traceback:
...ack/packer/start/null-ls.nvim/lua/null-ls/utils/init.lua:282: in function 'root_dir'
...te/pack/packer/start/null-ls.nvim/lua/null-ls/client.lua:76: in function 'start_client'
...te/pack/packer/start/null-ls.nvim/lua/null-ls/client.lua:113: in function 'try_add'
...te/pack/packer/start/null-ls.nvim/lua/null-ls/client.lua:212: in function 'retry_add'
...te/pack/packer/start/null-ls.nvim/lua/null-ls/client.lua:178: in function 'cb'
...ack/packer/start/null-ls.nvim/lua/null-ls/utils/init.lua:165: in function 'for_each_bufnr'
...te/pack/packer/start/null-ls.nvim/lua/null-ls/client.lua:176: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Beta Was this translation helpful? Give feedback.
All reactions