Skip to content

nvim-treesitter[latex]: Error during "tree-sitter generate" Volta error: Could not locate executable tree-sitter in your project. Please ensure that all project dependencies are installed with npm install or yarn install #1391

Answered by ayamir
imac8t asked this question in Q&A
Discussion options

You must be logged in to vote

install tree-sitter: https://github.com/ayamir/nvimdots/wiki/Prerequisites#optional-packages
OR
remove it in lua/user/settings.lua:

settings["treesitter_deps"] = function()
	return {
		"bash",
		"c",
		"cpp",
		"css",
		"go",
		"gomod",
		"html",
		"javascript",
		"json",
		"jsonc",
		-- "latex",
		"lua",
		"make",
		"markdown",
		"markdown_inline",
		"python",
		"rust",
		"typescript",
		"vimdoc",
		"vue",
		"yaml",
	}
end

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by imac8t
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants