]> granicus.if.org Git - vim/commitdiff
Update runtime files
authorBram Moolenaar <Bram@vim.org>
Thu, 9 Sep 2021 19:55:11 +0000 (21:55 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 9 Sep 2021 19:55:11 +0000 (21:55 +0200)
80 files changed:
.github/CODEOWNERS
runtime/autoload/ada.vim
runtime/autoload/adacomplete.vim
runtime/autoload/csscomplete.vim
runtime/autoload/decada.vim
runtime/autoload/getscript.vim
runtime/autoload/haskellcomplete.vim
runtime/autoload/htmlcomplete.vim
runtime/autoload/netrw.vim
runtime/autoload/phpcomplete.vim
runtime/autoload/python3complete.vim
runtime/autoload/pythoncomplete.vim
runtime/autoload/sqlcomplete.vim
runtime/autoload/tar.vim
runtime/autoload/tohtml.vim
runtime/autoload/xmlcomplete.vim
runtime/autoload/zip.vim
runtime/compiler/fpc.vim
runtime/compiler/tex.vim
runtime/doc/eval.txt
runtime/doc/index.txt
runtime/doc/insert.txt
runtime/doc/options.txt
runtime/doc/repeat.txt
runtime/doc/tags
runtime/doc/todo.txt
runtime/doc/various.txt
runtime/doc/vim9.txt
runtime/doc/windows.txt
runtime/filetype.vim
runtime/ftplugin/dosini.vim
runtime/ftplugin/matlab.vim
runtime/ftplugin/ocaml.vim
runtime/ftplugin/octave.vim [new file with mode: 0644]
runtime/ftplugin/systemverilog.vim
runtime/ftplugin/tex.vim
runtime/indent/ada.vim
runtime/indent/cdl.vim
runtime/indent/config.vim
runtime/indent/dtd.vim
runtime/indent/erlang.vim
runtime/indent/json.vim
runtime/indent/lifelines.vim
runtime/indent/objc.vim
runtime/indent/pov.vim
runtime/indent/ruby.vim
runtime/indent/sqlanywhere.vim
runtime/indent/systemverilog.vim
runtime/indent/tex.vim
runtime/indent/treetop.vim
runtime/indent/typescript.vim
runtime/indent/verilog.vim
runtime/keymap/kana.vim
runtime/keymap/korean.vim
runtime/keymap/russian-jcukenwintype.vim
runtime/keymap/russian-typograph.vim
runtime/plugin/tohtml.vim
runtime/syntax/2html.vim
runtime/syntax/abel.vim
runtime/syntax/ada.vim
runtime/syntax/ahdl.vim
runtime/syntax/aspvbs.vim
runtime/syntax/cfg.vim
runtime/syntax/csc.vim
runtime/syntax/cupl.vim
runtime/syntax/dosbatch.vim
runtime/syntax/doxygen.vim
runtime/syntax/focexec.vim
runtime/syntax/forth.vim
runtime/syntax/hamster.vim
runtime/syntax/idl.vim
runtime/syntax/iss.vim
runtime/syntax/mma.vim
runtime/syntax/objc.vim
runtime/syntax/postscr.vim
runtime/syntax/sgml.vim
runtime/syntax/spup.vim
runtime/syntax/st.vim
runtime/syntax/tcl.vim
runtime/syntax/tmux.vim

index 6aea29a68f3413b454d06badf90edcff0f337687..91f19a95dbac6c572fd4e285ccf826865087e191 100644 (file)
@@ -99,6 +99,7 @@ runtime/ftplugin/meson.vim            @Liambeguin
 runtime/ftplugin/modula3.vim           @dkearns
 runtime/ftplugin/nroff.vim             @a-vrma
 runtime/ftplugin/nsis.vim              @k-takata
+runtime/ftplugin/octave.vim            @dkearns
 runtime/ftplugin/pascal.vim            @dkearns
 runtime/ftplugin/pbtxt.vim             @lakshayg
 runtime/ftplugin/pdf.vim               @tpope
index d04feb925047e40bbbeba57169a84843d44e14b4..3f1b40398f4cee687a7d93777b7df4423002de5b 100644 (file)
@@ -67,13 +67,13 @@ if exists ('g:ada_with_gnat_project_files')
     endfor
 endif
 
-" Section: add standart exception {{{2
+" Section: add standard exception {{{2
 "
 for Item in ['Constraint_Error', 'Program_Error', 'Storage_Error', 'Tasking_Error', 'Status_Error', 'Mode_Error', 'Name_Error', 'Use_Error', 'Device_Error', 'End_Error', 'Data_Error', 'Layout_Error', 'Length_Error', 'Pattern_Error', 'Index_Error', 'Translation_Error', 'Time_Error', 'Argument_Error', 'Tag_Error', 'Picture_Error', 'Terminator_Error', 'Conversion_Error', 'Pointer_Error', 'Dereference_Error', 'Update_Error']
     let g:ada#Keywords += [{
            \ 'word':  Item,
            \ 'menu':  'exception',
-           \ 'info':  'Ada standart exception.',
+           \ 'info':  'Ada standard exception.',
            \ 'kind':  'x',
            \ 'icase': 1}]
 endfor
