mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
Use fullpath to tree-sitter executable to avoid using one from NPM
This commit is contained in:
parent
0684124a71
commit
7b1d557c80
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync,
|
|||
end
|
||||
vim.list_extend(command_list, {
|
||||
{
|
||||
cmd = 'tree-sitter',
|
||||
cmd = vim.fn.exepath('tree-sitter'),
|
||||
info = 'Generating source files from grammar.js...',
|
||||
err = 'Error during "tree-sitter generate"',
|
||||
opts = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue