Skip to content

Commit

Permalink
refactor(Makefile): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xudyang1 committed Nov 10, 2024
1 parent ca3f9ba commit a2216cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ LUASNIP_IS_ON_WINDOWS?=$(OS)
ifeq ($(LUASNIP_IS_ON_WINDOWS),Windows_NT)
# If neovim is installed by scoop, only scoop/shims is exposed. We need to find original nvim/bin that contains lua51.dll
# If neovim is installed by winget or other methods, nvim/bin is already included in PATH.
# NEOVIM_BIN_PATH?=$(shell type "scoop" >/dev/null 2>&1 && echo "$$(scoop prefix neovim)/bin | sed 's/")
NEOVIM_BIN_PATH?=$(shell \
if (scoop prefix neovim | grep -v 'Could not find app path for') >/dev/null 2>&1; then \
echo "$$(scoop prefix neovim)/bin" | sed 's/\\\\/\\//g' | sed 's/\\(.*\\) \\(.*\\)/"\\1 \\2"/'; \
Expand Down

0 comments on commit a2216cd

Please sign in to comment.