aboutsummaryrefslogtreecommitdiff
path: root/extra/yash/patches
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-05-04 22:45:14 +0300
committerCem Keylan <cem@ckyln.com>2021-05-04 22:45:14 +0300
commit4585a016fb5c287f8bb58efcfb7dc05439de5819 (patch)
tree84921e8d291c1c3d883d925e01635c4e47690dec /extra/yash/patches
parent196c7ef6f49601e7a0fb68d70a8cfba801baea29 (diff)
downloadrepository-4585a016fb5c287f8bb58efcfb7dc05439de5819.tar.gz
yash: completion changes
Diffstat (limited to 'extra/yash/patches')
-rw-r--r--extra/yash/patches/neatvi-completion.patch15
1 files changed, 15 insertions, 0 deletions
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