From 4585a016fb5c287f8bb58efcfb7dc05439de5819 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 4 May 2021 22:45:14 +0300 Subject: yash: completion changes --- extra/yash/patches/neatvi-completion.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extra/yash/patches/neatvi-completion.patch (limited to 'extra/yash/patches') diff --git a/extra/yash/patches/neatvi-completion.patch b/extra/yash/patches/neatvi-completion.patch new file mode 100644 index 00000000..795fd6b6 --- /dev/null +++ b/extra/yash/patches/neatvi-completion.patch @@ -0,0 +1,15 @@ +Neatvi doesn't support parsing flags and it will open the editor immediately, +so we don't actually want this check performed. +--- yash-orig/share/completion/ex 2020-12-10 16:40:05.000000000 +0300 ++++ yash/share/completion/ex 2021-05-04 22:12:17.299050403 +0300 +@@ -6,10 +6,6 @@ + + function completion/ex { + +- case $("${WORDS[1]}" --version 2>/dev/null) in (VIM*) +- command -f completion//reexecute vim +- return +- esac + typeset type="$(uname 2>/dev/null)" + + typeset OPTIONS POSIXOPTIONS ADDOPTIONS ARGOPT PREFIX -- cgit v1.2.3