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
Error executing vim.schedule lua callback: ...vim/lazy/mason-nvim-lint/lua/mason-nvim-lint/install.lua:46: attempt to index a nil value
stack traceback:
...vim/lazy/mason-nvim-lint/lua/mason-nvim-lint/install.lua:46: in function 'try_install'
...mason-nvim-lint/lua/mason-nvim-lint/ensure_installed.lua:6: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
It looks like gdlint is the issue - when i change it to gdtoolkit it works fine. Briefly glancing through the code, it seems like the mapping is only being applied for the auto_install and not the main install.lua file?
The automatic_installation setting ensures that all linters specified in the config of nvim-lint are installed, so you need just specify linters in the nvim-lint. However, when the linter you need is not available in the nvim-lint, then you can specify all required linters in the ensure_installed in the mason's registry format, and then they will be installed from the registry. You fixed the error by providing the linter name in the mason's registry format as it should be.
I'm receiving an error on startup:
I've just set it up like this:
The text was updated successfully, but these errors were encountered: