diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-25 11:56:17 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 09:21:34 -0400 |
commit | f406e4631d4362cdac914b11be191a90538c78c1 (patch) | |
tree | d26ded90fd2e911febd3984c44dc736003c03916 /runtime/autoload | |
parent | 5e1f434764bc553d49baeeca1bdd952e0a366e98 (diff) | |
download | rneovim-f406e4631d4362cdac914b11be191a90538c78c1.tar.gz rneovim-f406e4631d4362cdac914b11be191a90538c78c1.tar.bz2 rneovim-f406e4631d4362cdac914b11be191a90538c78c1.zip |
vim-patch:8024f9363683
Update runtime files.
https://github.com/vim/vim/commit/8024f936368336241406137a2fa78ed5ee9000a6
Omit "modifyOtherKeys" changes.
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/zip.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index 874f44559c..d6bde99a7d 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -65,14 +65,14 @@ endif " zip#Browse: {{{2 fun! zip#Browse(zipfile) " call Dfunc("zip#Browse(zipfile<".a:zipfile.">)") - " sanity check: insure that the zipfile has "PK" as its first two letters + " sanity check: ensure that the zipfile has "PK" as its first two letters " (zipped files have a leading PK as a "magic cookie") if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK' exe "noswapfile noautocmd noswapfile e ".fnameescape(a:zipfile) " call Dret("zip#Browse : not a zipfile<".a:zipfile.">") return " else " Decho -" call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - its a zip file") +" call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - it's a zip file") endif let repkeep= &report @@ -95,7 +95,7 @@ fun! zip#Browse(zipfile) endif if !filereadable(a:zipfile) if a:zipfile !~# '^\a\+://' - " if its an url, don't complain, let url-handlers such as vim do its thing + " if it's an url, don't complain, let url-handlers such as vim do its thing redraw! echohl Error | echo "***error*** (zip#Browse) File not readable<".a:zipfile.">" | echohl None " call inputsave()|call input("Press <cr> to continue")|call inputrestore() |