mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
hotfix npm check
This commit is contained in:
parent
f392f13af4
commit
2f81d4ad27
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync,
|
|||
end
|
||||
if generate_from_grammar then
|
||||
if repo.generate_requires_npm then
|
||||
if not vim.fn.executable('npm') ~= 1 then
|
||||
if vim.fn.executable('npm') ~= 1 then
|
||||
api.nvim_err_writeln('`'..lang..'` requires NPM to be installed from grammar.js')
|
||||
return
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue