diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-03-30 19:30:16 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-03-30 22:27:50 +0200 |
| commit | 7b1d557c80b63a0c063f73ccd6f430cff528a282 (patch) | |
| tree | 09126fb8f0a12bd70f98ecf86a5551c2c3afef8e /lua/nvim-treesitter/install.lua | |
| parent | 0684124a7127648281faabd7bfeee3a2607437df (diff) | |
Use fullpath to tree-sitter executable to avoid using one from NPM
Diffstat (limited to 'lua/nvim-treesitter/install.lua')
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index 81751411..7d491549 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -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 = { |
