Skip to content

Treesitter parsers not working #1442

@mana-byte

Description

@mana-byte

I have confirmed that this is a bug related to nvf

  • This is a bug, and not an user error or a support request. I understand that my issue will be closed if it is not a bug in nvf.
  • I have checked the issues tab and confirmed that my issue has not yet been reported. I understand that my issue will be closed if it is a duplicate.

Description

Some language parsers are not working.
notably treesitter indent doesn''t work.
Started happening since I did nix flake update on my config

NOTE: I'm using the exact same config but with an older flake.lock and it works fine.

Installation Method

Standalone (flake outputs, nix profile install, etc.)

Installation Method (Other)

No response

nvf Version

v0.8

Reproduction steps

  1. Launch nvf using my personal config nix run github:mana-byte/nix-configs#nvf
  2. :checkhealth
  3. At the bottom you should see the same errors as bellow.

Config: https://github.com/mana-byte/nix-configs/blob/main/modules/packages/nvim/nvf.nix

Expected behavior

Parsers should be working.

Actual Behavior

Parsers not working :< and writing code without treesitter autoindent is painful.

System Information

❯ nix-info --markdown
 - system: `"x86_64-linux"`
 - host os: `Linux 6.18.9, NixOS, 25.11 (Xantusia), 25.11.20260304.fabb8c9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.31.2`
 - channels(root): `"nixos-25.05, nixos-hardware"`
 - nixpkgs: `/nix/store/6506wv90034i61g33h3i7jn1bv2fqm8a-source`

Relevant log output

`:checkhealth` results


- ❌ ERROR Parser "vimplugin_treesitter_grammar_bash" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_bash/parser/vimplugin_treesitter_grammar_bash.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_bash': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_bash/parser/vimplugin_treesitter_grammar_bash.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_c" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_c/parser/vimplugin_treesitter_grammar_c.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_c': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_c/parser/vimplugin_treesitter_grammar_c.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_lua" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_lua/parser/vimplugin_treesitter_grammar_lua.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_lua': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_lua/parser/vimplugin_treesitter_grammar_lua.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_markdown" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_markdown/parser/vimplugin_treesitter_grammar_markdown.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_markdown': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_markdown/parser/vimplugin_treesitter_grammar_markdown.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_nix" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_nix/parser/vimplugin_treesitter_grammar_nix.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_nix': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_nix/parser/vimplugin_treesitter_grammar_nix.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_python" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_python/parser/vimplugin_treesitter_grammar_python.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_python': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_python/parser/vimplugin_treesitter_grammar_python.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_query" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_query/parser/vimplugin_treesitter_grammar_query.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_query': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_query/parser/vimplugin_treesitter_grammar_query.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_regex" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_regex/parser/vimplugin_treesitter_grammar_regex.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_regex': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_regex/parser/vimplugin_treesitter_grammar_regex.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_vim" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_vim/parser/vimplugin_treesitter_grammar_vim.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_vim': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_vim/parser/vimplugin_treesitter_grammar_vim.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_vimdoc" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_vimdoc/parser/vimplugin_treesitter_grammar_vimdoc.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_vimdoc': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_vimdoc/parser/vimplugin_treesitter_grammar_vimdoc.so: cannot read file data: Is a directory
- ❌ ERROR Parser "vimplugin_treesitter_grammar_yaml" failed to load (path: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_yaml/parser/vimplugin_treesitter_grammar_yaml.so): ....11.6/share/nvim/runtime/lua/vim/treesitter/language.lua:137: Failed to load parser for language 'vimplugin_treesitter_grammar_yaml': uv_dlopen: /nix/store/kqx3gbnbiszrs92azxbwqic6r1dfj783-mnw-configDir/pack/mnw/start/treesitter-grammar-vimplugin_treesitter_grammar_yaml/parser/vimplugin_treesitter_grammar_yaml.so: cannot read file data: Is a directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions