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 }}
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
I have checked the FAQ and it didn't resolve my problem.
Issues
I have checked existing issues and there are no issues with the same problem.
Neovim Version
0.9.1
Dev Version?
I am using a stable Neovim release version, or if I am using a dev version of Neovim I have confirmed that my issue is reproducible on a stable version.
Operating System
Linux - Ubuntu 20.04 (WSL
Minimal Config
-- to the minimal config just add stylualocalnull_ls=require("null-ls")
null_ls.setup({
sources= {
null_ls.builtins.formatting.stylua,
},
})
-- and in packer Mason / lsp
Steps to Reproduce
Deleted my previous nvim config files (where I installed plenty of formatters)
Plugged new minimal nvim config files
:PackerSync
:echo executable('stylua')
:NullLsInfo
Reproducibility Check
I confirm that my minimal config is based on the minimal_init.lua template and that my issue is reproducible by running nvim --clean -u minimal_init.lua and following the steps above.
Expected Behavior
Null-ls should be able to recognize the sources available 😄
Actual Behavior
While running NullLsInfo it says: * Note: current buffer has no sources attached
Stylua (and other formatter, i.e. like black) is present on Mason and it is executable both outside and inside of nvim, since :echo executable('stylua') returns 1
[WARN Thu Jul 6 16:10:05 2023] /home/dmoreno/.local/share/nvim/site/pack/packer/start/null-ls.nvim/lua/null-ls/generators.lua:94: failed to run generator: ...site/pack/packer/start/null-ls.nvim/lua/null-ls/loop.lua:165: command stylua is not executable (make sure it's installed and on your $PATH)
Help
No
Implementation Help
No response
Requirements
I have read and followed the instructions above and understand that my issue will be closed if I did not provide the required information.
The text was updated successfully, but these errors were encountered:
FAQ
Issues
Neovim Version
0.9.1
Dev Version?
Operating System
Linux - Ubuntu 20.04 (WSL
Minimal Config
Steps to Reproduce
Reproducibility Check
minimal_init.lua
template and that my issue is reproducible by runningnvim --clean -u minimal_init.lua
and following the steps above.Expected Behavior
Null-ls should be able to recognize the sources available 😄
Actual Behavior
While running NullLsInfo it says:
* Note: current buffer has no sources attached
Stylua (and other formatter, i.e. like black) is present on Mason and it is executable both outside and inside of nvim, since
:echo executable('stylua')
returns1
btw, thanks to @jose-elias-alvarez for such an amazing job! 😏
Debug Log
[WARN Thu Jul 6 16:10:05 2023] /home/dmoreno/.local/share/nvim/site/pack/packer/start/null-ls.nvim/lua/null-ls/generators.lua:94: failed to run generator: ...site/pack/packer/start/null-ls.nvim/lua/null-ls/loop.lua:165: command stylua is not executable (make sure it's installed and on your $PATH)
Help
No
Implementation Help
No response
Requirements
The text was updated successfully, but these errors were encountered: