Skip to content

Commit

Permalink
Merge pull request #531 from atticus-sullivan/unset_lua_path
Browse files Browse the repository at this point in the history
unset needs to be in the same subshell as the make command
  • Loading branch information
L3MON4D3 authored Aug 16, 2022
2 parents b8fa22f + 497e01e commit 05e2e74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ nvim:
# Expects to be run from repo-location (eg. via `make -C path/to/luasnip`).
test: nvim
# unset both to prevent env leaking into the neovim-build.
unset LUA_PATH LUA_CPATH
# add helper-functions to lpath.
LUASNIP_SOURCE=$(shell pwd) TEST_FILE=$(realpath tests) BUSTED_ARGS=--lpath=$(shell pwd)/tests/?.lua make -C ${NVIM_PATH} functionaltest
unset LUA_PATH LUA_CPATH ; LUASNIP_SOURCE=$(shell pwd) TEST_FILE=$(realpath tests) BUSTED_ARGS=--lpath=$(shell pwd)/tests/?.lua make -C ${NVIM_PATH} functionaltest
2 changes: 1 addition & 1 deletion doc/luasnip.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*luasnip.txt* For NVIM v0.5.0 Last change: 2022 August 13
*luasnip.txt* For NVIM v0.5.0 Last change: 2022 August 16

==============================================================================
Table of Contents *luasnip-table-of-contents*
Expand Down

0 comments on commit 05e2e74

Please sign in to comment.