@@ -210,7 +210,7 @@ function ada#Word (...)
    let l:Line = substitute (getline (l:Line_Nr), g:ada#Comment, '', '' )
 
    " Cope with tag searching for items in comments; if we are, don't loop
-   " backards looking for previous lines
+   " backwards looking for previous lines
    if l:Column_Nr > strlen(l:Line)
       " We were in a comment
       let l:Line = getline(l:Line_Nr)
index 2659f51d5c52a4e37bb4c75327b527cae32313df..d7bba93d1201a5f917dd77d64e448776c0c739df 100644 (file)
@@ -14,7 +14,7 @@
 "              15.10.2006 MK Bram's suggestion for runtime integration
 "              05.11.2006 MK Bram suggested not to use include protection for
 "                            autoload
-"              05.11.2006 MK Bram suggested agaist using setlocal omnifunc 
+"              05.11.2006 MK Bram suggested against using setlocal omnifunc 
 "              05.11.2006 MK Bram suggested to save on spaces
 "    Help Page: ft-ada-omni
 "------------------------------------------------------------------------------
index f6c5a6c391a384d4a94608ea67ecfef23be58eee..85e40c862f5f5710828ec57b272b073d1bf786a5 100644 (file)
@@ -311,7 +311,7 @@ function! csscomplete#CompleteCSS(findstart, base)
       let values = ["normal", "italic", "oblique", "small-caps", "bold", "bolder", "lighter", "100", "200", "300", "400", "500", "600", "700", "800", "900", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "larger", "smaller", "sans-serif", "serif", "monospace", "cursive", "fantasy", "caption", "icon", "menu", "message-box", "small-caption", "status-bar"]
     elseif prop =~ '^\%(height\|width\)$'
       let values = ["auto", "border-box", "content-box", "max-content", "min-content", "available", "fit-content"]
-    elseif prop =~ '^\%(left\|rigth\)$'
+    elseif prop =~ '^\%(left\|right\)$'
       let values = ["auto"]
     elseif prop == 'image-rendering'
       let values = ["auto", "crisp-edges", "pixelated"]
index 5124429a75914a329efddabedc201adb6f4a78d3..fda2b76dac333ca6de68b31c2e54bf4d9758e567 100644 (file)
@@ -23,7 +23,7 @@ endif
 
 function decada#Unit_Name () dict                                   " {{{1
     "  Convert filename into acs unit:
-    "      1:  remove the file extenstion.
+    "      1:  remove the file extension.
     "      2:  replace all double '_' or '-' with an dot (which denotes a separate)
     "      3:  remove a trailing '_' (which denotes a specification)
     return substitute (substitute (expand ("%:t:r"), '__\|-', ".", "g"), '_$', "", '')
index a266a556c3d31da186bd2cafaaf90ab2adea5b96..1b14fe1bd974d0e691865ff89f79cb0b9b9ea266 100644 (file)
@@ -129,7 +129,7 @@ fun! getscript#GetLatestVimScripts()
 " insure that wget is executable
   if executable(g:GetLatestVimScripts_wget) != 1
    echoerr "GetLatestVimScripts needs ".g:GetLatestVimScripts_wget." which apparently is not available on your system"
-"   call Dret("GetLatestVimScripts : wget not executable/availble")
+"   call Dret("GetLatestVimScripts : wget not executable/available")
    return
   endif
 
@@ -347,7 +347,7 @@ fun! s:GetOneScript(...)
   set t_ti= t_te= nors
 
  " put current line on top-of-screen and interpret it into
- " a      script identifer  : used to obtain webpage
+ " a      script identifier  : used to obtain webpage
  "        source identifier : used to identify current version
  " and an associated comment: used to report on what's being considered
   if a:0 >= 3
index 48fbac7f9f0f46f7a440b9b67bbb24abc5a4ce81..759ff8741a1b1c5891dcf79f2ff4a83c2abeb84c 100644 (file)
@@ -54,7 +54,7 @@ function! haskellcomplete#Complete(findstart, base)
 
     if b:completingLangExtension
         if a:base ==? ""
-            " Return all posible Lang extensions
+            " Return all possible Lang extensions
             return s:langExtensions
         else
             let l:matches = []
@@ -70,7 +70,7 @@ function! haskellcomplete#Complete(findstart, base)
 
     elseif b:completingOptionsGHC
         if a:base ==? ""
-            " Return all posible GHC options
+            " Return all possible GHC options
             return s:optionsGHC
         else
             let l:matches = []
@@ -86,7 +86,7 @@ function! haskellcomplete#Complete(findstart, base)
 
     elseif b:completingModule
         if a:base ==? ""
-            " Return all posible modules
+            " Return all possible modules
             return s:commonModules
         else
             let l:matches = []
index 6b9d49a46988e5c9fcc0c6595675fdb460bb2bac..267889d97fe393164a29c39b41f301fca53e301e 100644 (file)
@@ -486,7 +486,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
                        endif
                endif
                " Value of attribute completion {{{
-               " If attr contains =\s*[\"'] we catched value of attribute
+               " If attr contains =\s*[\"'] we match value of attribute
                if attr =~ "=\s*[\"']" || attr =~ "=\s*$"
                        " Let do attribute specific completion
                        let attrname = matchstr(attr, '.*\ze\s*=')
index 5ea8319cf0ec136495d268d6959debfdbe0ec24e..9660a053b800fa253edcd1e79240bb7789a94168 100644 (file)
@@ -4267,7 +4267,7 @@ fun! s:NetrwGetBuffer(islocal,dirname)
   endif
 "  call Decho("  bufnum#".bufnum,'~'.expand("<slnum>"))
 
-  " highjack the current buffer
+  " hijack the current buffer
   "   IF the buffer already has the desired name
   "   AND it is empty
   let curbuf = bufname("%")
@@ -4275,7 +4275,7 @@ fun! s:NetrwGetBuffer(islocal,dirname)
    let curbuf = getcwd()
   endif
 "  call Dredir("ls!","NetrwGetFile (renamed buffer back to remote filename<".rfile."> : expand(%)<".expand("%").">)")
-"  call Decho("deciding if netrw may highjack the current buffer#".bufnr("%")."<".curbuf.">",'~'.expand("<slnum>"))
+"  call Decho("deciding if netrw may hijack the current buffer#".bufnr("%")."<".curbuf.">",'~'.expand("<slnum>"))
 "  call Decho("..dirname<".dirname.">  IF dirname == bufname",'~'.expand("<slnum>"))
 "  call Decho("..curbuf<".curbuf.">",'~'.expand("<slnum>"))
 "  call Decho("..line($)=".line("$")." AND this is 1",'~'.expand("<slnum>"))
@@ -4284,7 +4284,7 @@ fun! s:NetrwGetBuffer(islocal,dirname)
 "   call Dret("s:NetrwGetBuffer 0<cleared buffer> : highjacking buffer#".bufnr("%"))
    return 0
   else  " DEBUG
-"   call Decho("..did NOT highjack buffer",'~'.expand("<slnum>"))
+"   call Decho("..did NOT hijack buffer",'~'.expand("<slnum>"))
   endif
   " Aug 14, 2021: was thinking about looking for a [No Name] buffer here and using it, but that might cause problems
 
@@ -6845,7 +6845,7 @@ fun! s:NetrwMarkFile(islocal,fname)
 
   " sanity check
   if empty(a:fname)
-"   call Dret("s:NetrwMarkFile : emtpy fname")
+"   call Dret("s:NetrwMarkFile : empty fname")
    return
   endif
   let curdir = s:NetrwGetCurdir(a:islocal)
index 4041a80bd81785d244ec807aee45fe7d96ccc708..f9448cbd9bc5f889919924cd9a0d1ec8687a9433 100644 (file)
@@ -9,7 +9,7 @@
 "
 "              let g:phpcomplete_relax_static_constraint = 1/0  [default 0]
 "                      Enables completion for non-static methods when completing for static context (::).
-"                      This generates E_STRICT level warning, but php calls these methods nontheless.
+"                      This generates E_STRICT level warning, but php calls these methods nonetheless.
 "
 "              let g:phpcomplete_complete_for_unknown_classes = 1/0 [default 0]
 "                      Enables completion of variables and functions in "everything under the sun" fashion
@@ -28,7 +28,7 @@
 "                      This option controls the number of characters the user needs to type before
 "                      the tags will be searched for namespaces and classes in typed out namespaces in
 "                      "use ..." context. Setting this to 0 is not recommended because that means the code
-"                      have to scan every tag, and vim's taglist() function runs extremly slow with a
+"                      have to scan every tag, and vim's taglist() function runs extremely slow with a
 "                      "match everything" pattern.
 "
 "              let g:phpcomplete_parse_docblock_comments = 1/0 [default 0]
@@ -263,7 +263,7 @@ function! phpcomplete#CompleteUse(base) " {{{
                                call add(no_namespace_matches, {'word': namespace_for_class.'\'.tag.name, 'kind': tag.kind, 'menu': tag.filename, 'info': tag.filename })
                        endif
                endfor
-               " if it seems that the tags file have namespace informations we can safely throw
+               " if it seems that the tags file have namespace information we can safely throw
                " away namespaceless tag matches since we can be sure they are invalid
                if patched_ctags_detected
                        no_namespace_matches = []
@@ -805,7 +805,7 @@ function! phpcomplete#CompleteClassName(base, kinds, current_namespace, imports)
                endif
        endfor
 
-       " resolve the typed in part with namespaces (if theres a \ in it)
+       " resolve the typed in part with namespaces (if there's a \ in it)
        let [tag_match_pattern, namespace_for_class] = phpcomplete#ExpandClassName(a:base, a:current_namespace, a:imports)
 
        let tags = []
@@ -921,11 +921,11 @@ function! s:getNextCharWithPos(filelines, current_pos) " {{{
 endfunction " }}}
 
 function! phpcomplete#EvaluateModifiers(modifiers, required_modifiers, prohibited_modifiers) " {{{
-       " if theres no modifier, and no modifier is allowed and no modifier is required
+       " if there's no modifier, and no modifier is allowed and no modifier is required
        if len(a:modifiers) == 0 && len(a:required_modifiers) == 0
                return 1
        else
-               " check if every requred modifier is present
+               " check if every required modifier is present
                for required_modifier in a:required_modifiers
                        if index(a:modifiers, required_modifier) == -1
                                return 0
@@ -1253,7 +1253,7 @@ function! phpcomplete#GetCurrentInstruction(line_number, col_number, phpbegin) "
                                endif
                        endif
 
-                       " save the coma position for later use if theres a "naked" , possibly separating a parameter and it is not in a parented part
+                       " save the coma position for later use if there's a "naked" , possibly separating a parameter and it is not in a parented part
                        if first_coma_break_pos == -1 && current_char == ','
                                let first_coma_break_pos = len(instruction)
                        endif
@@ -1299,7 +1299,7 @@ function! phpcomplete#GetCurrentInstruction(line_number, col_number, phpbegin) "
 
        " there were a "naked" coma in the instruction
        if first_coma_break_pos != -1
-               if instruction !~? '^use' && instruction !~? '^class' " use ... statements and class delcarations should not be broken up by comas
+               if instruction !~? '^use' && instruction !~? '^class' " use ... statements and class declarations should not be broken up by comas
                        let pos = (-1 * first_coma_break_pos) + 1
                        let instruction = instruction[pos :]
                endif
@@ -1311,7 +1311,7 @@ function! phpcomplete#GetCurrentInstruction(line_number, col_number, phpbegin) "
                " clear everything up until the first (
                let instruction = substitute(instruction, '^\(if\|while\|foreach\|for\)\s*(\s*', '', '')
 
-               " lets iterate trough the instruction until we can find the pair for the opening (
+               " lets iterate through the instruction until we can find the pair for the opening (
                let i = 0
                let depth = 1
                while i < len(instruction)
@@ -1419,7 +1419,7 @@ function! phpcomplete#GetCallChainReturnType(classname_candidate, class_candidat
                                                let parts = split(substitute(type, '^\\', '', ''), '\')
                                                let class_candidate_namespace = join(parts[0:-2], '\')
                                                let classname_candidate = parts[-1]
-                                               " check for renamed namepsace in imports
+                                               " check for renamed namespace in imports
                                                if has_key(classstructure.imports, class_candidate_namespace)
                                                        let class_candidate_namespace = classstructure.imports[class_candidate_namespace].name
                                                endif
@@ -2018,7 +2018,7 @@ function! phpcomplete#GetCachedClassContents(classlocation, class_name) " {{{
                        if getftime(classstructure.file) != classstructure.mtime
                                let valid = 0
                                " we could break here, but the time required for checking probably worth
-                               " the the memory we can free by checking every file in the cached hirearchy
+                               " the the memory we can free by checking every file in the cached hierarchy
                                call phpcomplete#ClearCachedClassContents(classstructure.file)
                        endif
                endfor
@@ -2032,7 +2032,7 @@ function! phpcomplete#GetCachedClassContents(classlocation, class_name) " {{{
                        call remove(s:cache_classstructures, cache_key)
                        call phpcomplete#ClearCachedClassContents(full_file_path)
 
-                       " fall trough for the read from files path
+                       " fall through for the read from files path
                endif
        else
                call phpcomplete#ClearCachedClassContents(full_file_path)
@@ -2141,7 +2141,7 @@ function! phpcomplete#GetClassContentsStructure(file_path, file_lines, class_nam
                        let l = lnum
                        let search_line = trait_line
 
-                       " add lines from the file until theres no ';' in them
+                       " add lines from the file until there's no ';' in them
                        while search_line !~? ';' && l > 0
                                " file lines are reversed so we need to go backwards
                                let l += 1
@@ -2573,7 +2573,7 @@ function! phpcomplete#GetCurrentNameSpace(file_lines) " {{{
                                let search_line = line
                                let use_line = line
 
-                               " add lines from the file until theres no ';' in them
+                               " add lines from the file until there's no ';' in them
                                while search_line !~? ';' && l > 0
                                        " file lines are reversed so we need to go backwards
                                        let l -= 1
@@ -2605,7 +2605,7 @@ function! phpcomplete#GetCurrentNameSpace(file_lines) " {{{
                        " find kind flags from tags or built in methods for the objects we extracted
                        " they can be either classes, interfaces or namespaces, no other thing is importable in php
                        for [key, import] in items(imports)
-                               " if theres a \ in the name we have it's definitely not a built in thing, look for tags
+                               " if there's a \ in the name we have it's definitely not a built in thing, look for tags
                                if import.name =~ '\\'
                                        let patched_ctags_detected = 0
                                        let [classname, namespace_for_classes] = phpcomplete#ExpandClassName(import.name, '\', {})
@@ -2662,10 +2662,10 @@ function! phpcomplete#GetCurrentNameSpace(file_lines) " {{{
                                                let import['kind'] = 'i'
                                                let import['builtin'] = 1
                                        else
-                                               " or can be a tag with exactly matchign name
+                                               " or can be a tag with exactly matching name
                                                let tags = phpcomplete#GetTaglist('^'.import['name'].'$')
                                                for tag in tags
-                                                       " search for the first matchin namespace, class, interface with no namespace
+                                                       " search for the first matching namespace, class, interface with no namespace
                                                        if !has_key(tag, 'namespace') && (tag.kind == 'n' || tag.kind == 'c' || tag.kind == 'i' || tag.kind == 't')
                                                                call extend(import, tag)
                                                                let import['builtin'] = 0
@@ -2883,7 +2883,7 @@ for [ext, data] in items(php_builtin['functions'])
        call extend(g:php_builtin_functions, data)
 endfor
 
-" Built in classs
+" Built in class
 let g:php_builtin_classes = {}
 for [ext, data] in items(php_builtin['classes'])
        call extend(g:php_builtin_classes, data)
@@ -2901,10 +2901,10 @@ for [ext, data] in items(php_builtin['constants'])
        call extend(g:php_constants, data)
 endfor
 
-" When the classname not found or found but the tags dosen't contain that
-" class we will try to complate any method of any builtin class. To speed up
+" When the classname not found or found but the tags doesn't contain that
+" class we will try to complete any method of any builtin class. To speed up
 " that lookup we compile a 'ClassName::MethodName':'info' dictionary from the
-" builtin class informations
+" builtin class information
 let g:php_builtin_object_functions = {}
 
 " When completing for 'everyting imaginable' (no class context, not a
index 6894bd63e107cd190f647764c5add609c9eb361f..0635ef8249fe7d1c33e381bb1cc29e0e96ab98b6 100644 (file)
@@ -173,7 +173,7 @@ class Completer(object):
                 pass
         if len(arg_text) == 0:
             # The doc string sometimes contains the function signature
-            #  this works for alot of C modules that are part of the
+            #  this works for a lot of C modules that are part of the
             #  standard library
             doc = func_obj.__doc__
             if doc:
index 5f6fee58cce988d86e6bdd310ef348add345f457..aa28bb721fa865b321f3b673c1f729f875a9771d 100644 (file)
@@ -191,7 +191,7 @@ class Completer(object):
                 pass
         if len(arg_text) == 0:
             # The doc string sometimes contains the function signature
-            #  this works for alot of C modules that are part of the
+            #  this works for a lot of C modules that are part of the
             #  standard library
             doc = func_obj.__doc__
             if doc:
index ef5ce2e6e21ea1a58e8aa0c375e3622d87cb2409..adbdbab894c2d3970e7bd9d2f1b7869e6a738a4c 100644 (file)
@@ -17,7 +17,7 @@
 "       and complete it.
 "
 " Version 16.0 (Dec 2015)
-"     - NF: If reseting the cache and table, procedure or view completion
+"     - NF: If resetting the cache and table, procedure or view completion
 "           had been used via dbext, have dbext delete or recreate the 
 "           dictionary so that new objects are picked up for the 
 "           next completion.
@@ -554,7 +554,7 @@ function! sqlcomplete#PreCacheSyntax(...)
         let syn_group_arr = g:omni_sql_precache_syntax_groups
     endif
     " For each group specified in the list, precache all
-    " the sytnax items.
+    " the syntax items.
     if !empty(syn_group_arr)
         for group_name in syn_group_arr
             let syn_items = extend( syn_items, s:SQLCGetSyntaxList(group_name) )
@@ -577,7 +577,7 @@ function! sqlcomplete#ResetCacheSyntax(...)
         let syn_group_arr = g:omni_sql_precache_syntax_groups
     endif
     " For each group specified in the list, precache all
-    " the sytnax items.
+    " the syntax items.
     if !empty(syn_group_arr)
         for group_name in syn_group_arr
             let list_idx = index(s:syn_list, group_name, 0, &ignorecase)
@@ -617,7 +617,7 @@ function! sqlcomplete#DrillIntoTable()
     else
        " If the popup is not visible, simple perform the normal
        " key behaviour.
-       " Must use exec since they key must be preceeded by "\"
+       " Must use exec since the key must be preceded by "\"
        " or feedkeys will simply push each character of the string
        " rather than the "key press".
         exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_right.'", "n")'
@@ -634,7 +634,7 @@ function! sqlcomplete#DrillOutOfColumns()
     else
        " If the popup is not visible, simple perform the normal
        " key behaviour.
-       " Must use exec since they key must be preceeded by "\"
+       " Must use exec since the key must be preceded by "\"
        " or feedkeys will simply push each character of the string
        " rather than the "key press".
         exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_left.'", "n")'
@@ -843,7 +843,7 @@ function! s:SQLCGetColumns(table_name, list_type)
          let curline    = line(".")
          let curcol     = col(".")
 
-         " Do not let searchs wrap
+         " Do not let searches wrap
          setlocal nowrapscan
          " If . was entered, look at the word just before the .
          " We are looking for something like this:
@@ -863,7 +863,7 @@ function! s:SQLCGetColumns(table_name, list_type)
          " Search forward until one of the following:
          "     1.  Another select/update/delete statement
          "     2.  A ; at the end of a line (the delimiter)
-         "     3.  The end of the file (incase no delimiter)
+         "     3.  The end of the file (in case no delimiter)
          " Yank the visually selected text into the "y register.
          exec 'silent! normal! vl/\c\(\<select\>\|\<update\>\|\<delete\>\|;\s*$\|\%$\)'."\n".'"yy'
 
index b6c4c660b81d86b50feb9ad70a629a3015bef772..e495e8262a93fbc1dd8df1254224e29717228401 100644 (file)
@@ -778,7 +778,7 @@ fun! tar#Vimuntar(...)
    elseif executable("gzip")
     silent exe "!gzip -d ".shellescape(tartail)
    else
-    echoerr "unable to decompress<".tartail."> on this sytem"
+    echoerr "unable to decompress<".tartail."> on this system"
     if simplify(curdir) != simplify(tarhome)
      " remove decompressed tarball, restore directory
 "     call Decho("delete(".tartail.".tar)")
index 1f94b3677afa448696d6ec809e16e705aba927c7..799cf0e582bbc5f0498effcd94a797918a00c5aa 100644 (file)
@@ -693,7 +693,7 @@ func! tohtml#GetUserSettings() "{{{
     let user_settings = {}
 
     " Define the correct option if the old option name exists and we haven't
-    " already defined the correct one. Maybe I'll put out a warnig message about
+    " already defined the correct one. Maybe I'll put out a warning message about
     " this sometime and remove the old option entirely at some even later time,
     " but for now just silently accept the old option.
     if exists('g:use_xhtml') && !exists("g:html_use_xhtml")
index 4c1ac4f6b5b6b50138d6474b537541cf4c5cd938..55fb031e68264a5bed9a1b36b137059a85da0bd9 100644 (file)
@@ -199,7 +199,7 @@ function! xmlcomplete#CompleteTags(findstart, base)
        " 1. Events attributes
        if context =~ '\s'
 
-               " If attr contains =\s*[\"'] we catched value of attribute
+               " If attr contains =\s*[\"'] we catch value of attribute
                if attr =~ "=\s*[\"']" || attr =~ "=\s*$"
                        " Let do attribute specific completion
                        let attrname = matchstr(attr, '.*\ze\s*=')
index f6b876df0584e374a771b1266db07ea65514f633..9588bbf4a2d71626abbcf1e619fbf0bfc528a739 100644 (file)
@@ -81,7 +81,7 @@ fun! zip#Browse(zipfile)
   " sanity checks
   if !exists("*fnameescape")
    if &verbose > 1
-    echoerr "the zip plugin is not available (your vim doens't support fnameescape())"
+    echoerr "the zip plugin is not available (your vim doesn't support fnameescape())"
    endif
    return
   endif
index fb4f424986d311003b96f79644d6f4e8c94918bc..de8e2fe3dc84a3e0b348384baceea9ced2a9b6b1 100644 (file)
@@ -12,6 +12,6 @@ if exists(":CompilerSet") != 2                " older Vim always used :setlocal
   command -nargs=* CompilerSet setlocal <args>
 endif
 
-" NOTE: compiler must be runned with -vb to write whole source path, not only file
+" NOTE: compiler must be run with -vb to write whole source path, not only file
 " name.
 CompilerSet errorformat=%f(%l\\,%c)\ %m
index e43be8dbd637bc2e6787e8b4df40976c72e936cb..65e15cf6e290351cfdf69d6a7ec6bbe79c39974d 100644 (file)
@@ -18,7 +18,7 @@ endif
 if exists('b:tex_ignore_makefile') || exists('g:tex_ignore_makefile') ||
                        \(!filereadable('Makefile') && !filereadable('makefile'))
        " If buffer-local variable 'tex_flavor' exists, it defines TeX flavor,
-       " otherwize the same for global variable with same name, else it will be
+       " otherwise the same for global variable with same name, else it will be
        " LaTeX
        if exists("b:tex_flavor")
                let current_compiler = b:tex_flavor
index e1e9a1b47240074497cdfe77c03d6cb6dc7ac6aa..562198e79c1f9d53921cbe08a5c5ac11a11fea75 100644 (file)
@@ -1,4 +1,4 @@
-*eval.txt*     For Vim version 8.2.  Last change: 2021 Aug 16
+*eval.txt*     For Vim version 8.2.  Last change: 2021 Sep 08
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -4864,14 +4864,17 @@ finddir({name} [, {path} [, {count}]])                          *finddir()*
                Find directory {name} in {path}.  Supports both downwards and
                upwards recursive directory searches.  See |file-searching|
                for the syntax of {path}.
+
                Returns the path of the first found match.  When the found
                directory is below the current directory a relative path is
                returned.  Otherwise a full path is returned.
                If {path} is omitted or empty then 'path' is used.
+
                If the optional {count} is given, find {count}'s occurrence of
                {name} in {path} instead of the first one.
                When {count} is negative return all the matches in a |List|.
-               This is quite similar to the ex-command |:find|.
+
+               This is quite similar to the ex-command `:find`.
                {only available when compiled with the |+file_in_path|
                feature}
 
@@ -5094,7 +5097,7 @@ fullcommand({name})                                               *fullcommand()*
                The string argument {name} may start with a `:` and can
                include a [range], these are skipped and not returned.
                Returns an empty string if a command doesn't exist or if it's
-               ambiguous (for user-defined functions).
+               ambiguous (for user-defined commands).
 
                For example `fullcommand('s')`, `fullcommand('sub')`,
                `fullcommand(':%substitute')` all return "substitute".
index 8c114a2411f791cddb45b15675aa393bee85c806..4af59c64a69c67a7ee3ae9bdb2c104bf0dff3db6 100644 (file)
@@ -1,4 +1,4 @@
-*index.txt*     For Vim version 8.2.  Last change: 2021 Aug 27
+*index.txt*     For Vim version 8.2.  Last change: 2021 Aug 31
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 18b40f76fa0fd37d7ce03229cadb19f70c797c1b..31b820f7b1792660b220c5847303f4878823c621 100644 (file)
@@ -1,4 +1,4 @@
-*insert.txt*    For Vim version 8.2.  Last change: 2021 Aug 27
+*insert.txt*    For Vim version 8.2.  Last change: 2021 Aug 31
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 26b6683fe58017f2ad059e26487ec01ff1d29f58..a82bf82bcf6f188ab4ddd75f85c6e25b1d0c16be 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 8.2.  Last change: 2021 Aug 28
+*options.txt*  For Vim version 8.2.  Last change: 2021 Sep 06
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -7176,6 +7176,8 @@ A jump table for the options with a short description can be found at |Q_op|.
        If the name "cjk" is included East Asian characters are excluded from
        spell checking.  This is useful when editing text that also has Asian
        words.
+       Note that the "medical" dictionary does not exist, it is just an
+       example of a longer name.
                                                        *E757*
        As a special case the name of a .spl file can be given as-is.  The
        first "_xx" in the name is removed and used as the region name
index e344ec7dc795c1598cd6e78542f3f37a216667bf..04d85d7b377c7e9fda40cffd34c9616d09fa74ae 100644 (file)
@@ -1,4 +1,4 @@
-*repeat.txt*    For Vim version 8.2.  Last change: 2021 Jun 27
+*repeat.txt*    For Vim version 8.2.  Last change: 2021 Sep 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -893,8 +893,12 @@ DEFINING BREAKPOINTS
                Sets a breakpoint, that will break whenever the {expression}
                evaluates to a different value. Example: >
                        :breakadd expr g:lnum
-
 <              Will break, whenever the global variable lnum changes.
+
+               Errors in evaluation are suppressed, you can use the name of a
+               variable that does not exist yet.  This also means you will
+               not notice anything if the expression has a mistake.
+
                Note if you watch a |script-variable| this will break
                when switching scripts, since the script variable is only
                valid in the script where it has been defined and if that
index aa7475f8fd5606d894b713f221b1f17380d22e50..63956e595271522c3aa03adb2459adc64bef0a2e 100644 (file)
@@ -2321,6 +2321,7 @@ $VIM_POSIX        vi_diff.txt     /*$VIM_POSIX*
 :cope  quickfix.txt    /*:cope*
 :copen quickfix.txt    /*:copen*
 :copy  change.txt      /*:copy*
+:count_quit    windows.txt     /*:count_quit*
 :cp    quickfix.txt    /*:cp*
 :cpf   quickfix.txt    /*:cpf*
 :cpfile        quickfix.txt    /*:cpfile*
@@ -3502,6 +3503,7 @@ $VIM_POSIX        vi_diff.txt     /*$VIM_POSIX*
 :y     change.txt      /*:y*
 :yank  change.txt      /*:yank*
 :z     various.txt     /*:z*
+:z!    various.txt     /*:z!*
 :z#    various.txt     /*:z#*
 :~     change.txt      /*:~*
 ;      motion.txt      /*;*
@@ -5920,6 +5922,7 @@ compl-keyword     insert.txt      /*compl-keyword*
 compl-omni     insert.txt      /*compl-omni*
 compl-omni-filetypes   insert.txt      /*compl-omni-filetypes*
 compl-spelling insert.txt      /*compl-spelling*
+compl-stop     insert.txt      /*compl-stop*
 compl-tag      insert.txt      /*compl-tag*
 compl-vim      insert.txt      /*compl-vim*
 compl-whole-line       insert.txt      /*compl-whole-line*
@@ -7479,6 +7482,7 @@ i_CTRL-X_CTRL-T   insert.txt      /*i_CTRL-X_CTRL-T*
 i_CTRL-X_CTRL-U        insert.txt      /*i_CTRL-X_CTRL-U*
 i_CTRL-X_CTRL-V        insert.txt      /*i_CTRL-X_CTRL-V*
 i_CTRL-X_CTRL-Y        insert.txt      /*i_CTRL-X_CTRL-Y*
+i_CTRL-X_CTRL-Z        insert.txt      /*i_CTRL-X_CTRL-Z*
 i_CTRL-X_CTRL-]        insert.txt      /*i_CTRL-X_CTRL-]*
 i_CTRL-X_index index.txt       /*i_CTRL-X_index*
 i_CTRL-X_s     insert.txt      /*i_CTRL-X_s*
index b7972c071231ec50938914114e38f800859362c7..edcca49914e85c3c3c2a5ed59afec9c07cbcafa6 100644 (file)
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 8.2.  Last change: 2021 Aug 25
+*todo.txt*      For Vim version 8.2.  Last change: 2021 Sep 08
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -38,13 +38,15 @@ browser use: https://github.com/vim/vim/issues/1234
                                                        *known-bugs*
 -------------------- Known bugs and current work -----------------------
 
+:delcommand -buffer should work
+
 Vim9 - Make everything work:
+- Disallow using numbered function with "g:123" in Vim9 script?  #8760
 - use CheckLegacyAndVim9Success(lines) in many more places
 - Check TODO items in vim9compile.c and vim9execute.c
 - For builtin functions using tv_get_string*() use check_for_string() to be
   more strict about the argument type (not a bool).
     done: balloon_()
-- Disallow using numbered function with "g:123" in Vim9 script?  #8760
 - Check many more builtin function arguments at compile time.
     map() could check that the return type of the function argument matches
     the type of the list or dict member. (#8092)
@@ -223,6 +225,9 @@ Need to handle extra bytes.
 Test_communicate_ipv6(): is flaky on many systems
 Fails in line 64 of Ch_communicate, no exception is thrown.
 
+Patch for Template string: #4634
+Have another look at the implementation.
+
 Rename getdigraphlist -> digraph_getlist() etc.
 
 Valgrind reports memory leaks in test_options.
@@ -259,9 +264,6 @@ Problem that a previous silent ":throw" causes a following try/catch not to
 work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24)
 Also see #8487 for an example.
 
-Patch for Template string: #4634
-Have another look at the implementation.
-
 Patch to implement the vimtutor with a plugin: #6414
 Was originally written by Felipe Morales.
 
@@ -1039,6 +1041,9 @@ matchit hasn't been maintained for a long time.  #955.
 
 Problem with 'delcombine'. (agguser, 2017 Nov 10, #2313)
 
+'delcombine' does not work for the command line. (Tony Mechelynck, 2009 Jul
+20)
+
 MS-Windows: buffer completion doesn't work when using backslash (or slash)
 for a path separator. (xtal8, #2201)
 
@@ -2300,9 +2305,6 @@ for GTK clipboard.  Avoid requirement for iconv.
 
 Now that colnr_T is int instead of unsigned, more type casts can be removed.
 
-'delcombine' does not work for the command line. (Tony Mechelynck, 2009 Jul
-20)
-
 Don't load macmap.vim on startup, turn it into a plugin. (Ron Aaron,
 2009 Apr 7)  Reminder Apr 14.
 
index 10974ac188b2ffaf698867965a6e15183b4d2013..7adff41d757021cc66d8445b75c0df8c667360eb 100644 (file)
@@ -1,4 +1,4 @@
-*various.txt*   For Vim version 8.2.  Last change: 2021 Mar 23
+*various.txt*   For Vim version 8.2.  Last change: 2021 Sep 06
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -170,7 +170,7 @@ g8                  Print the hex values of the bytes used in the
                        If the mark is "=", a line of dashes is printed
                        around the current line.
 
-                                                       *:z!
+                                                       *:z!*
 :[range]z![+-^.=][count]
                        Like ":z:", but when [count] is not specified, it
                        defaults to the Vim window height minus one.
index 346189b05d9cfa43849b30b3461dbd2edc07c3ff..a1d106d9bdf481ef3d63b05fc090101007557c6c 100644 (file)
@@ -1,4 +1,4 @@
-*vim9.txt*     For Vim version 8.2.  Last change: 2021 Aug 23
+*vim9.txt*     For Vim version 8.2.  Last change: 2021 Sep 08
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1416,11 +1416,10 @@ In case the name is ambiguous, another name can be specified: >
 To import all exported items under a specific identifier: >
        import * as That from 'thatscript.vim'
 
-{not implemented yet: using "This as That"}
-
 Then you can use "That.EXPORTED_CONST", "That.someValue", etc.  You are free
 to choose the name "That", but it is highly recommended to use the name of the
-script file to avoid confusion.
+script file to avoid confusion.  Also avoid command names, because the name
+will shadow them.
 
 `:import` can also be used in legacy Vim script.  The imported items still
 become script-local, even when the "s:" prefix is not given.
index d0d67f8002a27b35985f0419fb1c1322d5b6ffef..cd39dac97540d685e40e88e2f82edab5f2b42c19 100644 (file)
@@ -1,4 +1,4 @@
-*windows.txt*   For Vim version 8.2.  Last change: 2021 Apr 10
+*windows.txt*   For Vim version 8.2.  Last change: 2021 Sep 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -296,7 +296,7 @@ Closing a window
 ----------------
 
 :q[uit]
-:{count}q[uit]
+:{count}q[uit]                                         *:count_quit*
 CTRL-W q                                               *CTRL-W_q*
 CTRL-W CTRL-Q                                          *CTRL-W_CTRL-Q*
                Without {count}: Quit the current window.  If {count} is
@@ -390,7 +390,8 @@ CTRL-W CTRL-C                                               *CTRL-W_CTRL-C*
 CTRL-W o                                               *CTRL-W_o* *E445*
 CTRL-W CTRL-O                                  *CTRL-W_CTRL-O* *:on* *:only*
                Make the current window the only one on the screen.  All other
-               windows are closed.  For {count} see |:quit| command.
+               windows are closed.  For {count} see the `:quit` command
+               above |:count_quit|.
 
                When the 'hidden' option is set, all buffers in closed windows
                become hidden.
index 0975ccd2d4273e1d14830dd62b1ccf43b45a74eb..d0d40539d2d47bfe031486638d6ff27191e05ef1 100644 (file)
@@ -1400,7 +1400,7 @@ au BufNewFile,BufRead *.ptl,*.pyi,SConstruct                 setf python
 " Radiance
 au BufNewFile,BufRead *.rad,*.mat              setf radiance
 
-" Raku (formelly Perl6)
+" Raku (formerly Perl6)
 au BufNewFile,BufRead *.pm6,*.p6,*.t6,*.pod6,*.raku,*.rakumod,*.rakudoc,*.rakutest  setf raku
 
 " Ratpoison config/command files
index 0d0f0f898367bdee94b68cb5cb5cc069ef4665a6..6a53dfd096e97b48aa220093207027c6945cbae7 100644 (file)
@@ -1,5 +1,5 @@
 " Vim filetype plugin file
-" Language:             Configuration File (ini file) for MSDOS/MS Windows
+" Language:             Configuration File (ini file) for MS-DOS/MS Windows
 " Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
 " Latest Revision:      2008-07-09
 
index a1a282f19ef8b5f75194328cb0a11284228a29ff..d3c74b4ecfbe69aa4647c5a55cf3d6a63f170f10 100644 (file)
@@ -1,7 +1,8 @@
 " Vim filetype plugin file
 " Language:    matlab
 " Maintainer:  Jake Wasserman <jwasserman at gmail dot com>
-" Last Change:         2019 Sep 27
+" Update By:    Gabriel Dupras
+" Last Change:         2021 Aug 30
 
 " Contributors:
 " Charles Campbell
@@ -15,9 +16,9 @@ let s:save_cpo = &cpo
 set cpo-=C
 
 if exists("loaded_matchit")
- let s:conditionalEnd = '\%(([^()]*\)\@!\<end\>\%([^()]*)\)\@!'
+ let s:conditionalEnd = '\%(\%(^\|;\)\s*\)\@<=end\>'
  let b:match_words=
-   \ '\<\%(if\|switch\|for\|while\)\>:\<\%(elseif\|case\|break\|continue\|else\|otherwise\)\>:'.s:conditionalEnd.','.
+   \ '\<\%(if\|switch\|for\|while\|try\)\>:\<\%(elseif\|case\|break\|continue\|else\|otherwise\|catch\)\>:' . s:conditionalEnd . ',' .
    \ '\<function\>:\<return\>:\<endfunction\>'
  unlet s:conditionalEnd
 endif
index 8a628604fabd56f8987a4233e44ddb6a6db4b51a..20172c9b3286f77b616e813c147b699beb338ab6 100644 (file)
@@ -371,7 +371,7 @@ endfunction
               endif
             else
               let annot_file_name = ''
-              "(Pierre Vittet: I have commented 4b because this was chrashing
+              "(Pierre Vittet: I have commented 4b because this was crashing
               "my vim (it produced infinite loop))
               "
               " 4b. anarchy : the renamed _build directory may be higher in the hierarchy
@@ -462,8 +462,8 @@ endfunction
 
   "b. 'search' and 'match' work to find the type information
 
-      "In:  - lin1,col1: postion of expression first char
-      "     - lin2,col2: postion of expression last char
+      "In:  - lin1,col1: position of expression first char
+      "     - lin2,col2: position of expression last char
       "Out: - the pattern to be looked for to find the block
       " Must be called in the source buffer (use of line2byte)
     function! s:Block_pattern(lin1,lin2,col1,col2)
@@ -581,7 +581,7 @@ endfunction
       let res = substitute (a:res, "\n", "", "g" )
       "remove double space
       let res =substitute(res , "  ", " ", "g")
-      "remove space at begining of string.
+      "remove space at beginning of string.
       let res = substitute(res, "^ *", "", "g")
       return res
     endfunction
diff --git a/runtime/ftplugin/octave.vim b/runtime/ftplugin/octave.vim
new file mode 100644 (file)
index 0000000..7cab7c2
--- /dev/null
@@ -0,0 +1,63 @@
+" Vim filetype plugin file
+" Language:    GNU Octave
+" Maintainer:  Doug Kearns <dougkearns@gmail.com>
+" Last Change: 2021 Sep 02
+
+if exists("b:did_ftplugin")
+  finish
+endif
+let b:did_ftplugin = 1
+
+let s:cpo_save = &cpo
+set cpo&vim
+
+" TODO: update Matlab ftplugin and source it as the base file?
+
+setlocal comments=s:%{,m:\ ,e:%},s:#{,m:\ ,e:#},:%,:#
+setlocal commentstring=#\ %s
+setlocal formatoptions-=t formatoptions+=croql
+
+setlocal keywordprg=info\ octave\ --vi-keys\ --index-search
+
+if exists("loaded_matchit") && !exists("b:match_words")
+  let b:match_words = '\<unwind_protect\>:\<unwind_protect_cleanup\>:\<end_unwind_protect\>'
+  if exists("octave_use_matlab_end")
+    let b:match_words ..= ',' ..
+                       \ '\<\%(classdef\|enumeration\|events\|for\|function\|if\|methods\|parfor\|properties\|switch\|while\|try\)\>' ..
+                        \ ':' ..
+                       \ '\<\%(elseif\|else\|case\|otherwise\|break\|continue\|catch\)\>' ..
+                        \ ':' ..
+                       \ '\<end\>'
+  else
+    let b:match_words ..= ',' ..
+                        \ '\<classdef\>:\<endclassdef\>,' ..
+                       \ '\<enumeration\>:\<endenumeration\>,' ..
+                       \ '\<events\>:\<endevents\>,' ..
+                       \ '\<do\>:\<\%(break\|continue\)\>:\<until\>' ..
+                       \ '\<for\>:\<\%(break\|continue\)\>:\<endfor\>,' ..
+                       \ '\<function\>:\<return\>:\<endfunction\>,' ..
+                       \ '\<if\>:\<\%(elseif\|else\)\>:\<endif\>,' ..
+                       \ '\<methods\>:\<endmethods\>,' ..
+                       \ '\<parfor\>:\<endparfor\>,' ..
+                       \ '\<properties\>:\<endproperties\>,' ..
+                       \ '\<switch\>:\<\%(case\|otherwise\)\>:\<endswitch\>,' ..
+                       \ '\<while\>:\<\%(break\|continue\)\>:\<endwhile\>,' ..
+                       \ '\<try\>:\<catch\>:\<end_try_catch\>'
+  endif
+  " only match in statement position
+  let s:statement_start = escape('\%(\%(^\|;\)\s*\)\@<=', '\')
+  let b:match_words = substitute(b:match_words, '\\<', s:statement_start, 'g')
+endif
+
+if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
+  let b:browsefilter = "GNU Octave Source Files (*.m)\t*.m\n" ..
+                    \ "All Files (*.*)\t*.*\n"
+endif
+
+let b:undo_ftplugin = "setl com< cms< fo< kp< " ..
+                   \ "| unlet! b:browsefilter b:match_words"
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
+" vim: nowrap sw=2 sts=2 ts=8 noet:
index e350427022cf5fb5d6582eeafcfb6b5b0c7f35ce..38ed1ad32af91556732e8ebcfbcf05c86773e078 100644 (file)
@@ -32,7 +32,7 @@ if exists("loaded_matchit")
     \ '\<checker\>:\<endchecker\>,' .
     \ '\<class\>:\<endclass\>,' .
     \ '\<clocking\>:\<endclocking\>,' .
-    \ '\<gruop\>:\<endgruop\>,' .
+    \ '\<group\>:\<endgroup\>,' .
     \ '\<interface\>:\<endinterface\>,' .
     \ '\<package\>:\<endpackage\>,' .
     \ '\<program\>:\<endprogram\>,' .
index 11470012f966df50fcf43c65ab96fcec507ff0b3..0d68b51d469e720744280067b5e3a09fecb624d1 100644 (file)
@@ -28,7 +28,7 @@ let &l:define .= '\|\\\(re\)\=new\(boolean\|command\|counter\|environment\|font'
 
 " Tell Vim how to recognize LaTeX \include{foo} and plain \input bar :
 let &l:include .= '\|\\include{'
-" On some file systems, "{" and "}" are inluded in 'isfname'.  In case the
+" On some file systems, "{" and "}" are included in 'isfname'.  In case the
 " TeX file has \include{fname} (LaTeX only), strip everything except "fname".
 let &l:includeexpr = "substitute(v:fname, '^.\\{-}{\\|}.*', '', 'g')"
 
index 1ca7fbacbe274ab6ff2e0035afb1be2090981612..6c8ab05267844b4f7e4bdf0cefe310671af82dd2 100644 (file)
@@ -219,7 +219,7 @@ function GetAdaIndent()
       " Move indent in twice (next 'when' will move back)
       let ind = ind + 2 * shiftwidth()
    elseif line =~ '^\s*end\s*record\>'
-      " Move indent back to tallying 'type' preceeding the 'record'.
+      " Move indent back to tallying 'type' preceding the 'record'.
       " Allow indent to be equal to 'end record's.
       let ind = s:MainBlockIndent( ind+shiftwidth(), lnum, 'type\>', '' )
    elseif line =~ '\(^\s*new\>.*\)\@<!)\s*[;,]\s*$'
index 4f9b7a8967fe4b1a89d7a6df54793eb8d56546fc..fb4fe2731085b75b869ad6aa16c087beec991559 100644 (file)
@@ -16,8 +16,8 @@ if exists("*CdlGetIndent")
     "finish
 endif
 
-" find out if an "...=..." expresion is an assignment (or a conditional)
-" it scans 'line' first, and then the previos lines
+" find out if an "...=..." expression is an assignment (or a conditional)
+" it scans 'line' first, and then the previous lines
 fun! CdlAsignment(lnum, line)
   let f = -1
   let lnum = a:lnum
@@ -33,7 +33,7 @@ fun! CdlAsignment(lnum, line)
       endif
       " it's formula if there's a ';', 'elsE', 'theN', 'enDif' or 'expr'
       " conditional if there's a '<', '>', 'elseif', 'if', 'and', 'or', 'not',
-      " 'memberis', 'childrenof' and other \k\+of funcions
+      " 'memberis', 'childrenof' and other \k\+of functions
       let f = line[inicio-1] =~? '[en;]' || strpart(line, inicio-4, 4) =~? 'ndif\|expr'
     endw
     let lnum = prevnonblank(lnum-1)
@@ -106,7 +106,7 @@ fun! CdlGetIndent(lnum)
     elseif c == '(' || c ==? 'f' " '(' or 'if'
       let ind = ind + shiftwidth()
     else " c == '='
-      " if it is an asignment increase indent
+      " if it is an assignment increase indent
       if f == -1 " we don't know yet, find out
        let f = CdlAsignment(lnum, strpart(line, 0, inicio))
       end
@@ -117,11 +117,11 @@ fun! CdlGetIndent(lnum)
   endw
 
   " CURRENT LINE, if it starts with a closing element, decrease indent
-  " or if it starts with '=' (asignment), increase indent
+  " or if it starts with '=' (assignment), increase indent
   if match(thisline, '^\c\s*\(else\|then\|endif\|[);]\)') >= 0
     let ind = ind - shiftwidth()
   elseif match(thisline, '^\s*=') >= 0
-    if f == -1 " we don't know yet if is an asignment, find out
+    if f == -1 " we don't know yet if is an assignment, find out
       let f = CdlAsignment(lnum, "")
     end
     if f == 1 " formula increase it
index 074f467beed0c72dd7d4a9d9b8184dcf1635196f..c987a78d64d33e8358d6c38b36c0d95be6a9c742 100644 (file)
@@ -62,8 +62,8 @@ function GetConfigIndent()
     let ind = s:GetOffsetOf(line, '\[')
   endif
 
-  " if previous line had an unmatched closing parantheses,
-  " indent to the matching opening parantheses
+  " if previous line had an unmatched closing parentheses,
+  " indent to the matching opening parentheses
   if line =~ '[^(]\+\\\@<!)$'
     call search(')', 'bW')
     let lnum = searchpair('\\\@<!(', '', ')', 'bWn')
index 963ac408efb7294aef8141725bfc0e8673fd17c5..30c06aa8b24e82c50b6a0197b3cd973b3ebb3d15 100644 (file)
@@ -119,16 +119,16 @@ function GetDTDIndent()
     " Next comes the content model.  If the token we’ve found isn’t a
     " parenthesis it must be either ANY, EMPTY or some random junk.  Either
     " way, we’re done indenting this element, so set it to that of the first
-    " line so that the terminating “>” winds up having the same indention.
+    " line so that the terminating “>” winds up having the same indentation.
     if token != '('
       return indent
     endif
 
     " Now go through the content model.  We need to keep track of the nesting
     " of parentheses.  As soon as we hit 0 we’re done.  If that happens we must
-    " have a complete content model.  Thus set indention to be the same as that
+    " have a complete content model.  Thus set indentation to be the same as that
     " of the first line so that the terminating “>” winds up having the same
-    " indention.  Otherwise, we’ll indent to the innermost parentheses not yet
+    " indentation.  Otherwise, we’ll indent to the innermost parentheses not yet
     " matched.
     let [indent_of_innermost, end] = s:indent_to_innermost_parentheses(line, end)
     if indent_of_innermost != -1
index 625cfde0c1fa94491c3e5443851767e7b1c2904d..4e7bf4ef4de65fcfa3bb3ac871fa64f13f65cf93 100644 (file)
@@ -57,7 +57,7 @@ endfunction
 " ======================
 
 " Indtokens are "indentation tokens". See their exact format in the
-" documentaiton of the s:GetTokensFromLine function.
+" documentation of the s:GetTokensFromLine function.
 
 " Purpose:
 "   Calculate the new virtual column after the given segment of a line.
@@ -75,7 +75,7 @@ endfunction
 "   s:CalcVCol("\t'\tx', b", 1, 4, 4)  -> 10
 function! s:CalcVCol(line, first_index, last_index, vcol, tabstop)
 
-  " We copy the relevent segment of the line, otherwise if the line were
+  " We copy the relevant segment of the line, otherwise if the line were
   " e.g. `"\t", term` then the else branch below would consume the `", term`
   " part at once.
   let line = a:line[a:first_index : a:last_index]
@@ -604,7 +604,7 @@ endfunction
 function! s:BeginElementFoundIfEmpty(stack, token, curr_vcol, stored_vcol, sw)
   if empty(a:stack)
     if a:stored_vcol ==# -1
-      call s:Log('    "' . a:token . '" directly preceeds LTI -> return')
+      call s:Log('    "' . a:token . '" directly precedes LTI -> return')
       return [1, a:curr_vcol + a:sw]
     else
       call s:Log('    "' . a:token .
@@ -825,7 +825,7 @@ function! s:ErlangCalcIndent2(lnum, stack)
         if ret | return res | endif
 
         if stored_vcol ==# -1
-          call s:Log('    End of clause directly preceeds LTI -> return')
+          call s:Log('    End of clause directly precedes LTI -> return')
           return 0
         else
           call s:Log('    End of clause (but not end of line) -> return')
index c649e370133785a8710509003811fca08f6fa915..09c7d7a85a6aab9c49e992e4c00a03d9eac7356f 100644 (file)
@@ -1,6 +1,6 @@
 " Vim indent file
 " Language:            JSON
-" Mantainer:           Eli Parra <eli@elzr.com> https://github.com/elzr/vim-json
+" Maintainer:          Eli Parra <eli@elzr.com> https://github.com/elzr/vim-json
 " Last Change:          2020 Aug 30
 "   https://github.com/jakar/vim-json/commit/20b650e22aa750c4ab6a66aa646bdd95d7cd548a#diff-e81fc111b2052e306d126bd9989f7b7c
 " Original Author:     Rogerz Zhang <rogerz.zhang at gmail.com> http://github.com/rogerz/vim-json
index 0d9b2b46e4dcd73f9985644ec2f1a23c1f4a5dba..e6d61617dc95668648b78c3e29c8eb635490592c 100644 (file)
@@ -11,7 +11,7 @@ endif
 let b:did_indent = 1
 
 " LifeLines uses cindent without ; line terminator, C functions
-" declarations, C keywords, C++ formating
+" declarations, C keywords, C++ formatting
 setlocal cindent
 setlocal cinwords=""
 setlocal cinoptions+=+0
index beadca9fa4d2ea0198691474a7a635623c410726..a5451a5a11bef7417571f6a3d57846595961cac4 100644 (file)
@@ -15,7 +15,7 @@ setlocal cindent
 " Set the function to do the work.
 setlocal indentexpr=GetObjCIndent()
 
-" To make a colon (:) suggest an indentation other than a goto/swich label,
+" To make a colon (:) suggest an indentation other than a goto/switch label,
 setlocal indentkeys-=:
 setlocal indentkeys+=<:>
 
index e806756c8e1a780e7ae4a4ec1b536b00387e66aa..f74c96b7f7aa4bb0650fe52df1874925546c5781 100644 (file)
@@ -44,7 +44,7 @@ function GetPoVRayIndent()
     return -1
   endif
 
-  " Search backwards for the frist non-empty, non-comment line.
+  " Search backwards for the first non-empty, non-comment line.
   let plnum = prevnonblank(v:lnum - 1)
   let plind = indent(plnum)
   while plnum > 0 && synIDattr(synID(plnum, plind+1, 0), "name") =~? "comment"
index 2a267fdab36b8ebc8be0123f5265004a3100ac46..559d8652a643130ba93b786c06ed15db11f9d784 100644 (file)
@@ -265,7 +265,7 @@ function! GetRubyIndent(...) abort
         \ ]
 
   " Most Significant line based on the previous one -- in case it's a
-  " contination of something above
+  " continuation of something above
   let indent_info.plnum_msl = s:GetMSL(indent_info.plnum)
 
   for callback_name in indent_callback_names
index 601c567adca42ab184277a453cf7364fad101619..d39fa3240e8fea0cb9fba10d4cca693efe822088 100644 (file)
@@ -9,7 +9,7 @@
 " Notes:
 "    Indenting keywords are based on Oracle and Sybase Adaptive Server
 "    Anywhere (ASA).  Test indenting was done with ASA stored procedures and
-"    fuctions and Oracle packages which contain stored procedures and
+"    functions and Oracle packages which contain stored procedures and
 "    functions.
 "    This has not been tested against Microsoft SQL Server or
 "    Sybase Adaptive Server Enterprise (ASE) which use the Transact-SQL
index 590fd4d998c7ffe76ca7b8aa94ed63cef2011beb..16fb4515c5634fd8434a7ff08d88985e2ca2a8ac 100644 (file)
@@ -64,7 +64,7 @@ function SystemVerilogIndent()
     let vverb = 0
   endif
 
-  " Indent accoding to last line
+  " Indent according to last line
   " End of multiple-line comment
   if last_line =~ '\*/\s*$' && last_line !~ '/\*.\{-}\*/'
     let ind = ind - offset_comment1
@@ -220,7 +220,7 @@ function SystemVerilogIndent()
 
   endif
 
-  " Return the indention
+  " Return the indentation
   return ind
 endfunction
 
index 8a44ade1ac8623de38d1f458e8754b4fce67a863..d356ba905bc14e22759742e3d446059ebec25c36 100644 (file)
@@ -288,7 +288,7 @@ function! GetTeXIndent() " {{{
             let ind = ind - shiftwidth()
             let stay = 0
         endif
-        " lines following to '\item' are intented once again:
+        " lines following to '\item' are indented once again:
         if line =~ g:tex_items
             let ind = ind + shiftwidth()
             let stay = 0
index 2c6eecf5c47316c8bb3fd2cbc8a7f3cbe1be2257..42ec1c8ad98685820e7ca162e1aea3301a888120 100644 (file)
@@ -34,5 +34,5 @@ function GetTreetopIndent()
     let ind -= shiftwidth()
   end
 
-  retur ind
+  return ind
 endfunction
index b6b2cb5acf3a4c2659a3cd13efa145a623a0a72b..e899f83d0f3a92bb9a0c13b02235766465158f44 100644 (file)
@@ -460,7 +460,7 @@ function! Fixedgq(lnum, count)
         return 1
     endif
 
-    " Put all the lines on one line and do normal spliting after that
+    " Put all the lines on one line and do normal splitting after that
     if l:count > 1
         while l:count > 1
             let l:count -= 1
index ab3d0ba3e04bc25cdd5851d4ece687c12263196f..e81197c3b41e48a9603555d7843c0315951214d6 100644 (file)
@@ -76,7 +76,7 @@ function GetVerilogIndent()
     let vverb = 0
   endif
 
-  " Indent accoding to last line
+  " Indent according to last line
   " End of multiple-line comment
   if last_line =~ '\*/\s*$' && last_line !~ '/\*.\{-}\*/'
     let ind = ind - offset_comment1
@@ -219,7 +219,7 @@ function GetVerilogIndent()
 
   endif
 
-  " Return the indention
+  " Return the indentation
   return ind
 endfunction
 
index 23b5f876acd07bc88c26e1b7d7a352e5315452b0..9aff4eba41443b63401e17905a2dc7bfa521d5f4 100644 (file)
@@ -364,7 +364,7 @@ ppu っぷ
 ppe っぺ
 ppo っぽ
 
-" Proceded by a small `tu' and followed by a small 'ya', 'yu' or 'yo'
+" Preceded by a small `tu' and followed by a small 'ya', 'yu' or 'yo'
 kkya っきゃ
 kkyu っきゅ
 kkyo っきょ
@@ -683,7 +683,7 @@ PPU ップ
 PPE ッペ
 PPO ッポ
 
-" Proceded by a small `tu' and followed by a small 'ya', 'yu' or 'yo'
+" Preceded by a small `tu' and followed by a small 'ya', 'yu' or 'yo'
 KKYA ッキャ
 KKYU ッキュ
 KKYO ッキョ
index 044e3b99186037ec12247baba6232f123df3cfda..64ae5193203c6951c558e582608d7fd70094f1ed 100644 (file)
@@ -10,7 +10,7 @@
 " BUT, simply mapping each letter of Hangul with sequence of alphabet 1 by 1
 " can fail to combine Hangul jamo (conconants and vowels) right.
 " For example, sequentially pressing `ㅅㅓㅇㅜㄹㄷㅐㅎㅏㄱㅛ` can not only be
-" combined as `서울대학교`, but alse `성ㅜㄹ댛ㅏㄱ교`, which is totally 
+" combined as `서울대학교`, but also `성ㅜㄹ댛ㅏㄱ교`, which is totally 
 " nonsense. 
 " Though combining Hangul is deterministic with law that each letter must be 
 " one of (consonant + vowel) or (consonant + vowel + consonant), there is no
index 25d6286e243f6ccd3ef11ce8b7aa9cd0b45250a2..2d5856ad0c2a200fd5e8d069a3ffac72354a75ae 100644 (file)
@@ -4,7 +4,7 @@
 " Useful mainly with utf-8 but may work with other encodings
 
 " Derived from russian-jcuken.vim by Artem Chuprina <ran@ran.pp.ru>
-" Typewriter variant of standart russian layout
+" Typewriter variant of standard russian layout
 " Maintainer:   Denis Proskurin <danwerspb@gmail.com>
 " Last Changed: 2015 May 15
 
index a85e861e3218cf167b2990fd2b6fd9df3dea8fed..e0fbf2288464e10a3577f8408680e7fb02bf7cfc 100644 (file)
@@ -106,7 +106,7 @@ loadkeymap
 <char-0x005d>      <char-0x044a>       " CYRILLIC SMALL LETTER HARD SIGN
 <char-0x007d>      <char-0x042a>       " CYRILLIC CAPITAL LETTER HARD SIGN
 
-"          ALPHABETIC 2st ROW
+"          ALPHABETIC 2nd ROW
 
 <char-0x0061>      <char-0x0444>       " CYRILLIC SMALL LETTER EF
 <char-0x0041>      <char-0x0424>       " CYRILLIC CAPITAL LETTER EF
@@ -131,7 +131,7 @@ loadkeymap
 <char-0x0027>      <char-0x044d>       " CYRILLIC SMALL LETTER E
 <char-0x0022>      <char-0x042d>       " CYRILLIC CAPITAL LETTER E
 
-"          ALPHABETIC 3st ROW
+"          ALPHABETIC 3rd ROW
 
 <char-0x007a>      <char-0x044f>       " CYRILLIC SMALL LETTER YA
 <char-0x005a>      <char-0x042f>       " CYRILLIC CAPITAL LETTER YA
index 2c85b5752928438034ba8f1b398b1b47f780a1ff..08df19b4f9b9de33c24b8663127f95a07bf4989b 100644 (file)
@@ -62,7 +62,7 @@ let g:loaded_2html_plugin = 'vim8.1_v2'
 "   7.3_v14 (Vim 7.3.1246): Allow suppressing line number anchors using
 "                          g:html_line_ids=0. Allow customizing
 "                          important IDs (like line IDs and fold IDs) using
-"                          g:html_id_expr evalutated when the buffer conversion
+"                          g:html_id_expr evaluated when the buffer conversion
 "                          is started.
 "   7.3_v13 (Vim 7.3.1088): Keep foldmethod at manual in the generated file and
 "                          insert modeline to set it to manual.
index 13504ed71fc95ba8c28aebdbd3643a1c2b718d10..ea9db154ba2d73313eb682992548e49ed5584b6c 100644 (file)
@@ -499,7 +499,7 @@ if s:settings.prevent_copy =~# 'n'
     endif
   elseif s:settings.line_ids
     " if lines are not being numbered the only reason this function gets called
-    " is to put the line IDs on each line; "text" will be emtpy but lnr will
+    " is to put the line IDs on each line; "text" will be empty but lnr will
     " always be non-zero, however we don't want to use the <input> because that
     " won't work as nice for empty text
     function! s:HtmlFormat_n(text, style_id, diff_style_id, lnr)
@@ -1034,7 +1034,7 @@ if !s:settings.no_progress
   " ProgressBar Indicator
   let s:progressbar={}
 
-  " Progessbar specific functions
+  " Progressbar specific functions
 
   func! s:SetProgbarColor()
     if hlID("TOhtmlProgress") != 0
index 67d7e4f786c3886b6f42156c883156c3a3fc72db..dbed541ba8acb2e9d16962a82c2d5c2b8ea4c9dc 100644 (file)
@@ -59,7 +59,7 @@ syn region abelSpecifier start='istype' end=';' contains=abelTypeIdChar,abelType
 syn match  abelTypeIdChar "[,']" contained
 syn match  abelTypeIdEnd  ";" contained
 
-" string contstants and special characters within them
+" string constants and special characters within them
 syn match  abelSpecial contained "\\['\\]"
 syn region abelString start=+'+ skip=+\\"+ end=+'+ contains=abelSpecial
 
index c9d2b06e18c763b2a8f8f2141a8d2c261217476c..415c9522fb9f555c8e230b39ae49ce54b085a23f 100644 (file)
@@ -159,7 +159,7 @@ endif
 
 " Section: end {{{1
 " Unless special ("end loop", "end if", etc.), "end" marks the end of a
-" begin, package, task etc. Assiging it to adaEnd.
+" begin, package, task etc. Assigning it to adaEnd.
 syntax match    adaEnd /\<end\>/
 
 syntax keyword  adaPreproc              pragma
index 664bd3837dcfec193e39ba8822f92a9ccf9bd955..3a40dcfaea5b1372050cb66364ba2c15debf0a70 100644 (file)
@@ -38,7 +38,7 @@ syn keyword ahdlMegafunction lpm_rom lpm_dff lpm_tff clklock pll ntsc
 
 syn keyword ahdlTodo contained TODO
 
-" String contstants
+" String constants
 syn region ahdlString start=+"+  skip=+\\"+  end=+"+
 
 " valid integer number formats (decimal, binary, octal, hex)
index 8b4443b4bd5a9dd1b62f45a9403e0139634450e0..44909b651ed41931794be9d228d7acc22563bc28 100644 (file)
@@ -34,7 +34,7 @@ syn match AspVBSVariableComplex contained "\<\(arr\|ary\|obj\)\u\w*"
 
 
 " Functions and methods that are in VB but will cause errors in an ASP page
-" This is helpfull if your porting VB code to ASP
+" This is helpful if your porting VB code to ASP
 " I removed (Count, Item) because these are common variable names in AspVBScript
 syn keyword AspVBSError contained Val Str CVar CVDate DoEvents GoSub Return GoTo
 syn keyword AspVBSError contained Stop LinkExecute Add Type LinkPoke
@@ -56,7 +56,7 @@ syn match AspVBSError contained "\<Option\s\+\(Base\|Compare\|Private\s\+Module\
 syn match AspVBSError contained "Respon\?ce\.\S*"
 syn match AspVBSError contained "Respose\.\S*"
 " When I looked up the VBScript syntax it mentioned that Property Get/Set/Let
-" statements are illegal, however, I have recived reports that they do work.
+" statements are illegal, however, I have received reports that they do work.
 " So I commented it out for now.
 " syn match AspVBSError contained "\<Property\s\+\(Get\|Let\|Set\)\>"
 
@@ -108,7 +108,7 @@ syn match AspVBSMethods contained "Response\.\w*"
 " Colorize boolean constants:
 syn keyword AspVBSMethods contained true false
 
-" AspVBScript Number Contstants
+" AspVBScript Number Constants
 " Integer number, or floating point number without a dot.
 syn match  AspVBSNumber        contained       "\<\d\+\>"
 " Floating point number, with dot
@@ -116,7 +116,7 @@ syn match  AspVBSNumber     contained       "\<\d\+\.\d*\>"
 " Floating point number, starting with a dot
 syn match  AspVBSNumber        contained       "\.\d\+\>"
 
-" String and Character Contstants
+" String and Character Constants
 " removed (skip=+\\\\\|\\"+) because VB doesn't have backslash escaping in
 " strings (or does it?)
 syn region  AspVBSString       contained         start=+"+  end=+"+ keepend
@@ -143,7 +143,7 @@ syn cluster AspVBScriptTop contains=AspVBSStatement,AspVBSFunction,AspVBSMethods
 syn region AspVBSFold start="^\s*\(class\)\s\+.*$" end="^\s*end\s\+\(class\)\>.*$" fold contained transparent keepend
 syn region AspVBSFold start="^\s*\(private\|public\)\=\(\s\+default\)\=\s\+\(sub\|function\)\s\+.*$" end="^\s*end\s\+\(function\|sub\)\>.*$" fold contained transparent keepend
 
-" Define AspVBScript delimeters
+" Define AspVBScript delimiters
 " <%= func("string_with_%>_in_it") %> This is illegal in ASP syntax.
 syn region  AspVBScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<%=\=+ end=+%>+ contains=@AspVBScriptTop, AspVBSFold
 syn region  AspVBScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<script\s\+language="\=vbscript"\=[^>]*\s\+runatserver[^>]*>+ end=+</script>+ contains=@AspVBScriptTop
index a50297d418fd27d7918994ab0fed8c600023948f..f347b1379fff0bb3951b01224247de5c1fc49ed5 100644 (file)
@@ -32,7 +32,7 @@ syn match  CfgComment "#.*"
 syn match  CfgComment  ";.*"
 syn match  CfgComment  "\/\/.*"
 
-" Define the default hightlighting.
+" Define the default highlighting.
 " Only when an item doesn't have highlighting yet
 hi def link CfgOnOff     Label
 hi def link CfgComment Comment
index 6e5d8b9f3711c4c2155cc6ff0bb3cda287dbfb9f..b1bc4d6a7bb2cde17dc4b59ead458c09fb2c98f6 100644 (file)
@@ -141,7 +141,7 @@ sy  keyword cscBPMacro      contained EndLoop AllMembers SelectedMembers If Else EndIf
 sy     match   cscBPMacro      contained       "!"
 sy     match   cscBPW  "!\s*\a*"       contains=cscBPmacro
 
-" when wanted, highlighting lhs members or erros in asignments (may lag the editing)
+" when wanted, highlighting lhs members or errors in assignments (may lag the editing)
 if exists("csc_asignment")
        sy      match   cscEqError      '\("[^"]*"\s*\|[^][\t !%()*+,--/:;<=>{}~]\+\s*\|->\s*\)*=\([^=]\@=\|$\)'
        sy      region  cscFormula      transparent matchgroup=cscVarName start='\("[^"]*"\|[^][\t !%()*+,--/:;<=>{}~]\+\)\s*=\([^=]\@=\|\n\)' skip='"[^"]*"' end=';' contains=ALLBUT,cscFormula,cscFormulaIn,cscBPMacro,cscCondition
index 5b93b0db936d7b1ba38248f6a90e40012eba9f4c..54495f8ba52e5e33c8ab7df4efc7967faeabec98 100644 (file)
@@ -23,7 +23,7 @@ syn keyword cuplTodo contained TODO XXX FIXME
 " cuplHeaderContents uses default highlighting except for numbers
 syn match cuplHeaderContents ".\+;"me=e-1 contains=cuplNumber contained
 
-" String contstants
+" String constants
 syn region cuplString start=+'+ end=+'+
 syn region cuplString start=+"+ end=+"+
 
index 249e6f7c469b734c5a876c79f05bc64f518c03d0..f003a65909f731422b7177089d8983fd79a69b47 100644 (file)
@@ -1,5 +1,5 @@
 " Vim syntax file
-" Language:    MSDOS batch file (with NT command extensions)
+" Language:    MS-DOS batch file (with NT command extensions)
 " Maintainer:  Mike Williams <mrw@eandem.co.uk>
 " Filenames:    *.bat
 " Last Change: 6th September 2009
index cfd5452ee4ab51b1a28243d75d3156c467e8c06d..167b17cd0f5e96e6086626499a66c91b33dd2371 100644 (file)
@@ -1,4 +1,4 @@
-" DoxyGen syntax hilighting extension for c/c++/idl/java
+" DoxyGen syntax highlighting extension for c/c++/idl/java
 " Language:     doxygen on top of c, cpp, idl, java, php
 " Maintainer:   Michael Geddes <vimmer@frog.wheelycreek.net>
 " Author:       Michael Geddes
@@ -54,7 +54,7 @@ let s:cpo_save = &cpo
 try
   set cpo&vim
 
-  " Start of Doxygen syntax hilighting:
+  " Start of Doxygen syntax highlighting:
   "
 
   " C/C++ Style line comments
@@ -256,7 +256,7 @@ endif
   syn match doxygenLinkRest +[^*@\\]\|\*/\@!\|[@\\]\(endlink\>\)\@!+ contained skipnl nextgroup=doxygenLinkRest,doxygenContinueLinkComment
   syn match doxygenContinueLinkComment contained +^\s*\*\=[^/]+me=e-1 nextgroup=doxygenLinkRest
   syn match doxygenLinkError "\*/" contained
-  " #Link hilighting.
+  " #Link highlighting.
   syn match doxygenHashLink /\(\h\w*\)\?#\(\.\w\@=\|\w\+\|::\|()\)\+/ contained contains=doxygenHashSpecial
   syn match doxygenHashSpecial /#/ contained
   syn match doxygenHyperLink /\(\s\|^\s*\*\?\)\@<=\(http\|https\|ftp\):\/\/[-0-9a-zA-Z_?&=+#%/.!':;@~]\+/ contained
@@ -306,7 +306,7 @@ endif
   syn region doxygenFormula contained matchgroup=doxygenFormulaEnds start=+f\[+ end=+[@\\]f]+ contains=doxygenFormulaSpecial,doxygenFormulaOperator,doxygenAtom
   syn region doxygenAtom contained transparent matchgroup=doxygenFormulaOperator start=+{+ end=+}+ contains=doxygenAtom,doxygenFormulaSpecial,doxygenFormulaOperator
 
-  " Add TODO hilighting.
+  " Add TODO highlighting.
   syn keyword doxygenTODO contained TODO README XXX FIXME
 
   " Supported HTML subset.  Not perfect, but okay.
index a75aed47cb50dc49c8d7464a21892ace679ebf18..187fd50dbf7a9ef4ab46b928faff0d6614f9defc 100644 (file)
@@ -8,7 +8,7 @@
 " this is a very simple syntax file - I will be improving it
 " one thing is how to do computes
 " I don't like that &vars and FUSE() functions highlight to the same color
-" I think some of these things should get different hilights -
+" I think some of these things should get different highlights -
 "  should MODIFY commands look different than TABLE?
 
 " quit when a syntax file was already loaded
index 9b39a7fd7d21b4af15e8e34434c35f294e4956d4..721bceb367dcca21c30cdb1b43be8ebc3d5d4ebc 100644 (file)
@@ -181,7 +181,7 @@ syn keyword forthMath DECIMAL HEX BASE
 syn match forthInteger '\<-\=[0-9]\+.\=\>'
 syn match forthInteger '\<&-\=[0-9]\+.\=\>'
 " recognize hex and binary numbers, the '$' and '%' notation is for gforth
-syn match forthInteger '\<\$\x*\x\+\>' " *1* --- dont't mess
+syn match forthInteger '\<\$\x*\x\+\>' " *1* --- don't mess
 syn match forthInteger '\<\x*\d\x*\>'  " *2* --- this order!
 syn match forthInteger '\<%[0-1]*[0-1]\+\>'
 syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe]\d\+\>'
index 64d9598a71bfa1e254ff4d8fe0074107d9e77ca0..975562da0f0e2a4f6ae3fcb5e75bd19883651e86 100644 (file)
@@ -9,7 +9,7 @@
 " It allows the use of multiple news- and mailserver and combines them to one
 " mail- and newsserver for the news/mail-client. It load faster than a normal
 " newsreader because many threads can run simultaneous. It contains scorefile
-" for news and mail, a build-in script language, the GUI allows translation to
+" for news and mail, a built-in script language, the GUI allows translation to
 " other languages, it can be used in a network and that's not all features...
 "
 " quit when a syntax file was already loaded
index 6a4ce7e08773f6f6525b87e6db2011704708409c..2f20dec2d7c75afa6715fb265859ab6923c01579 100644 (file)
@@ -7,7 +7,7 @@
 
 " This is an experiment.  IDL's structure is simple enough to permit a full
 " grammar based approach to rather than using a few heuristics.  The result
-" is large and somewhat repetative but seems to work.
+" is large and somewhat repetitive but seems to work.
 
 " There are some Microsoft extensions to idl files that are here.  Some of
 " them are disabled by defining idl_no_ms_extensions.
index e41de5db5a3279ea8eaef254d232da16f22f7303..34bb69836836745b155e9d24dd874de551fd39ae 100644 (file)
@@ -2,10 +2,10 @@
 " Language:             Inno Setup File (iss file) and My InnoSetup extension
 " Maintainer:           Jason Mills (jmills@cs.mun.ca)
 " Previous Maintainer:  Dominique Stéphan (dominique@mggen.com)
-" Last Change:          2019 Sep 27
+" Last Change:          2021 Aug 30
 "
 " Todo:
-"  - The paramter String: is matched as flag string (because of case ignore).
+"  - The parameter String: is matched as flag string (because of case ignore).
 "  - Pascal scripting syntax is not recognized.
 "  - Embedded double quotes confuse string matches. e.g. "asfd""asfa"
 
index 0683adc5739b59e0a219db6c76e407a418e54028..d2f22e9be516bade48599fa65a38206da31875ec 100644 (file)
@@ -12,7 +12,7 @@
 "
 "       let filetype_m="mma"
 "
-" I also recommend setting the default 'Comment' hilighting to something
+" I also recommend setting the default 'Comment' highlighting to something
 " other than the color used for 'Function', since both are plentiful in
 " most mathematica files, and they are often the same color (when using
 " background=dark).
@@ -109,7 +109,7 @@ syntax match mmaemPHAsis "\%(^\|\s\)(\@<!\*[a-zA-Z0-9]\+\%([- \t':]\+[a-zA-Z0-9]
 syntax region mmaComment start=+(\*+ end=+\*)+ skipempty contains=@mmaNotes,mmaItem,@mmaCommentStrings,mmaemPHAsis,mmaComment
 
 " Function Comments:
-"   just like a normal comment except the first sentance is Special ala Java
+"   just like a normal comment except the first sentence is Special ala Java
 "   (** *)
 "   TODO - fix this for nesting, or not...
 syntax region mmaFunctionComment start="(\*\*\+" end="\*\+)" contains=@mmaNotes,mmaItem,mmaFunctionTitle,@mmaCommentStrings,mmaemPHAsis,mmaComment
index b29313a3cf65cb1903154d6183851ed5b0a5e4f9..7c6e2d51283b3e6023ca86a20b2fb02a3d08c63e 100644 (file)
@@ -64,7 +64,7 @@ syn keyword objcStorageClass nullable nonnull null_unspecified
 " ObjC type specifier
 syn keyword objcTypeSpecifier __kindof __covariant
 
-" ObjC Type Infomation Parameters
+" ObjC Type Information Parameters
 syn keyword objcTypeInfoParams ObjectType KeyType
 
 " shorthand
index 00418f577df01399e8fcccf33778e8cd64b6bf34..5af57aa0b1625bd6656cdb3897e3bd4265b4a308 100644 (file)
@@ -6,7 +6,7 @@
 " URL:          http://www.eandem.co.uk/mrw/vim
 "
 " Options Flags:
-" postscr_level                 - language level to use for highligting (1, 2, or 3)
+" postscr_level                 - language level to use for highlighting (1, 2, or 3)
 " postscr_display               - include display PS operators
 " postscr_ghostscript           - include GS extensions
 " postscr_fonts                 - highlight standard font names (a lot for PS 3)
@@ -469,12 +469,12 @@ if postscr_level == 2 || postscr_level == 3
   syn keyword postscrConstant   contained SubsVector UnderlineThickness FamilyName FontBBox CurMID
   syn keyword postscrConstant   contained Weight
 
-" PS2 User paramters
+" PS2 User parameters
   syn keyword postscrConstant   contained MaxFontItem MinFontCompress MaxUPathItem MaxFormItem MaxPatternItem
   syn keyword postscrConstant   contained MaxScreenItem MaxOpStack MaxDictStack MaxExecStack MaxLocalVM
   syn keyword postscrConstant   contained VMReclaim VMThreshold
 
-" PS2 System paramters
+" PS2 System parameters
   syn keyword postscrConstant   contained SystemParamsPassword StartJobPassword BuildTime ByteOrder RealFormat
   syn keyword postscrConstant   contained MaxFontCache CurFontCache MaxOutlineCache CurOutlineCache
   syn keyword postscrConstant   contained MaxUPathCache CurUPathCache MaxFormCache CurFormCache
@@ -496,15 +496,15 @@ if postscr_level == 2 || postscr_level == 3
 " Page duplexing operators
   syn keyword postscrL2Operator   duplexmode firstside newsheet setduplexmode settumble tumble
 
-" Device compatability operators
+" Device compatibility operators
   syn keyword postscrL2Operator   devdismount devformat devmount devstatus
   syn keyword postscrL2Repeat     devforall
 
-" Imagesetter compatability operators
+" Imagesetter compatibility operators
   syn keyword postscrL2Operator   accuratescreens checkscreen pagemargin pageparams setaccuratescreens setpage
   syn keyword postscrL2Operator   setpagemargin setpageparams
 
-" Misc compatability operators
+" Misc compatibility operators
   syn keyword postscrL2Operator   appletalktype buildtime byteorder checkpassword defaulttimeouts diskonline
   syn keyword postscrL2Operator   diskstatus manualfeed manualfeedtimeout margins mirrorprint pagecount
   syn keyword postscrL2Operator   pagestackorder printername processcolors sethardwareiomode setjobtimeout
index d60040c5d9c1396047dcf1c3b797974d30bdf1e0..00d58d11f2a2e271cb247331cd91cf83628a939d 100644 (file)
@@ -174,7 +174,7 @@ syn match   sgmlAbbrEndTag +/+
 " SGML specific
 " abbreviated regions
 "
-" No highlighing, highlighing is done by contained elements.
+" No highlighting, highlighting is done by contained elements.
 "
 " PROVIDES: @sgmlRegionHook
 "
@@ -192,7 +192,7 @@ syn match   sgmlAbbrRegion
 " real (non-empty) elements. We cannot do syntax folding
 " as in xml, because end tags may be optional in sgml depending
 " on the dtd.
-" No highlighing, highlighing is done by contained elements.
+" No highlighting, highlighting is done by contained elements.
 "
 " PROVIDES: @sgmlRegionHook
 "
@@ -225,7 +225,7 @@ syn region   sgmlRegion
 "
 " <tag id="lola"/>
 "
-" TODO use sgmlEmptyTag intead of sgmlTag
+" TODO use sgmlEmptyTag instead of sgmlTag
 syn match    sgmlEmptyRegion
     \ +<[^ /!?>"']\(\_[^"'<>]\|"\_[^"]*"\|'\_[^']*'\)*/>+
     \ contains=sgmlEmptyTag
index e5f58be92fc5a296808cb3e90cc8e926a68074a3..9284abf63f72787e4d482e84ee3ded8d64221bbe 100644 (file)
@@ -25,7 +25,7 @@ endif
 let s:cpo_save = &cpo
 set cpo&vim
 
-" don't hightlight several keywords like subsections
+" don't highlight several keywords like subsections
 "let strict_subsections = 1
 
 " highlight types usually found in DECLARE section
@@ -35,7 +35,7 @@ endif
 
 " one line comment syntax (# comments)
 " 1. allow appended code after comment, do not complain
-" 2. show code beginnig with the second # as an error
+" 2. show code beginning with the second # as an error
 " 3. show whole lines with more than one # as an error
 if !exists("oneline_comments")
     let oneline_comments = 2
@@ -177,7 +177,7 @@ syn cluster spupOrdinary  contains=spupNumber,spupIdentifier,spupSymbol
 syn cluster spupOrdinary  add=spupError,spupString,spupComment
 syn cluster spupTextproc  contains=spupTextprocGeneric,spupTextprocError
 
-" define syncronizing; especially OPERATION sections can become very large
+" define synchronizing; especially OPERATION sections can become very large
 syn sync clear
 syn sync minlines=100
 syn sync maxlines=500
index 8160c7704a6da31a01fa933bf646ba5152db7654..ffa7820fe8e5b748e21dac387db833b79bd15aaa 100644 (file)
@@ -44,7 +44,7 @@ syn match  stCharacter        "$."
 
 syn case ignore
 
-" the symols prefixed by a '#'
+" the symbols prefixed by a '#'
 syn match  stSymbol    "\(#\<[a-z_][a-z0-9_]*\>\)"
 syn match  stSymbol    "\(#'[^']*'\)"
 
@@ -58,7 +58,7 @@ syn match  stFloat    "\<\d\+e[-+]\=\d\+[fl]\=\>"
 
 syn case match
 
-" a try to higlight paren mismatches
+" a try to highlight paren mismatches
 syn region stParen     transparent start='(' end=')' contains=ALLBUT,stParenError
 syn match  stParenError        ")"
 syn region stBlock     transparent start='\[' end='\]' contains=ALLBUT,stBlockError
index 04dbbd2af0cbe678e124f404025f7c9975703771..64efd6fec449be787270e034a22adbd5160ac11f 100644 (file)
@@ -168,7 +168,7 @@ syn region tcltkCommand matchgroup=tcltkCommandColor start="\<format\>" matchgro
 
 " PACK
 " commands associated with pack
-syn keyword tcltkPackSwitch    contained       forget info propogate slaves
+syn keyword tcltkPackSwitch    contained       forget info propagate slaves
 syn keyword tcltkPackConfSwitch        contained       after anchor before expand fill in ipadx ipady padx pady side
 syn region tcltkCommand matchgroup=tcltkCommandColor start="\<pack\>" matchgroup=NONE skip="^\s*$" end="]\|[^\\]*\s*$"he=e-1  contains=tclLineContinue,tcltkPackSwitch,tcltkPackConf,tcltkPackConfSwitch,tclNumber,tclVarRef,tclString,tcltkCommand keepend
 
index d5419982ad912d328dc93353a817717cf6130dce..4f435ab923d45852175fa02da32c8bc0a7715bda 100644 (file)
@@ -8,7 +8,7 @@ if exists("b:current_syntax")
     finish
 endif
 
-" Explicitly change compatiblity options to Vim's defaults because this file
+" Explicitly change compatibility options to Vim's defaults because this file
 " uses line continuations.
 let s:original_cpo = &cpo
 set cpo&vim