[Tags] Fix preview on Vim 9.1

Fix #1555
This commit is contained in:
Junegunn Choi
2024-08-01 15:20:41 +09:00
parent f7c7b44764
commit 6f28c8c7bb

View File

@@ -32,7 +32,7 @@ fi
CENTER="$("${VIMNAME}" -R -i NONE -u NONE -e -m -s "${FILE}" \
-c "set nomagic" \
-c "${EXCMD}" \
-c "silent ${EXCMD}" \
-c 'let l=line(".") | new | put =l | print | qa!')" || exit
START_LINE="$(( CENTER - FZF_PREVIEW_LINES / 2 ))"