I have confirmed that this is a bug related to nvf
Description
So many treesitter plugins and treesitter itself changed from the master to the main branch (NixOS/nixpkgs@71f1b82), and while doing that, they had a major rewrite of these, which makes the new main branch broken/incompatible with old use cases.
Nixpkgs should have a vim.nvim-treesitter-legacy package, but it seems like that's still stuck in review, so no chance for a quick hotfix (NixOS/nixpkgs#472119)
Since there was no issue yet, I just wanted to create this issue for tracking and awareness.
Please let me know if i can do more digging or add more logs/infos so i can help with this issue.
Other than that, I hope you had a great start into the new year, and thanks for taking a look into this! :)
Installation Method
Other
Installation Method (Other)
Probably all install methods are affected?
nvf Version
master (flake)
Reproduction steps
- Update flake
- Deploy/rebuild
- Open nvim
Expected behavior
Same as before, working as expected
Actual Behavior
Big fat error message, and most stuff doesn't work anymore since the init.lua is broken since the .config option doesn't exist anymore or something like that
System Information
- system: `"aarch64-darwin"`
- host os: `Darwin 25.0.0, macOS 26.0`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Determinate Nix 3.11.2) 2.31.1`
- nixpkgs: `/nix/store/ri19g370fjy8qwsfvg0fh7p6ziqmda4l-source`
Relevant log output
12:09:45 msg_show Error detected while processing VIMINIT..script /nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/init.lua:
E5113: Error while calling lua chunk: ...pack/mnw/start/lzn-auto-require/lua/lzn-auto-require.lua:66: module 'nvim-treesitter.configs' not found:
no field package.preload['nvim-treesitter.configs']
no file '/nix/store/l15j0hpgrckbk5h0c8id4i2rsgsxdh2g-luajit-2.1.1741730670-env/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/l15j0hpgrckbk5h0c8id4i2rsgsxdh2g-luajit-2.1.1741730670-env/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file './nvim-treesitter/configs.lua'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/share/luajit-2.1/nvim-treesitter/configs.lua'
no file '/usr/local/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/usr/local/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file '/nix/store/l15j0hpgrckbk5h0c8id4i2rsgsxdh2g-luajit-2.1.1741730670-env/lib/lua/5.1/nvim-treesitter/configs.so'
no file './nvim-treesitter/configs.so'
no file '/usr/local/lib/lua/5.1/nvim-treesitter/configs.so'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/lib/lua/5.1/nvim-treesitter/configs.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/pack/mnw/opt/blink-cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/libnvim-treesitter/configs.dylib'
no file '/nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/pack/mnw/opt/blink-cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/nvim-treesitter/configs.dylib'
no file '/nix/store/l15j0hpgrckbk5h0c8id4i2rsgsxdh2g-luajit-2.1.1741730670-env/lib/lua/5.1/nvim-treesitter.so'
no file './nvim-treesitter.so'
no file '/usr/local/lib/lua/5.1/nvim-treesitter.so'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/lib/lua/5.1/nvim-treesitter.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/pack/mnw/opt/blink-cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/libnvim-treesitter.dylib'
no file '/nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/pack/mnw/opt/blink-cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/nvim-treesitter.dylib'
stack traceback:
[C]: in function 'error'
...pack/mnw/start/lzn-auto-require/lua/lzn-auto-require.lua:66: in function 'require'
/nix/store/mmzk0wp4b8wbjqfz7nx2qgd4xbhhyxia-init.lua:1508: in main chunk
[C]: in function 'dofile'
.../spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/init.lua:5: in main chunk
Error detected while processing /nix/store/rmdh99hcjklxmm7jf7zxh29rqh09ppif-nvim-treesitter-textobjects-71385f19/plugin/nvim-treesitter-textobjects.vim:
line 3:
E5108: Error executing lua ...pack/mnw/start/lzn-auto-require/lua/lzn-auto-require.lua:66: ...pack/mnw/start/lzn-auto-require/lua/lzn-auto-require.lua:66: module 'nvim-treesitter.configs' not found:
no field package.preload['nvim-treesitter.configs']
no file '/nix/store/l15j0hpgrckbk5h0c8id4i2rsgsxdh2g-luajit-2.1.1741730670-env/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/l15j0hpgrckbk5h0c8id4i2rsgsxdh2g-luajit-2.1.1741730670-env/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file './nvim-treesitter/configs.lua'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/share/luajit-2.1/nvim-treesitter/configs.lua'
no file '/usr/local/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/usr/local/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file '/nix/store/l15j0hpgrckbk5h0c8id4i2rsgsxdh2g-luajit-2.1.1741730670-env/lib/lua/5.1/nvim-treesitter/configs.so'
no file './nvim-treesitter/configs.so'
no file '/usr/local/lib/lua/5.1/nvim-treesitter/configs.so'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/lib/lua/5.1/nvim-treesitter/configs.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/pack/mnw/opt/blink-cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/libnvim-treesitter/configs.dylib'
no file '/nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/pack/mnw/opt/blink-cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/nvim-treesitter/configs.dylib'
no file '/nix/store/l15j0hpgrckbk5h0c8id4i2rsgsxdh2g-luajit-2.1.1741730670-env/lib/lua/5.1/nvim-treesitter.so'
no file './nvim-treesitter.so'
no file '/usr/local/lib/lua/5.1/nvim-treesitter.so'
no file '/nix/store/nvhwz6nzypbjdn59123pqbxq82dh8zgq-luajit-2.1.1741730670/lib/lua/5.1/nvim-treesitter.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/pack/mnw/opt/blink-cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/libnvim-treesitter.dylib'
no file '/nix/store/spmzvbrrsvv2vlnk7g3i4mqjaicf6z6r-mnw-configDir/pack/mnw/opt/blink-cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/nvim-treesitter.dylib'
stack traceback:
[C]: in function 'error'
...pack/mnw/start/lzn-auto-require/lua/lzn-auto-require.lua:66: in function 'require'
[string ":lua"]:1: in main chunk
I have confirmed that this is a bug related to nvf
Description
So many treesitter plugins and treesitter itself changed from the master to the main branch (NixOS/nixpkgs@71f1b82), and while doing that, they had a major rewrite of these, which makes the new main branch broken/incompatible with old use cases.
Nixpkgs should have a vim.nvim-treesitter-legacy package, but it seems like that's still stuck in review, so no chance for a quick hotfix (NixOS/nixpkgs#472119)
Since there was no issue yet, I just wanted to create this issue for tracking and awareness.
Please let me know if i can do more digging or add more logs/infos so i can help with this issue.
Other than that, I hope you had a great start into the new year, and thanks for taking a look into this! :)
Installation Method
Other
Installation Method (Other)
Probably all install methods are affected?
nvf Version
master (flake)
Reproduction steps
Expected behavior
Same as before, working as expected
Actual Behavior
Big fat error message, and most stuff doesn't work anymore since the init.lua is broken since the
.configoption doesn't exist anymore or something like thatSystem Information
Relevant log output