From 5b8bfc85110c427bdadaf41a539c43a1c55fe5ae Mon Sep 17 00:00:00 2001 From: LostNeophyte Date: Tue, 17 Jan 2023 07:11:29 +0100 Subject: fix(installer): only install treesitter-cli if it's missing (#3740) --- utils/installer/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 5519e8a7..e55e7214 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -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" -- cgit v1.2.3