omarchy-nvim: treesitter query error due to missing compiled vim parser
Problem
Opening Neovim shows a treesitter query error on startup, which blocks normal usage (:q doesn't work because noice.nvim captures the error into a floating window):
/usr/share/nvim/runtime/lua/vim/treesitter/query.lua:373: Query error at 113:4. Invalid node type "tab":
"tab"
^
Cause
The omarchy-nvim package (v2026.3.27) ships nvim-treesitter at commit 8cdffc6d which added "tab" as a vim command node type in runtime/queries/vim/highlights.scm (line 113). However, the data/site/ directory in the package is empty — no compiled treesitter parsers are included.
This means omarchy-nvim-setup copies an empty site/ directory to ~/.local/share/nvim/site/, so Neovim falls back to the vim parser bundled with the neovim Arch package (0.11.7). That system parser is older and doesn't have "tab" in its grammar, causing the query validation error.
Details
neovimpackage: 0.11.7-1omarchy-nvimpackage: 2026.3.27-1- Packaged
nvim-treesitterexpects vim parser revision3092fcd99eb87bbd0fc434aa03650ba58bd5b43b - System vim parser revision:
3dd4747082d1b717b8978211c06ef7b6cd16125b /usr/share/omarchy-nvim/data/site/is empty (no compiled parsers shipped)
Workaround
Running :TSInstall! vim inside Neovim installs the correct parser version and resolves the error.
Suggested Fix
Either ship the compiled treesitter parsers in omarchy-nvim's data/site/ directory, or add a TSUpdate / TSInstall! vim step to the setup/migration process.
I can't replicate any of this on existing or new installs. Neither on 0.11 or 0.12.
Got the same error after update to Omarchy 3.6.0 > 1st nvim start post-update launched into lazyvim updates which apparently did not finish (can't reproduce) > getting the described error in later nvim runs.
TSUpdate fixed it.
Happened to me as well after update to Quattro, opened NVIM and was prompted to update some nvim packages.
TSUpdate also fixed it for me thanks!
I could not reproduce this on a fresh install from the current Omarchy ISO (neovim 0.12.5, omarchy-nvim 2026.8.13, nvim-treesitter a1bcffc8 on main), and the cause is now known.
What happened. The error appears when nvim-treesitter's vim highlights query, which uses the "tab" node at line 113, is compiled against a vim parser that lacks that node. Neovim 0.11.7 bundles tree-sitter-vim v0.7.0 (its cmake.deps/deps.txt), and v0.7.0's node-types.json has no "tab". With no compiled parser of nvim-treesitter's own in ~/.local/share/nvim/site/parser, Neovim fell back to that bundled parser, and the query failed. Neovim 0.12.5 bundles tree-sitter-vim v0.8.1, which does define "tab".
What I checked, on a disposable worker:
- On first boot
~/.local/share/nvim/siteis empty and the only vim parser is Neovim's bundled/usr/share/nvim/runtime/parser/vim.so. nvim-treesitter'shighlights.scm,"tab"included, compiles cleanly against it. - On first launch LazyVim's nvim-treesitter installed all 27 parsers and their queries into
site/, with no error. - I then removed
site/parser/vim.so, which leaves the newer query paired with the bundled parser, as after a failed or interrupted parser install. The query still loaded and a.vimbuffer parsed without error.
What could still trigger it. An older site/parser/vim.so from an earlier :TSInstall takes precedence over Neovim's bundled parser. A lazy.nvim update that brings in newer nvim-treesitter queries without its parser-update step completing would recreate the mismatch. That fits the two reports here of lazy updates that did not finish. It is nvim-treesitter's documented requirement to update parsers alongside the plugin, not something Omarchy's packaging creates, and :TSUpdate is the fix for it, as you both found. This path is plausible but not shown to be what happened on your machines.
Second opinion. Codex at medium effort reviewed the issue separately and pointed to the bundled tree-sitter-vim versions. I confirmed those versions in Neovim's and tree-sitter-vim's sources. It agreed that current installs are not affected, though that agreement is not guaranteed to be independent, and found no contained fix to make in this repository. Shipping compiled parsers or running TSUpdate from a migration would be packaging decisions in omarchy-pkgs.
No fix pull request was opened. This now waits on the maintainer to decide whether to close it.