fix(installer): only install treesitter-cli if it's missing (#3740)

This commit is contained in:
LostNeophyte 2023-01-17 07:11:29 +01:00 committed by GitHub
parent de2f4bb776
commit 5b8bfc8511
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,8 +39,11 @@ declare -a __lvim_dirs=(
declare -a __npm_deps=(
"neovim"
"tree-sitter-cli"
)
# treesitter installed with brew causes conflicts #3738
if ! command -v tree-sitter &>/dev/null; then
__npm_deps+=("tree-sitter-cli")
fi
declare -a __pip_deps=(
"pynvim"