Skip to content

Error when opening LaTeX files: "tree-sitter CLI not found" #1466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hanweikung opened this issue Apr 12, 2025 · 0 comments
Open

Error when opening LaTeX files: "tree-sitter CLI not found" #1466

hanweikung opened this issue Apr 12, 2025 · 0 comments

Comments

@hanweikung
Copy link

Description:

I got an error while trying to open a LaTeX file (.tex) in Neovim. The error message is as follows:

Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: /tmp/.mount_nvimiaKmhj/usr/share/nvim/runtime/filetype.lua:36: BufReadPost Autocommands for "*"..FileType
 Autocommands for "*": Vim(append):tree-sitter CLI not found: `tree-sitter` is not executable!
stack traceback:
        [C]: in function '_with'
        /tmp/.mount_nvimiaKmhj/usr/share/nvim/runtime/filetype.lua:35: in function </tmp/.mount_nvimiaKmhj/usr/share/nvim/runtime/filet
ype.lua:10>
Press ENTER or type command to continue

I ran :checkhealth but did not see any errors reported.

Steps to Reproduce:

  1. Open a LaTeX file (.tex) in Neovim.
  2. Observe the error message.

Environment:

  • Neovim version: v0.11.0
  • Operating System: Debian 12 / Fedora 41

Additional Information:
It seems that the error is related to the tree-sitter not being found or not being executable. I would appreciate any guidance on how to resolve this issue. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant