[ ] 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
mac osx
Minimal Config
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{
"nvimtools/none-ls.nvim",
config = function()
local setup, null_ls = pcall(require, "null-ls")
if not setup then
return
end
local formatting = null_ls.builtins.formatting
null_ls.setup({
sources = {
formatting.stylua.with({ -- lua formatter
condition = function(utils)
return utils.root_has_file({ "stylua.toml", ".stylua.toml" })
end,
}),
},
})
end,
},
}, {
checker = {
enabled = true,
notify = false,
},
change_detection = {
notify = false,
},
})
Steps to Reproduce
mkdir -p foo
nvim mian.rs
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
Open file with no error.
Actual Behavior
Debug Log
no useful log for this error
Help
Yes
Implementation Help
No response
Requirements
[X] I have read and followed the instructions above and understand that my issue will be closed if I did not provide the required information.
FAQ
Issues
Neovim Version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478
Dev Version?
Operating System
mac osx
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
Open file with no error.
Actual Behavior
Debug Log
no useful log for this error
Help
Yes
Implementation Help
No response
Requirements