From 27fbd768ff3e83d45097f7364a83a4ebeb44555e Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:13:28 +1000 Subject: [PATCH 01/18] its to it's where appropriate in ave.vim --- runtime/syntax/ave.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/ave.vim b/runtime/syntax/ave.vim index 3e82a8bc9b5ad..e63e7d2c30ed0 100644 --- a/runtime/syntax/ave.vim +++ b/runtime/syntax/ave.vim @@ -34,7 +34,7 @@ syn match aveNumber "[+-]\=\<[0-9]\+\>" " Operator syn keyword aveOperator or and max min xor mod by -" 'not' is a kind of a problem: Its an Operator as well as a method +" 'not' is a kind of a problem: It's an Operator as well as a method " 'not' is only marked as an Operator if not applied as method syn match aveOperator "[^\.]not[^a-zA-Z]" From f7cce57f8d79edd81d849e49753f89cba20ab5ca Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:15:59 +1000 Subject: [PATCH 02/18] insure --> ensure in zip.vim --- runtime/autoload/zip.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index 824af01fe8110..257a7ef334398 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -65,7 +65,7 @@ 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 "noautocmd e ".fnameescape(a:zipfile) From e25e483d1ad9e0b41a4a092d0a091055f9d9e8ff Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:16:52 +1000 Subject: [PATCH 03/18] its to it's where appropriate in zip.vim --- runtime/autoload/zip.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index 257a7ef334398..ea086e0882cea 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -72,7 +72,7 @@ fun! zip#Browse(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 to continue")|call inputrestore() From 76ec69bd6f693475392c6165d1e30a087fab3bbf Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:18:09 +1000 Subject: [PATCH 04/18] Improve readability of comments and spelling issues in cdl.vim --- runtime/indent/cdl.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/indent/cdl.vim b/runtime/indent/cdl.vim index db2b9052b2cb4..5ec2a7b21ac27 100644 --- a/runtime/indent/cdl.vim +++ b/runtime/indent/cdl.vim @@ -16,7 +16,7 @@ if exists("*CdlGetIndent") "finish endif -" find out if an "...=..." expresion its an asignment (or a conditional) +" find out if an "...=..." expresion is an assignment (or a conditional) " it scans 'line' first, and then the previos lines fun! CdlAsignment(lnum, line) let f = -1 From c7867d1cab8f3aba2c3318a7b5f3338e8f1f49e6 Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:18:57 +1000 Subject: [PATCH 05/18] its to it's where appropriate in nbdebug.c --- src/nbdebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nbdebug.c b/src/nbdebug.c index c553d2578fa71..7c9768129e752 100644 --- a/src/nbdebug.c +++ b/src/nbdebug.c @@ -41,7 +41,7 @@ static int errorHandler(Display *, XErrorEvent *); /* * nbdebug_wait - This function can be used to delay or stop execution of vim. - * Its normally used to delay startup while attaching a + * It's normally used to delay startup while attaching a * debugger to a running process. Since workshop starts gvim * from a background process this is the only way to debug * startup problems. From db2a8b76572bd591430242f8a694e356f085695e Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:22:54 +1000 Subject: [PATCH 06/18] its to it's where appropriate in pi_netrw.txt I left the old changelogs alone for historical value. --- runtime/doc/pi_netrw.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index 5c80095736d32..914c5767c7398 100644 --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -532,7 +532,7 @@ variable (ex. scp uses the variable g:netrw_scp_cmd, which is defaulted to let g:netrw_sftp_cmd= '"c:\Program Files\PuTTY\psftp.exe"' < (note: it has been reported that windows 7 with putty v0.6's "-batch" option - doesn't work, so its best to leave it off for that system) + doesn't work, so it's best to leave it off for that system) See |netrw-p8| for more about putty, pscp, psftp, etc. @@ -1206,7 +1206,7 @@ The :NetrwMB command is available outside of netrw buffers (once netrw has been invoked in the session). The file ".netrwbook" holds bookmarks when netrw (and vim) is not active. By -default, its stored on the first directory on the user's |'runtimepath'|. +default, it's stored on the first directory on the user's |'runtimepath'|. Related Topics: |netrw-gb| how to return (go) to a bookmark @@ -1431,7 +1431,7 @@ be used in that count. *.netrwhist* See |g:netrw_dirhistmax| for how to control the quantity of history stack slots. The file ".netrwhist" holds history when netrw (and vim) is not -active. By default, its stored on the first directory on the user's +active. By default, it's stored on the first directory on the user's |'runtimepath'|. Related Topics: @@ -3271,7 +3271,7 @@ The user function is passed one argument; it resembles > fun! ExampleUserMapFunc(islocal) < -where a:islocal is 1 if its a local-directory system call or 0 when +where a:islocal is 1 if it's a local-directory system call or 0 when remote-directory system call. Use netrw#Expose("varname") to access netrw-internal (script-local) @@ -3595,7 +3595,7 @@ Example: Clear netrw's marked file list via a mapping on gu > *netrw-p16* P16. When editing remote files (ex. :e ftp://hostname/path/file), - under Windows I get an |E303| message complaining that its unable + under Windows I get an |E303| message complaining that it's unable to open a swap file. (romainl) It looks like you are starting Vim from a protected @@ -3649,7 +3649,7 @@ Example: Clear netrw's marked file list via a mapping on gu > P21. I've made a directory (or file) with an accented character, but netrw isn't letting me enter that directory/read that file: - Its likely that the shell or o/s is using a different encoding + It's likely that the shell or o/s is using a different encoding than you have vim (netrw) using. A patch to vim supporting "systemencoding" may address this issue in the future; for now, just have netrw use the proper encoding. For example: > From 7cc480ca20db24a8f17ae34243fd600328239f93 Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:24:01 +1000 Subject: [PATCH 07/18] its to it's where appropriate in wsdebug.c --- src/wsdebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wsdebug.c b/src/wsdebug.c index 66b378ca1991e..4bb7205fe34dd 100644 --- a/src/wsdebug.c +++ b/src/wsdebug.c @@ -47,7 +47,7 @@ static int errorHandler(Display *, XErrorEvent *); /* * wsdebug_wait - This function can be used to delay or stop execution of vim. - * Its normally used to delay startup while attaching a + * It's normally used to delay startup while attaching a * debugger to a running process. Since workshop starts gvim * from a background process this is the only way to debug * startup problems. From 902fce95bbbd7640a3ae9bb0958b0be1db29c30e Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:24:50 +1000 Subject: [PATCH 08/18] its to it's where appropriate in tar.vim --- runtime/autoload/tar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/tar.vim b/runtime/autoload/tar.vim index 5e76870ccec40..9c518cb9d0adf 100644 --- a/runtime/autoload/tar.vim +++ b/runtime/autoload/tar.vim @@ -117,7 +117,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! echohl Error | echo "***error*** (tar#Browse) File not readable<".a:tarfile.">" | echohl None endif From 40f605535a956ab5de25720f0399ee7d0dcdda38 Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:26:41 +1000 Subject: [PATCH 09/18] its to it's where appropriate in workshop.c --- src/workshop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/workshop.c b/src/workshop.c index c1a31981d8a0e..0b9774fa5bc9a 100644 --- a/src/workshop.c +++ b/src/workshop.c @@ -71,7 +71,7 @@ static Boolean workshopHotKeysEnabled = False; /* * The following enum is from . We can't include it - * here because its C++. + * here because it's C++. */ enum { @@ -1752,7 +1752,7 @@ setDollarVim( * directory. This is a Sun Visual WorkShop requirement! * * Note: We override a user's $VIM because it won't have the - * WorkShop specific files. S/he may not like this but its + * WorkShop specific files. S/he may not like this but it's * better than getting the wrong files (especially as the * user is likely to have $VIM set to 5.4 or later). */ From dd801f238f28756c4f72a99cbd1939bc0c253350 Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:28:42 +1000 Subject: [PATCH 10/18] its to it's where appropriate in getscript.vim --- runtime/autoload/getscript.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/getscript.vim b/runtime/autoload/getscript.vim index d50bc2edc02a6..f64c5f199d15a 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(".") From a77a571daefec9d793f8d363aa6a3d018d2e6c81 Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:30:12 +1000 Subject: [PATCH 11/18] its to it's where appropriate in html.vim --- runtime/indent/html.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/indent/html.vim b/runtime/indent/html.vim index 828bc3120b6fc..13adaae54c778 100644 --- a/runtime/indent/html.vim +++ b/runtime/indent/html.vim @@ -749,7 +749,7 @@ func! s:CssPrevNonComment(lnum, stopline) while 1 let ccol = match(getline(lnum), '\*/') if ccol < 0 - " No comment end thus its something else. + " No comment end thus it's something else. return lnum endif call cursor(lnum, ccol + 1) From 170cc9aa28706ef5c8e1c4e247c81ccd8e07acaf Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:31:24 +1000 Subject: [PATCH 12/18] its to it's where appropriate in vimball.vim --- runtime/autoload/vimball.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/vimball.vim b/runtime/autoload/vimball.vim index 1af6b19c885f2..9c7dcbda0f70e 100644 --- a/runtime/autoload/vimball.vim +++ b/runtime/autoload/vimball.vim @@ -347,7 +347,7 @@ fun! vimball#Vimball(really,...) " call Decho("exe tabn ".curtabnr) exe "tabn ".curtabnr - " set up help if its a doc/*.txt file + " set up help if it's a doc/*.txt file " call Decho("didhelp<".didhelp."> fname<".fname.">") if a:really && didhelp == "" && fname =~ 'doc/[^/]\+\.\(txt\|..x\)$' let didhelp= substitute(fname,'^\(.*\ Date: Sat, 17 Sep 2016 12:32:24 +1000 Subject: [PATCH 13/18] its to it's where appropriate in netbeans.c --- src/netbeans.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/netbeans.c b/src/netbeans.c index 7ad812dce3a97..cc55604127240 100644 --- a/src/netbeans.c +++ b/src/netbeans.c @@ -2156,7 +2156,7 @@ nb_do_cmd( else if (streq((char *)cmd, "save")) { /* - * NOTE - This command is obsolete wrt NetBeans. Its left in + * NOTE - This command is obsolete wrt NetBeans. It's left in * only for historical reasons. */ if (buf == NULL || buf->bufp == NULL) @@ -2242,7 +2242,7 @@ nb_do_cmd( /* * Is this needed? I moved the netbeans_Xt_connect() later during startup - * and it may no longer be necessary. If its not needed then needupdate + * and it may no longer be necessary. If it's not needed then needupdate * and do_update can also be removed. */ if (buf != NULL && buf->initDone && do_update) @@ -2856,7 +2856,7 @@ netbeans_unmodified(buf_T *bufp UNUSED) } /* - * Send a button release event back to netbeans. Its up to netbeans + * Send a button release event back to netbeans. It's up to netbeans * to decide what to do (if anything) with this event. */ void @@ -3453,7 +3453,7 @@ pos2off(buf_T *buf, pos_T *pos) /* - * This message is printed after NetBeans opens a new file. Its + * This message is printed after NetBeans opens a new file. It's * similar to the message readfile() uses, but since NetBeans * doesn't normally call readfile, we do our own. */ From 0f4287a2aa622929e6ecdfe17fc3697edf3cf33e Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:34:23 +1000 Subject: [PATCH 14/18] its to it's where appropriate in main.aap --- src/main.aap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.aap b/src/main.aap index 452cd978bec01..bedbbb5e3a951 100644 --- a/src/main.aap +++ b/src/main.aap @@ -69,7 +69,7 @@ --with-mac-arch=$arch --cache-file=auto/config.cache - # Configure arguments: create an empty "config.arg" file when its missing + # Configure arguments: create an empty "config.arg" file when it's missing config.arg: :touch {exist} config.arg From 0d1b4a30fd3157d8cba09da21025ac899f1e9ce9 Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:36:48 +1000 Subject: [PATCH 15/18] its to it's where appropriate in sh.vim --- runtime/syntax/sh.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim index 18da779764183..6048aed4ec9c6 100644 --- a/runtime/syntax/sh.vim +++ b/runtime/syntax/sh.vim @@ -381,7 +381,7 @@ ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc15 start="<<-\s*\\\z([^ \ " Here Strings: {{{1 " ============= -" available for: bash; ksh (really should be ksh93 only) but not if its a posix +" available for: bash; ksh (really should be ksh93 only) but not if it's a posix if exists("b:is_bash") || (exists("b:is_kornshell") && !exists("g:is_posix")) syn match shHereString "<<<" skipwhite nextgroup=shCmdParenRegion endif From 924749cc01883f2f48614d3f00938efd03340386 Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:39:10 +1000 Subject: [PATCH 16/18] its to it's where appropriate in evalfunc.c --- src/evalfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evalfunc.c b/src/evalfunc.c index 3207441c2d030..e89bc30083c64 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -6874,7 +6874,7 @@ libcall_common(typval_T *argvars, typval_T *rettv, int type) return; #ifdef FEAT_LIBCALL - /* The first two args must be strings, otherwise its meaningless */ + /* The first two args must be strings, otherwise it's meaningless */ if (argvars[0].v_type == VAR_STRING && argvars[1].v_type == VAR_STRING) { string_in = NULL; From 1ac6283b048682081cca2814689047197eb121ca Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:39:53 +1000 Subject: [PATCH 17/18] its to it's where appropriate in quickfix.c --- src/quickfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quickfix.c b/src/quickfix.c index 2f5256be4245f..51c894bc63e39 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -3569,7 +3569,7 @@ get_mef_name(void) STRCAT(name, p + 2); if (mch_getperm(name) < 0 #ifdef HAVE_LSTAT - /* Don't accept a symbolic link, its a security risk. */ + /* Don't accept a symbolic link, it's a security risk. */ && mch_lstat((char *)name, &sb) < 0 #endif ) From 016947828adf43b2a38fd88def9b7b0cf763f866 Mon Sep 17 00:00:00 2001 From: Matthew Brener Date: Sat, 17 Sep 2016 12:40:59 +1000 Subject: [PATCH 18/18] its to it's where appropriate in phpcomplete.vim --- runtime/autoload/phpcomplete.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/phpcomplete.vim b/runtime/autoload/phpcomplete.vim index 7f25d9df3304d..0d01bc8bf1b70 100644 --- a/runtime/autoload/phpcomplete.vim +++ b/runtime/autoload/phpcomplete.vim @@ -931,7 +931,7 @@ function! phpcomplete#EvaluateModifiers(modifiers, required_modifiers, prohibite endfor for modifier in a:modifiers - " if the modifier is prohibited its a no match + " if the modifier is prohibited it's a no match if index(a:prohibited_modifiers, modifier) != -1 return 0 endif