diff options
author | Sam James <sam@gentoo.org> | 2021-12-07 02:37:34 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-07 02:37:42 +0000 |
commit | 389ef1b556f11f4dae6cd873fcf2afc11372983e (patch) | |
tree | 552ac03842adb7faf96a70d01aee51b84ef0f370 /app-vim/tlib/files | |
parent | dev-util/strace: Stabilize 5.14-r1 ppc, #828483 (diff) | |
download | gentoo-389ef1b556f11f4dae6cd873fcf2afc11372983e.tar.gz gentoo-389ef1b556f11f4dae6cd873fcf2afc11372983e.tar.bz2 gentoo-389ef1b556f11f4dae6cd873fcf2afc11372983e.zip |
app-vim/tlib: add 1.27
Also includes a patch (not in 1.27) from upstream git that fixes
compatibility with newer vim.
Closes: https://bugs.gentoo.org/828429
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-vim/tlib/files')
-rw-r--r-- | app-vim/tlib/files/tlib-1.27-fix-error-E1208-vim-8.2.3141.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-vim/tlib/files/tlib-1.27-fix-error-E1208-vim-8.2.3141.patch b/app-vim/tlib/files/tlib-1.27-fix-error-E1208-vim-8.2.3141.patch new file mode 100644 index 000000000000..d52314fd6987 --- /dev/null +++ b/app-vim/tlib/files/tlib-1.27-fix-error-E1208-vim-8.2.3141.patch @@ -0,0 +1,29 @@ +https://github.com/tomtom/tlib_vim/commit/b5f9f6c83ade9b5640580bf9792a332dd453dfd0 +https://bugs.gentoo.org/828429 + +From: Laurent Stacul <laurent.stacul@gmail.com> +Date: Mon, 12 Jul 2021 15:51:16 +0200 +Subject: [PATCH] Fix error E1208 raised by vim >=8.2.3141 + +Starting vim 8.2.3141 with the tlib_vim plugin will raised the following +error message at startup: + + Error detected while processing .vim/pack/stac/start/tlib_vim/plugin/02tlib.vim: + line 77: E1208: -complete used without -nargsPress ENTER or type command to continue + +The reason is the following change in vim: + + https://github.com/vim/vim/commit/de69a7353e9bec552e15dbe3706a9f4e88080fce + +Which forbid the com[mand] command with -nargs=0 and -complete options. +--- a/plugin/02tlib.vim ++++ b/plugin/02tlib.vim +@@ -74,7 +74,7 @@ command! -nargs=1 -complete=command TBrowseOutput call tlib#cmd#BrowseOutput(<q- + " + " EXAMPLES: > + " TBrowseScriptnames +-command! -nargs=0 -complete=command TBrowseScriptnames call tlib#cmd#TBrowseScriptnames() ++command! -nargs=0 TBrowseScriptnames call tlib#cmd#TBrowseScriptnames() + + + " :display: :Texecqfl CMD |