mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -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
|
end
|
||||||
vim.list_extend(command_list, {
|
vim.list_extend(command_list, {
|
||||||
{
|
{
|
||||||
cmd = 'tree-sitter',
|
cmd = vim.fn.exepath('tree-sitter'),
|
||||||
info = 'Generating source files from grammar.js...',
|
info = 'Generating source files from grammar.js...',
|
||||||
err = 'Error during "tree-sitter generate"',
|
err = 'Error during "tree-sitter generate"',
|
||||||
opts = {
|
opts = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue