Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/utils/drop
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ absolute_path() {

name="$(absolute_path """$1""")"

if [ -z "$NVIM_LISTEN_ADDRESS" ]; then
if [ -z "$NVIM" ]; then
printf '\033]51;["call", "Tapi_TerminalEdit", ["%s"]]\007' "$name"
else
if [ -x "$(which nvr 2> /dev/null)" ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/utils/drop.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ REM Get absolute name
for /f "delims=" %%i in ("%1") do set "NAME=%%~fi"
REM echo fullpath: %NAME%

if "%NVIM_LISTEN_ADDRESS%" == "" GOTO vim
if "%NVIM%" == "" GOTO vim
goto neovim

:vim
Expand Down