diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-14 19:29:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-14 19:29:13 +0100 |
commit | 8024f936368336241406137a2fa78ed5ee9000a6 (patch) | |
tree | abbc48a380920496fb8e1d1cbb7f2af3f6f41b98 /runtime/autoload | |
parent | ee93b737aaa7bf65edc7281f429dd89fcf657a6f (diff) | |
download | vim-git-8024f936368336241406137a2fa78ed5ee9000a6.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/getscript.vim | 2 | ||||
-rw-r--r-- | runtime/autoload/tar.vim | 2 | ||||
-rw-r--r-- | runtime/autoload/zip.vim | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/runtime/autoload/getscript.vim b/runtime/autoload/getscript.vim index 8f854b93a..a266a556c 100644 --- a/runtime/autoload/getscript.vim +++ b/runtime/autoload/getscript.vim @@ -236,7 +236,7 @@ fun! getscript#GetLatestVimScripts() " call Decho("..depscript<".depscript.">") " found a "GetLatestVimScripts: # #" line in the script; - " check if its already in the datafile by searching backwards from llp1, + " check if it's already in the datafile by searching backwards from llp1, " the (prior to reading in the plugin script) last line plus one of the GetLatestVimScripts.dat file, " for the script-id with no wrapping allowed. let curline = line(".") diff --git a/runtime/autoload/tar.vim b/runtime/autoload/tar.vim index 3ed34fd0a..9f9609434 100644 --- a/runtime/autoload/tar.vim +++ b/runtime/autoload/tar.vim @@ -121,7 +121,7 @@ fun! tar#Browse(tarfile) if !filereadable(a:tarfile) " call Decho('a:tarfile<'.a:tarfile.'> not filereadable') if a:tarfile !~# '^\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! " call Decho("***error*** (tar#Browse) File not readable<".a:tarfile.">") echohl Error | echo "***error*** (tar#Browse) File not readable<".a:tarfile.">" | echohl None diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index 874f44559..d6bde99a7 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() |