]> granicus.if.org Git - vim/commitdiff
Runtime file updates.
authorBram Moolenaar <Bram@vim.org>
Sun, 5 Mar 2017 16:04:09 +0000 (17:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 5 Mar 2017 16:04:09 +0000 (17:04 +0100)
190 files changed:
runtime/autoload/javascriptcomplete.vim
runtime/compiler/bdf.vim
runtime/compiler/gcc.vim
runtime/compiler/rst.vim
runtime/doc/eval.txt
runtime/doc/fold.txt
runtime/doc/hangulin.txt
runtime/doc/helphelp.txt
runtime/doc/if_pyth.txt
runtime/doc/if_ruby.txt
runtime/doc/index.txt
runtime/doc/insert.txt
runtime/doc/mlang.txt
runtime/doc/options.txt
runtime/doc/pattern.txt
runtime/doc/quickfix.txt
runtime/doc/scroll.txt
runtime/doc/syntax.txt
runtime/doc/tags
runtime/doc/term.txt
runtime/doc/todo.txt
runtime/doc/usr_02.txt
runtime/doc/usr_41.txt
runtime/doc/various.txt
runtime/doc/version8.txt
runtime/filetype.vim
runtime/ftplugin/a2ps.vim
runtime/ftplugin/alsaconf.vim
runtime/ftplugin/arch.vim
runtime/ftplugin/automake.vim
runtime/ftplugin/bdf.vim
runtime/ftplugin/calendar.vim
runtime/ftplugin/cdrdaoconf.vim
runtime/ftplugin/conf.vim
runtime/ftplugin/crm.vim
runtime/ftplugin/css.vim
runtime/ftplugin/cvsrc.vim
runtime/ftplugin/denyhosts.vim
runtime/ftplugin/dictconf.vim
runtime/ftplugin/dictdconf.vim
runtime/ftplugin/dircolors.vim
runtime/ftplugin/dosini.vim
runtime/ftplugin/elinks.vim
runtime/ftplugin/eterm.vim
runtime/ftplugin/fetchmail.vim
runtime/ftplugin/framescript.vim
runtime/ftplugin/gpg.vim
runtime/ftplugin/group.vim
runtime/ftplugin/grub.vim
runtime/ftplugin/haskell.vim
runtime/ftplugin/help.vim
runtime/ftplugin/hostconf.vim
runtime/ftplugin/hostsaccess.vim
runtime/ftplugin/indent.vim
runtime/ftplugin/ld.vim
runtime/ftplugin/lftp.vim
runtime/ftplugin/libao.vim
runtime/ftplugin/limits.vim
runtime/ftplugin/loginaccess.vim
runtime/ftplugin/logindefs.vim
runtime/ftplugin/m4.vim
runtime/ftplugin/mailaliases.vim
runtime/ftplugin/mailcap.vim
runtime/ftplugin/manconf.vim
runtime/ftplugin/modconf.vim
runtime/ftplugin/mplayerconf.vim
runtime/ftplugin/muttrc.vim
runtime/ftplugin/nanorc.vim
runtime/ftplugin/netrc.vim
runtime/ftplugin/nsis.vim
runtime/ftplugin/pamconf.vim
runtime/ftplugin/passwd.vim
runtime/ftplugin/pinfo.vim
runtime/ftplugin/procmail.vim
runtime/ftplugin/prolog.vim
runtime/ftplugin/protocols.vim
runtime/ftplugin/quake.vim
runtime/ftplugin/racc.vim
runtime/ftplugin/readline.vim
runtime/ftplugin/rnc.vim
runtime/ftplugin/rst.vim
runtime/ftplugin/screen.vim
runtime/ftplugin/sensors.vim
runtime/ftplugin/services.vim
runtime/ftplugin/setserial.vim
runtime/ftplugin/sieve.vim
runtime/ftplugin/slpconf.vim
runtime/ftplugin/slpreg.vim
runtime/ftplugin/slpspi.vim
runtime/ftplugin/sshconfig.vim
runtime/ftplugin/sudoers.vim
runtime/ftplugin/sysctl.vim
runtime/ftplugin/terminfo.vim
runtime/ftplugin/tmux.vim [new file with mode: 0644]
runtime/ftplugin/treetop.vim
runtime/ftplugin/udevconf.vim
runtime/ftplugin/udevperm.vim
runtime/ftplugin/udevrules.vim
runtime/ftplugin/updatedb.vim
runtime/ftplugin/xdefaults.vim
runtime/ftplugin/xf86conf.vim
runtime/ftplugin/xinetd.vim
runtime/ftplugin/xmodmap.vim
runtime/ftplugin/yaml.vim
runtime/indent/automake.vim
runtime/indent/config.vim
runtime/indent/css.vim
runtime/indent/dictconf.vim
runtime/indent/dictdconf.vim
runtime/indent/docbk.vim
runtime/indent/dtd.vim
runtime/indent/eterm.vim
runtime/indent/framescript.vim
runtime/indent/ld.vim
runtime/indent/make.vim
runtime/indent/readline.vim
runtime/indent/rst.vim
runtime/indent/tf.vim
runtime/indent/treetop.vim
runtime/indent/verilog.vim
runtime/indent/xf86conf.vim
runtime/indent/xinetd.vim
runtime/indent/yacc.vim
runtime/menu.vim
runtime/plugin/tarPlugin.vim
runtime/scripts.vim
runtime/synmenu.vim
runtime/syntax/a2ps.vim
runtime/syntax/alsaconf.vim
runtime/syntax/arch.vim
runtime/syntax/bdf.vim
runtime/syntax/calendar.vim
runtime/syntax/cdrdaoconf.vim
runtime/syntax/cdrtoc.vim
runtime/syntax/cmusrc.vim
runtime/syntax/crm.vim
runtime/syntax/cvsrc.vim
runtime/syntax/denyhosts.vim
runtime/syntax/dictconf.vim
runtime/syntax/dictdconf.vim
runtime/syntax/elinks.vim
runtime/syntax/eterm.vim
runtime/syntax/fetchmail.vim
runtime/syntax/framescript.vim
runtime/syntax/gpg.vim
runtime/syntax/group.vim
runtime/syntax/grub.vim
runtime/syntax/hostconf.vim
runtime/syntax/indent.vim
runtime/syntax/initex.vim
runtime/syntax/ld.vim
runtime/syntax/ldapconf.vim
runtime/syntax/lftp.vim
runtime/syntax/libao.vim
runtime/syntax/limits.vim
runtime/syntax/litestep.vim
runtime/syntax/loginaccess.vim
runtime/syntax/logindefs.vim
runtime/syntax/mailaliases.vim
runtime/syntax/manconf.vim
runtime/syntax/modconf.vim
runtime/syntax/nanorc.vim
runtime/syntax/netrc.vim
runtime/syntax/pamconf.vim
runtime/syntax/passwd.vim
runtime/syntax/pinfo.vim
runtime/syntax/plaintex.vim
runtime/syntax/protocols.vim
runtime/syntax/quake.vim
runtime/syntax/racc.vim
runtime/syntax/readline.vim
runtime/syntax/rnc.vim
runtime/syntax/sensors.vim
runtime/syntax/services.vim
runtime/syntax/setserial.vim
runtime/syntax/sieve.vim
runtime/syntax/slpconf.vim
runtime/syntax/slpreg.vim
runtime/syntax/slpspi.vim
runtime/syntax/sudoers.vim
runtime/syntax/sysctl.vim
runtime/syntax/terminfo.vim
runtime/syntax/tmux.vim [new file with mode: 0644]
runtime/syntax/treetop.vim
runtime/syntax/udevconf.vim
runtime/syntax/udevperm.vim
runtime/syntax/udevrules.vim
runtime/syntax/updatedb.vim
runtime/syntax/xinetd.vim
runtime/syntax/xmodmap.vim

index 2abe41b463f36fec8d452477e6602897d03fb1f7..14bc3d7ce397ad2fd65fbcd85b0975c711425f02 100644 (file)
@@ -1,7 +1,7 @@
 " Vim completion script
 " Language:    Java Script
 " Maintainer:  Mikolaj Machowski ( mikmach AT wp DOT pl )
-" Last Change: 2006 Apr 30
+" Last Change: 2017 Mar 04
 
 function! javascriptcomplete#CompleteJS(findstart, base)
   if a:findstart
@@ -563,7 +563,7 @@ function! javascriptcomplete#CompleteJS(findstart, base)
        for i in arguments
                let g:ia = i
                let f_elements = matchlist(i, 'function\s\+\(\k\+\)\s*(\(.\{-}\))')
-               if len(f_elements) == 3
+               if len(f_elements) >= 3
                        let b:js_menuinfo[f_elements[1].'('] = f_elements[2]
                endif
        endfor
index ca33776988a20ede1ae83787a8ebc61600f4abbf..b062e847aae3de1d7751509454f7ae5621b009bf 100644 (file)
@@ -1,7 +1,7 @@
 " Vim compiler file
-" Compiler:         BDF to PCF Conversion
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Compiler:             BDF to PCF Conversion
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("current_compiler")
   finish
index 19ea2edc124653579036945cb98d8edef790d188..1af568de57f5db6fb811608625e9339dc5886a00 100644 (file)
@@ -1,7 +1,7 @@
 " Vim compiler file
-" Compiler:         GNU C Compiler
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2010-10-14
+" Compiler:             GNU C Compiler
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2010-10-14
 "                      added line suggested by Anton Lindqvist 2016 Mar 31
 
 if exists("current_compiler")
index 15d2d79f6421f21ada45543987b84470d041e15a..c34bd3ba81f1a06bbe8539df2febad836f8f708d 100644 (file)
@@ -1,7 +1,7 @@
 " Vim compiler file
-" Compiler:         reStructuredText Documentation Format
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Compiler:             reStructuredText Documentation Format
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("current_compiler")
   finish
index 49c955da47149e65333178b74d7935aa57432694..48c1a78e88d83916e954a8cde8cc0082898798bc 100644 (file)
@@ -1,4 +1,4 @@
-*eval.txt*     For Vim version 8.0.  Last change: 2017 Feb 17
+*eval.txt*     For Vim version 8.0.  Last change: 2017 Mar 04
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2623,9 +2623,9 @@ atan2({expr1}, {expr2})                                   *atan2()*
 <                      2.356194
                {only available when compiled with the |+float| feature}
 
-balloon_show({msg})                                     *balloon_show()*
-                Show {msg} inside the balloon.
-                Example: >
+balloon_show({msg})                                    *balloon_show()*
+               Show {msg} inside the balloon.
+               Example: >
                        func GetBalloonContent()
                           " initiate getting the content
                           return ''
@@ -2633,7 +2633,7 @@ balloon_show({msg})                                     *balloon_show()*
                        set balloonexpr=GetBalloonContent()
 
                        func BalloonCallback(result)
-                          call balloon_show(a:result)
+                         call balloon_show(a:result)
                        endfunc
 <
                The intended use is that fetching the content of the balloon
@@ -2641,7 +2641,10 @@ balloon_show({msg})                                     *balloon_show()*
                asynchronous method, in which a callback invokes
                balloon_show().  The 'balloonexpr' itself can return an
                empty string or a placeholder.
-                {only available when compiled with the +beval feature}
+
+               When showing a balloon is not possible nothing happens, no
+               error message.
+               {only available when compiled with the +balloon_eval feature}
 
                                                        *browse()*
 browse({save}, {title}, {initdir}, {default})
@@ -2837,176 +2840,6 @@ ceil({expr})                                                    *ceil()*
 <                      4.0
                {only available when compiled with the |+float| feature}
 
-changenr()                                             *changenr()*
-               Return the number of the most recent change.  This is the same
-               number as what is displayed with |:undolist| and can be used
-               with the |:undo| command.
-               When a change was made it is the number of that change.  After
-               redo it is the number of the redone change.  After undo it is
-               one less than the number of the undone change.
-
-char2nr({expr}[, {utf8}])                                      *char2nr()*
-               Return number value of the first char in {expr}.  Examples: >
-                       char2nr(" ")            returns 32
-                       char2nr("ABC")          returns 65
-<              When {utf8} is omitted or zero, the current 'encoding' is used.
-               Example for "utf-8": >
-                       char2nr("á")            returns 225
-                       char2nr("á"[0])         returns 195
-<              With {utf8} set to 1, always treat as utf-8 characters.
-               A combining character is a separate character.
-               |nr2char()| does the opposite.
-
-cindent({lnum})                                                *cindent()*
-               Get the amount of indent for line {lnum} according the C
-               indenting rules, as with 'cindent'.
-               The indent is counted in spaces, the value of 'tabstop' is
-               relevant.  {lnum} is used just like in |getline()|.
-               When {lnum} is invalid or Vim was not compiled the |+cindent|
-               feature, -1 is returned.
-               See |C-indenting|.
-
-clearmatches()                                         *clearmatches()*
-               Clears all matches previously defined by |matchadd()| and the
-               |:match| commands.
-
-                                                       *col()*
-col({expr})    The result is a Number, which is the byte index of the column
-               position given with {expr}.  The accepted positions are:
-                   .       the cursor position
-                   $       the end of the cursor line (the result is the
-                           number of bytes in the cursor line plus one)
-                   'x      position of mark x (if the mark is not set, 0 is
-                           returned)
-                   v       In Visual mode: the start of the Visual area (the
-                           cursor is the end).  When not in Visual mode
-                           returns the cursor position.  Differs from |'<| in
-                           that it's updated right away.
-               Additionally {expr} can be [lnum, col]: a |List| with the line
-               and column number. Most useful when the column is "$", to get
-               the last column of a specific line.  When "lnum" or "col" is
-               out of range then col() returns zero.
-               To get the line number use |line()|.  To get both use
-               |getpos()|.
-               For the screen column position use |virtcol()|.
-               Note that only marks in the current file can be used.
-               Examples: >
-                       col(".")                column of cursor
-                       col("$")                length of cursor line plus one
-                       col("'t")               column of mark t
-                       col("'" . markname)     column of mark markname
-<              The first column is 1.  0 is returned for an error.
-               For an uppercase mark the column may actually be in another
-               buffer.
-               For the cursor position, when 'virtualedit' is active, the
-               column is one higher if the cursor is after the end of the
-               line.  This can be used to obtain the column in Insert mode: >
-                       :imap <F2> <C-O>:let save_ve = &ve<CR>
-                               \<C-O>:set ve=all<CR>
-                               \<C-O>:echo col(".") . "\n" <Bar>
-                               \let &ve = save_ve<CR>
-<
-
-complete({startcol}, {matches})                        *complete()* *E785*
-               Set the matches for Insert mode completion.
-               Can only be used in Insert mode.  You need to use a mapping
-               with CTRL-R = (see |i_CTRL-R|).  It does not work after CTRL-O
-               or with an expression mapping.
-               {startcol} is the byte offset in the line where the completed
-               text start.  The text up to the cursor is the original text
-               that will be replaced by the matches.  Use col('.') for an
-               empty string.  "col('.') - 1" will replace one character by a
-               match.
-               {matches} must be a |List|.  Each |List| item is one match.
-               See |complete-items| for the kind of items that are possible.
-               Note that the after calling this function you need to avoid
-               inserting anything that would cause completion to stop.
-               The match can be selected with CTRL-N and CTRL-P as usual with
-               Insert mode completion.  The popup menu will appear if
-               specified, see |ins-completion-menu|.
-               Example: >
-       inoremap <F5> <C-R>=ListMonths()<CR>
-
-       func! ListMonths()
-         call complete(col('.'), ['January', 'February', 'March',
-               \ 'April', 'May', 'June', 'July', 'August', 'September',
-               \ 'October', 'November', 'December'])
-         return ''
-       endfunc
-<              This isn't very useful, but it shows how it works.  Note that
-               an empty string is returned to avoid a zero being inserted.
-
-complete_add({expr})                           *complete_add()*
-               Add {expr} to the list of matches.  Only to be used by the
-               function specified with the 'completefunc' option.
-               Returns 0 for failure (empty string or out of memory),
-               1 when the match was added, 2 when the match was already in
-               the list.
-               See |complete-functions| for an explanation of {expr}.  It is
-               the same as one item in the list that 'omnifunc' would return.
-
-complete_check()                               *complete_check()*
-               Check for a key typed while looking for completion matches.
-               This is to be used when looking for matches takes some time.
-               Returns |TRUE| when searching for matches is to be aborted,
-               zero otherwise.
-               Only to be used by the function specified with the
-               'completefunc' option.
-
-                                               *confirm()*
-confirm({msg} [, {choices} [, {default} [, {type}]]])
-               Confirm() offers the user a dialog, from which a choice can be
-               made.  It returns the number of the choice.  For the first
-               choice this is 1.
-               Note: confirm() is only supported when compiled with dialog
-               support, see |+dialog_con| and |+dialog_gui|.
-
-               {msg} is displayed in a |dialog| with {choices} as the
-               alternatives.  When {choices} is missing or empty, "&OK" is
-               used (and translated).
-               {msg} is a String, use '\n' to include a newline.  Only on
-               some systems the string is wrapped when it doesn't fit.
-
-               {choices} is a String, with the individual choices separated
-               by '\n', e.g. >
-                       confirm("Save changes?", "&Yes\n&No\n&Cancel")
-<              The letter after the '&' is the shortcut key for that choice.
-               Thus you can type 'c' to select "Cancel".  The shortcut does
-               not need to be the first letter: >
-                       confirm("file has been modified", "&Save\nSave &All")
-<              For the console, the first letter of each choice is used as
-               the default shortcut key.
-
-               The optional {default} argument is the number of the choice
-               that is made if the user hits <CR>.  Use 1 to make the first
-               choice the default one.  Use 0 to not set a default.  If
-               {default} is omitted, 1 is used.
-
-               The optional {type} argument gives the type of dialog.  This
-               is only used for the icon of the GTK, Mac, Motif and Win32
-               GUI.  It can be one of these values: "Error", "Question",
-               "Info", "Warning" or "Generic".  Only the first character is
-               relevant.  When {type} is omitted, "Generic" is used.
-
-               If the user aborts the dialog by pressing <Esc>, CTRL-C,
-               or another valid interrupt key, confirm() returns 0.
-
-               An example: >
-   :let choice = confirm("What do you want?", "&Apples\n&Oranges\n&Bananas", 2)
-   :if choice == 0
-   :   echo "make up your mind!"
-   :elseif choice == 3
-   :   echo "tasteful"
-   :else
-   :   echo "I prefer bananas myself."
-   :endif
-<              In a GUI dialog, buttons are used.  The layout of the buttons
-               depends on the 'v' flag in 'guioptions'.  If it is included,
-               the buttons are always put vertically.  Otherwise,  confirm()
-               tries to put the buttons in one horizontal line.  If they
-               don't fit, a vertical layout is used anyway.  For some systems
-               the horizontal layout is always used.
-
 ch_canread({handle})                                           *ch_canread()*
                Return non-zero when there is something to read from {handle}.
                {handle} can be a Channel or a Job that has a Channel.
@@ -3196,6 +3029,176 @@ ch_status({handle} [, {options}])                               *ch_status()*
                "err".  For example, to get the error status: >
                        ch_status(job, {"part": "err"})
 <
+changenr()                                             *changenr()*
+               Return the number of the most recent change.  This is the same
+               number as what is displayed with |:undolist| and can be used
+               with the |:undo| command.
+               When a change was made it is the number of that change.  After
+               redo it is the number of the redone change.  After undo it is
+               one less than the number of the undone change.
+
+char2nr({expr}[, {utf8}])                                      *char2nr()*
+               Return number value of the first char in {expr}.  Examples: >
+                       char2nr(" ")            returns 32
+                       char2nr("ABC")          returns 65
+<              When {utf8} is omitted or zero, the current 'encoding' is used.
+               Example for "utf-8": >
+                       char2nr("á")            returns 225
+                       char2nr("á"[0])         returns 195
+<              With {utf8} set to 1, always treat as utf-8 characters.
+               A combining character is a separate character.
+               |nr2char()| does the opposite.
+
+cindent({lnum})                                                *cindent()*
+               Get the amount of indent for line {lnum} according the C
+               indenting rules, as with 'cindent'.
+               The indent is counted in spaces, the value of 'tabstop' is
+               relevant.  {lnum} is used just like in |getline()|.
+               When {lnum} is invalid or Vim was not compiled the |+cindent|
+               feature, -1 is returned.
+               See |C-indenting|.
+
+clearmatches()                                         *clearmatches()*
+               Clears all matches previously defined by |matchadd()| and the
+               |:match| commands.
+
+                                                       *col()*
+col({expr})    The result is a Number, which is the byte index of the column
+               position given with {expr}.  The accepted positions are:
+                   .       the cursor position
+                   $       the end of the cursor line (the result is the
+                           number of bytes in the cursor line plus one)
+                   'x      position of mark x (if the mark is not set, 0 is
+                           returned)
+                   v       In Visual mode: the start of the Visual area (the
+                           cursor is the end).  When not in Visual mode
+                           returns the cursor position.  Differs from |'<| in
+                           that it's updated right away.
+               Additionally {expr} can be [lnum, col]: a |List| with the line
+               and column number. Most useful when the column is "$", to get
+               the last column of a specific line.  When "lnum" or "col" is
+               out of range then col() returns zero.
+               To get the line number use |line()|.  To get both use
+               |getpos()|.
+               For the screen column position use |virtcol()|.
+               Note that only marks in the current file can be used.
+               Examples: >
+                       col(".")                column of cursor
+                       col("$")                length of cursor line plus one
+                       col("'t")               column of mark t
+                       col("'" . markname)     column of mark markname
+<              The first column is 1.  0 is returned for an error.
+               For an uppercase mark the column may actually be in another
+               buffer.
+               For the cursor position, when 'virtualedit' is active, the
+               column is one higher if the cursor is after the end of the
+               line.  This can be used to obtain the column in Insert mode: >
+                       :imap <F2> <C-O>:let save_ve = &ve<CR>
+                               \<C-O>:set ve=all<CR>
+                               \<C-O>:echo col(".") . "\n" <Bar>
+                               \let &ve = save_ve<CR>
+<
+
+complete({startcol}, {matches})                        *complete()* *E785*
+               Set the matches for Insert mode completion.
+               Can only be used in Insert mode.  You need to use a mapping
+               with CTRL-R = (see |i_CTRL-R|).  It does not work after CTRL-O
+               or with an expression mapping.
+               {startcol} is the byte offset in the line where the completed
+               text start.  The text up to the cursor is the original text
+               that will be replaced by the matches.  Use col('.') for an
+               empty string.  "col('.') - 1" will replace one character by a
+               match.
+               {matches} must be a |List|.  Each |List| item is one match.
+               See |complete-items| for the kind of items that are possible.
+               Note that the after calling this function you need to avoid
+               inserting anything that would cause completion to stop.
+               The match can be selected with CTRL-N and CTRL-P as usual with
+               Insert mode completion.  The popup menu will appear if
+               specified, see |ins-completion-menu|.
+               Example: >
+       inoremap <F5> <C-R>=ListMonths()<CR>
+
+       func! ListMonths()
+         call complete(col('.'), ['January', 'February', 'March',
+               \ 'April', 'May', 'June', 'July', 'August', 'September',
+               \ 'October', 'November', 'December'])
+         return ''
+       endfunc
+<              This isn't very useful, but it shows how it works.  Note that
+               an empty string is returned to avoid a zero being inserted.
+
+complete_add({expr})                           *complete_add()*
+               Add {expr} to the list of matches.  Only to be used by the
+               function specified with the 'completefunc' option.
+               Returns 0 for failure (empty string or out of memory),
+               1 when the match was added, 2 when the match was already in
+               the list.
+               See |complete-functions| for an explanation of {expr}.  It is
+               the same as one item in the list that 'omnifunc' would return.
+
+complete_check()                               *complete_check()*
+               Check for a key typed while looking for completion matches.
+               This is to be used when looking for matches takes some time.
+               Returns |TRUE| when searching for matches is to be aborted,
+               zero otherwise.
+               Only to be used by the function specified with the
+               'completefunc' option.
+
+                                               *confirm()*
+confirm({msg} [, {choices} [, {default} [, {type}]]])
+               Confirm() offers the user a dialog, from which a choice can be
+               made.  It returns the number of the choice.  For the first
+               choice this is 1.
+               Note: confirm() is only supported when compiled with dialog
+               support, see |+dialog_con| and |+dialog_gui|.
+
+               {msg} is displayed in a |dialog| with {choices} as the
+               alternatives.  When {choices} is missing or empty, "&OK" is
+               used (and translated).
+               {msg} is a String, use '\n' to include a newline.  Only on
+               some systems the string is wrapped when it doesn't fit.
+
+               {choices} is a String, with the individual choices separated
+               by '\n', e.g. >
+                       confirm("Save changes?", "&Yes\n&No\n&Cancel")
+<              The letter after the '&' is the shortcut key for that choice.
+               Thus you can type 'c' to select "Cancel".  The shortcut does
+               not need to be the first letter: >
+                       confirm("file has been modified", "&Save\nSave &All")
+<              For the console, the first letter of each choice is used as
+               the default shortcut key.
+
+               The optional {default} argument is the number of the choice
+               that is made if the user hits <CR>.  Use 1 to make the first
+               choice the default one.  Use 0 to not set a default.  If
+               {default} is omitted, 1 is used.
+
+               The optional {type} argument gives the type of dialog.  This
+               is only used for the icon of the GTK, Mac, Motif and Win32
+               GUI.  It can be one of these values: "Error", "Question",
+               "Info", "Warning" or "Generic".  Only the first character is
+               relevant.  When {type} is omitted, "Generic" is used.
+
+               If the user aborts the dialog by pressing <Esc>, CTRL-C,
+               or another valid interrupt key, confirm() returns 0.
+
+               An example: >
+   :let choice = confirm("What do you want?", "&Apples\n&Oranges\n&Bananas", 2)
+   :if choice == 0
+   :   echo "make up your mind!"
+   :elseif choice == 3
+   :   echo "tasteful"
+   :else
+   :   echo "I prefer bananas myself."
+   :endif
+<              In a GUI dialog, buttons are used.  The layout of the buttons
+               depends on the 'v' flag in 'guioptions'.  If it is included,
+               the buttons are always put vertically.  Otherwise,  confirm()
+               tries to put the buttons in one horizontal line.  If they
+               don't fit, a vertical layout is used anyway.  For some systems
+               the horizontal layout is always used.
+
                                                        *copy()*
 copy({expr})   Make a copy of {expr}.  For Numbers and Strings this isn't
                different from using {expr} directly.
@@ -3452,7 +3455,7 @@ execute({command} [, {silent}])                                   *execute()*
                        ""              no `:silent` used
                        "silent"        `:silent` used
                        "silent!"       `:silent!` used
-               The default is 'silent'.  Note that with "silent!", unlike
+               The default is "silent".  Note that with "silent!", unlike
                `:redir`, error messages are dropped.  When using an external
                command the screen may be messed up, use `system()` instead.
                                                        *E930*
@@ -4054,10 +4057,10 @@ get({dict}, {key} [, {default}])
 get({func}, {what})
                Get an item with from Funcref {func}.  Possible values for
                {what} are:
-                       'name'  The function name
-                       'func'  The function
-                       'dict'  The dictionary
-                       'args'  The list with arguments
+                       "name"  The function name
+                       "func"  The function
+                       "dict"  The dictionary
+                       "args"  The list with arguments
 
                                                        *getbufinfo()*
 getbufinfo([{expr}])
@@ -7735,7 +7738,7 @@ taglist({expr})                                                   *taglist()*
                may appear, they give the name of the entity the tag is
                contained in.
 
-               The ex-command 'cmd' can be either an ex search pattern, a
+               The ex-command "cmd" can be either an ex search pattern, a
                line number or a line number followed by a byte number.
 
                If there are no matching tags, then an empty list is returned.
index 6a994889eceee77b58103ce5c13d03bf8b686644..c3f413232afafc5bd35d41d047adb724e1b988cb 100644 (file)
@@ -64,7 +64,7 @@ whichever is lower.  These are empty or white lines and lines starting
 with a character in 'foldignore'.  White space is skipped before checking for
 characters in 'foldignore'.  For C use "#" to ignore preprocessor lines.
 
-When you want to ignore lines in another way, use the 'expr' method.  The
+When you want to ignore lines in another way, use the "expr" method.  The
 |indent()| function can be used in 'foldexpr' to get the indent of a line.
 
 
@@ -139,7 +139,7 @@ fold level.  But note that foldlevel() may return -1 if the level is not known
 yet.  And it returns the level at the start of the line, while a fold might
 end in that line.
 
-It may happened that folds are not updated properly.  You can use |zx| or |zX|
+It may happen that folds are not updated properly.  You can use |zx| or |zX|
 to force updating folds.
 
 
index 40901a6e88068a8c6368d99f479fe05ccf033692..009250116f3b34c4a65214eb7612f19362bc3763 100644 (file)
@@ -81,8 +81,8 @@ And there should be no ':set guifont'.  If it exists, then Gvim ignores
 ':set guifontset'.  It means VIM runs without fontset supporting.
 So, you can see only English.  Hangul does not be correctly displayed.
 
-After 'fontset' feature is enabled, VIM does not allow using english
-font only in 'font' setting for syntax.
+After "fontset" feature is enabled, VIM does not allow using english
+font only in "font" setting for syntax.
 For example, if you use >
    :set guifontset=eng_font,your_font
 in your .gvimrc, then you should do for syntax >
index 32051d49639be3392517e34b97524c98c2a58cdd..20f1ed861d4a99fb1f269043f0a3b3e91b9dde29 100644 (file)
@@ -314,7 +314,7 @@ the applicable Vim version.  The last field specifies the last modification
 date of the file.  Each field is separated by a tab.
 
 At the bottom of the help file, place a Vim modeline to set the 'textwidth'
-and 'tabstop' options and the 'filetype' to 'help'.  Never set a global option
+and 'tabstop' options and the 'filetype' to "help".  Never set a global option
 in such a modeline, that can have consequences undesired by whoever reads that
 help.
 
index 4f9ecbdbedb582acf2c8bda7c1d8957a5837057f..0be8a3196d6241aeee50e6c11c0d63026a76c011 100644 (file)
@@ -1,4 +1,4 @@
-*if_pyth.txt*   For Vim version 8.0.  Last change: 2017 Feb 17
+*if_pyth.txt*   For Vim version 8.0.  Last change: 2017 Feb 18
 
 
                  VIM REFERENCE MANUAL    by Paul Moore
@@ -174,8 +174,8 @@ vim.eval(str)                                               *python-eval*
 
            :py tagList = vim.eval('taglist("eval_expr")')
 <      The latter will return a python list of python dicts, for instance:
-       [{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name':
-       'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}]
+       [{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': ~
+       'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}] ~
 
 vim.bindeval(str)                                      *python-bindeval*
        Like |python-eval|, but returns special objects described in 
@@ -819,7 +819,7 @@ the other one from being available.
 11. Python X                                           *python_x* *pythonx*
 
 Because most python code can be written so that it works with python 2.6+ and
-python 3 the pyx* functions and commands have been writen.  They work exactly
+python 3 the pyx* functions and commands have been written.  They work exactly
 the same as the Python 2 and 3 variants, but select the Python version using
 the 'pyxversion' setting.
 
@@ -867,7 +867,7 @@ When compiled with both |+python| and |+python3|, the test depends on the
 it is not available then Python 2.  If 'pyxversion' is 2 or 3, it tests only
 Python 2 or 3 respectively.
 
-Note that for has('pythonx') to work it may try to dynamically load Python 3
+Note that for `has('pythonx')` to work it may try to dynamically load Python 3
 or 2.  This may have side effects, especially when Vim can only load one of
 the two.
 
index b00dd45253fee49ae6e5af294f23bfcaaeb335a1..f79ecc164893fa9bff10576bb6a59ba9aab8d7d0 100644 (file)
@@ -72,7 +72,7 @@ To see what version of Ruby you have: >
 
                                                        *:rubyfile* *:rubyf*
 :rubyf[ile] {file}     Execute the Ruby script in {file}.  This is the same as
-                       ":ruby load 'file'", but allows file name completion.
+                       `:ruby load 'file'`, but allows file name completion.
 
 Executing Ruby commands is not possible in the |sandbox|.
 
index 81b2eb63b6dc81ab02cd73a367ea098bec9ba01f..f573f38fe08aa92ce0839ba8e84361205f463cc9 100644 (file)
@@ -1,4 +1,4 @@
-*index.txt*     For Vim version 8.0.  Last change: 2016 Sep 27
+*index.txt*     For Vim version 8.0.  Last change: 2017 Feb 23
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1004,10 +1004,12 @@ tag             command       action in Command-line editing mode       ~
 |c_<CR>|       <CR>            execute entered command
 |c_CTRL-M|     CTRL-M          same as <CR>
 |c_CTRL-N|     CTRL-N          after using 'wildchar' with multiple matches:
-                               go to next match, otherwise: same as <Down>
+                               go to next match, otherwise: recall older
+                               command-line from history.
                CTRL-O          not used
 |c_CTRL-P|     CTRL-P          after using 'wildchar' with multiple matches:
-                               go to previous match, otherwise: same as <Up>
+                               go to previous match, otherwise: recall older
+                               command-line from history.
 |c_CTRL-Q|     CTRL-Q          same as CTRL-V, unless it's used for terminal
                                control flow
 |c_CTRL-R|     CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
index d2959df4f2360e51d8bb943b5b9ab8f66621140f..7ada7b0b89a1ed281edffc9ac5ccd71302909514 100644 (file)
@@ -1103,7 +1103,7 @@ items:
        empty           when non-zero this match will be added even when it is
                        an empty string
 
-All of these except 'icase', 'dup' and 'empty' must be a string.  If an item
+All of these except "icase", "dup" and "empty" must be a string.  If an item
 does not meet these requirements then an error message is given and further
 items in the list are not used.  You can mix string and Dictionary items in
 the returned list.
index aa9a94c3a3dce7f95f6929473262f5632c97902d..2d279124fdd701e1ee8adbf7608a8079ec69934d 100644 (file)
@@ -1,4 +1,4 @@
-*mlang.txt*     For Vim version 8.0.  Last change: 2016 Jan 16
+*mlang.txt*     For Vim version 8.0.  Last change: 2017 Mar 04
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -179,6 +179,7 @@ Send an e-mail to the Vim maintainer <maintainer@vim.org>.
                        special characters like "&" and "<Tab>" need to be
                        included.  Spaces and dots need to be escaped with a
                        backslash, just like in other |:menu| commands.
+                       Case in {english} is ignored.
 
 See the $VIMRUNTIME/lang directory for examples.
 
index 215215fd0a3c658a46d77432c0d6e12831e02dee..91c864d02f64a65bfe04a52147642ff7eb7e296f 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 8.0.  Last change: 2017 Feb 09
+*options.txt*  For Vim version 8.0.  Last change: 2017 Mar 05
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1120,6 +1120,9 @@ A jump table for the options with a short description can be found at |Q_op|.
     set bexpr=MyBalloonExpr()
     set ballooneval
 <
+       Also see |balloon_show()|, can be used if the content of the balloon
+       is to be fetched asynchronously.
+
        NOTE: The balloon is displayed only if the cursor is on a text
        character.  If the result of evaluating 'balloonexpr' is not empty,
        Vim does not try to send a message to an external debugger (Netbeans
@@ -1702,12 +1705,14 @@ A jump table for the options with a short description can be found at |Q_op|.
                        {not in Vi}
        This option has the effect of making Vim either more Vi-compatible, or
        make Vim behave in a more useful way.
+
        This is a special kind of option, because when it's set or reset,
-       other options are also changed as a side effect.  CAREFUL: Setting or
-       resetting this option can have a lot of unexpected effects: Mappings
-       are interpreted in another way, undo behaves differently, etc.  If you
-       set this option in your vimrc file, you should probably put it at the
-       very start.
+       other options are also changed as a side effect.
+       NOTE: Setting or resetting this option can have a lot of unexpected
+       effects: Mappings are interpreted in another way, undo behaves
+       differently, etc.  If you set this option in your vimrc file, you
+       should probably put it at the very start.
+
        By default this option is on and the Vi defaults are used for the
        options.  This default was chosen for those people who want to use Vim
        just like Vi, and don't even (want to) know about the 'compatible'
@@ -1722,70 +1727,98 @@ A jump table for the options with a short description can be found at |Q_op|.
        |posix-compliance|.
        You can also set this option with the "-C" argument, and reset it with
        "-N".  See |-C| and |-N|.
-       Switching this option off makes the Vim defaults be used for options
-       that have a different Vi and Vim default value.  See the options
-       marked with a '+' below.  Other options are not modified.
-       At the moment this option is set, several other options will be set
-       or reset to make Vim as Vi-compatible as possible.  See the table
-       below.  This can be used if you want to revert to Vi compatible
-       editing.
-       See also 'cpoptions'.
-
-       option          + set value     effect  ~
-
-       'allowrevins'     off           no CTRL-_ command
-       'backspace'       ""            normal backspace
-       'backupcopy'      Unix: "yes"   backup file is a copy
-                         else: "auto"  copy or rename backup file
-       'backup'          off           no backup file
-       'cedit'         + ""            no key to open the |cmdwin|
-       'cindent'         off           no C code indentation
-       'cpoptions'     + (all flags)   Vi-compatible flags
-       'cscopetag'       off           don't use cscope for ":tag"
+       See 'cpoptions' for more fine tuning of Vi compatibility.
+
+       When this option is set, numerous other options are set to make Vim as
+       Vi-compatible as possible.  When this option is unset, various options
+       are set to make Vim more useful.  The table below lists all the
+       options affected.
+       The {?} column indicates when the options are affected:
+       +  Means that the option is set to the value given in {set value} when
+          'compatible' is set.
+       &  Means that the option is set to the value given in {set value} when
+          'compatible' is set AND is set to its Vim default value when
+          'compatible' is unset.
+       -  Means the option is NOT changed when setting 'compatible' but IS
+          set to its Vim default when 'compatible' is unset.
+       The {effect} column summarises the change when 'compatible' is set.
+
+       option          ? set value     effect
+
+       'allowrevins'   + off           no CTRL-_ command
+       'antialias'     + off           don't use antialiased fonts
+       'arabic'        + off           reset arabic-related options
+       'arabicshape'   + on            correct character shapes
+       'backspace'     + ""            normal backspace
+       'backup'        + off           no backup file
+       'backupcopy'    & Unix: "yes"   backup file is a copy
+                         else: "auto"  copy or rename backup file
+       'balloonexpr'   + ""            text to show in evaluation balloon
+       'breakindent'   + off           don't indent when wrapping lines
+       'cedit'         - {unchanged}   {set vim default only on resetting 'cp'}
+       'cindent'       + off           no C code indentation
+       'compatible'    - {unchanged}   {set vim default only on resetting 'cp'}
+       'copyindent'    + off           don't copy indent structure
+       'cpoptions'     & (all flags)   Vi-compatible flags
+       'cscopepathcomp'+ 0             don't show directories in tags list
+       'cscoperelative'+ off           
+       'cscopetag'     + off           don't use cscope for ":tag"
        'cscopetagorder'  0             see |cscopetagorder|
-       'cscopeverbose'   off           see |cscopeverbose|
-       'digraph'         off           no digraphs
-       'esckeys'       + off           no <Esc>-keys in Insert mode
-       'expandtab'       off           tabs not expanded to spaces
-       'fileformats'   + ""            no automatic file format detection,
+       'cscopeverbose' + off           see |cscopeverbose|
+       'delcombine'    + off           unicode: delete whole char combination
+       'digraph'       + off           no digraphs
+       'esckeys'       & off           no <Esc>-keys in Insert mode
+       'expandtab'     + off           tabs not expanded to spaces
+       'fileformats'   & ""            no automatic file format detection,
                          "dos,unix"    except for DOS, Windows and OS/2
-       'formatoptions' + "vt"          Vi compatible formatting
-       'gdefault'        off           no default 'g' flag for ":s"
-       'history'       + 0             no commandline history
-       'hkmap'           off           no Hebrew keyboard mapping
-       'hkmapp'          off           no phonetic Hebrew keyboard mapping
-       'hlsearch'        off           no highlighting of search matches
-       'incsearch'       off           no incremental searching
-       'indentexpr'      ""            no indenting by expression
-       'insertmode'      off           do not start in Insert mode
-       'iskeyword'     + "@,48-57,_"   keywords contain alphanumeric
+       'formatexpr'    + ""            use 'formatprg' for auto-formatting
+       'formatoptions' & "vt"          Vi compatible formatting
+       'gdefault'      + off           no default 'g' flag for ":s"
+       'history'       & 0             no commandline history
+       'hkmap'         + off           no Hebrew keyboard mapping
+       'hkmapp'        + off           no phonetic Hebrew keyboard mapping
+       'hlsearch'      + off           no highlighting of search matches
+       'incsearch'     + off           no incremental searching
+       'indentexpr'    + ""            no indenting by expression
+       'insertmode'    + off           do not start in Insert mode
+       'iskeyword'     & "@,48-57,_"   keywords contain alphanumeric
                                                characters and '_'
-       'joinspaces'      on            insert 2 spaces after period
-       'modeline'      + off           no modelines
-       'more'          + off           no pauses in listings
-       'revins'          off           no reverse insert
-       'ruler'           off           no ruler
-       'scrolljump'      1             no jump scroll
-       'scrolloff'       0             no scroll offset
-       'shiftround'      off           indent not rounded to shiftwidth
-       'shortmess'     + ""            no shortening of messages
-       'showcmd'       + off           command characters not shown
-       'showmode'      + off           current mode not shown
-       'smartcase'       off           no automatic ignore case switch
-       'smartindent'     off           no smart indentation
-       'smarttab'        off           no smart tab size
-       'softtabstop'     0             tabs are always 'tabstop' positions
-       'startofline'     on            goto startofline with some commands
-       'tagrelative'   + off           tag file names are not relative
-       'textauto'      + off           no automatic textmode detection
-       'textwidth'       0             no automatic line wrap
-       'tildeop'         off           tilde is not an operator
-       'ttimeout'        off           no terminal timeout
-       'viminfo'       + {unchanged}   no viminfo file 
-       'whichwrap'     + ""            left-right movements don't wrap
-       'wildchar'      + CTRL-E        only when the current value is <Tab>
+       'joinspaces'    + on            insert 2 spaces after period
+       'modeline'      & off           no modelines
+       'more'          & off           no pauses in listings
+       'mzquantum'     - {unchanged}   {set vim default only on resetting 'cp'}
+       'numberwidth'   & 8             min number of columns for line number
+       'preserveindent'+ off           don't preserve current indent structure
+                                               when changing it
+       'revins'        + off           no reverse insert
+       'ruler'         + off           no ruler
+       'scrolljump'    + 1             no jump scroll
+       'scrolloff'     + 0             no scroll offset
+       'shelltemp'     - {unchanged}   {set vim default only on resetting 'cp'}
+       'shiftround'    + off           indent not rounded to shiftwidth
+       'shortmess'     & ""            no shortening of messages
+       'showcmd'       & off           command characters not shown
+       'showmode'      & off           current mode not shown
+       'sidescrolloff' + 0             cursor moves to edge of screen in scroll
+       'smartcase'     + off           no automatic ignore case switch
+       'smartindent'   + off           no smart indentation
+       'smarttab'      + off           no smart tab size
+       'softtabstop'   + 0             tabs are always 'tabstop' positions
+       'startofline'   + on            goto startofline with some commands
+       'tagcase'       & "followic"    'ignorecase' when searching tags file
+       'tagrelative'   & off           tag file names are not relative
+       'termguicolors' + off           don't use highlight-(guifg|guibg)
+       'textauto'      & off           no automatic textmode detection
+       'textwidth'     + 0             no automatic line wrap
+       'tildeop'       + off           tilde is not an operator
+       'ttimeout'      + off           no terminal timeout
+       'undofile'      + off           don't use an undo file
+       'viminfo'       - {unchanged}   {set vim default only on resetting 'cp'}
+       'virtualedit'   + ""            cursor can only be placed on characters
+       'whichwrap'     & ""            left-right movements don't wrap
+       'wildchar'      & CTRL-E        only when the current value is <Tab>
                                        use CTRL-E for cmdline completion
-       'writebackup'     on or off     depends on the |+writebackup| feature
+       'writebackup'   + on or off     depends on the |+writebackup| feature
 
                                                *'complete'* *'cpt'* *E535*
 'complete' 'cpt'       string  (default: ".,w,b,u,t,i")
@@ -2883,6 +2916,8 @@ A jump table for the options with a short description can be found at |Q_op|.
        done when writing the file.  For reading see below.
        When 'fileencoding' is empty, the same value as 'encoding' will be
        used (no conversion when reading or writing a file).
+       No error will be given when the value is set, only when it is used,
+       only when writing a file.
        Conversion will also be done when 'encoding' and 'fileencoding' are
        both a Unicode encoding and 'fileencoding' is not utf-8.  That's
        because internally Unicode is always stored as utf-8.
@@ -7045,7 +7080,7 @@ A jump table for the options with a short description can be found at |Q_op|.
                        word.  The expression must evaluate to a List of
                        Lists, each with a suggestion and a score.
                        Example:
-                               [['the', 33], ['that', 44]]
+                               [['the', 33], ['that', 44]] ~
                        Set 'verbose' and use |z=| to see the scores that the
                        internal methods use.  A lower score is better.
                        This may invoke |spellsuggest()| if you temporarily
index 7c834b3cb9ea35987eaefbe3005fb2b8a9eacb5f..027f47bf51762dfb6f15b6d38788f8ca98f624cd 100644 (file)
@@ -1,4 +1,4 @@
-*pattern.txt*   For Vim version 8.0.  Last change: 2016 Sep 11
+*pattern.txt*   For Vim version 8.0.  Last change: 2017 Mar 05
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -869,10 +869,13 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
 \%V    Match inside the Visual area.  When Visual mode has already been
        stopped match in the area that |gv| would reselect.
        This is a |/zero-width| match.  To make sure the whole pattern is
-       inside the Visual area put it at the start and end of the pattern,
-       e.g.: >
-               /\%Vfoo.*bar\%V
-<      Only works for the current buffer.
+       inside the Visual area put it at the start and just before the end of
+       the pattern, e.g.: >
+               /\%Vfoo.*ba\%Vr
+<      This works if "foo bar" (or more) was Visually selected. This: >
+               /\%Vfoo.*ba\%Vr
+<      would match "foo bar" if the Visual selection continues after the "r".
+       Only works for the current buffer.
 
                                                */\%#* *cursor-position*
 \%#    Matches with the cursor position.  Only works when matching in a
index 39a0b8691f880c5f5d09a588a7a513611f6cfeab..2ad1d2a8caa9bf5e294263dec59511edc0533851 100644 (file)
@@ -1399,7 +1399,7 @@ prints information about entering a directory in the form "Making all in dir".
    Making all in dir2            ./dir1/dir2
 
    This can be solved by printing absolute directories in the "enter directory"
-   message or by printing "leave directory" messages..
+   message or by printing "leave directory" messages.
 
 To avoid this problem, ensure to print absolute directory names and "leave
 directory" messages.
index 943531e3b470143421ed90a83d6944cd182eca09..35301f618c9354b6b5bf007f0e4f273ebcc40e48 100644 (file)
@@ -221,7 +221,7 @@ past its buffer's limits.
 However, if a 'scrollbind' window that has a relative offset that is past its
 buffer's limits is given the cursor focus, the other 'scrollbind' windows must
 jump to a location where the current window's relative offset is valid.  This
-behavior can be changed by clearing the 'jump' flag from the 'scrollopt'
+behavior can be changed by clearing the "jump" flag from the 'scrollopt'
 option.
 
                                                *syncbind* *:syncbind* *:sync*
index 9ef8d61e37a70822cc2d41e9a386817d04db2e2e..4a47c33757ac1e4deb07e1291ce211d2cb35f9d9 100644 (file)
@@ -2646,9 +2646,9 @@ later, and part earlier) adds.
 
 RESTRUCTURED TEXT                      *rst.vim* *ft-rst-syntax*
 
-You may set what syntax definitions should be used for code blocks via
+You may set what syntax definitions should be used for code blocks via >
        let rst_syntax_code_list = ['vim', 'lisp', ...]
-
+<
 
 REXX                                           *rexx.vim* *ft-rexx-syntax*
 
index 025b29858861f17d62df0c06d0f56ee517d05377..5dc3ac69fc91b84266a9e04464456a965c6796a5 100644 (file)
@@ -965,6 +965,8 @@ $VIM_POSIX  vi_diff.txt     /*$VIM_POSIX*
 't_KJ' term.txt        /*'t_KJ'*
 't_KK' term.txt        /*'t_KK'*
 't_KL' term.txt        /*'t_KL'*
+'t_PE' term.txt        /*'t_PE'*
+'t_PS' term.txt        /*'t_PS'*
 't_RB' term.txt        /*'t_RB'*
 't_RI' term.txt        /*'t_RI'*
 't_RV' term.txt        /*'t_RV'*
@@ -4500,6 +4502,7 @@ E937      autocmd.txt     /*E937*
 E938   eval.txt        /*E938*
 E939   change.txt      /*E939*
 E94    windows.txt     /*E94*
+E940   eval.txt        /*E940*
 E95    message.txt     /*E95*
 E96    diff.txt        /*E96*
 E97    diff.txt        /*E97*
@@ -5071,6 +5074,7 @@ backup-changed    version4.txt    /*backup-changed*
 backup-extension       version4.txt    /*backup-extension*
 backup-table   editing.txt     /*backup-table*
 balloon-eval   debugger.txt    /*balloon-eval*
+balloon_show() eval.txt        /*balloon_show()*
 bar    motion.txt      /*bar*
 bars   help.txt        /*bars*
 base_font_name_list    mbyte.txt       /*base_font_name_list*
@@ -8732,7 +8736,9 @@ termcap-options   term.txt        /*termcap-options*
 termcap-title  term.txt        /*termcap-title*
 terminal-colors        os_unix.txt     /*terminal-colors*
 terminal-info  term.txt        /*terminal-info*
+terminal-key-codes     term.txt        /*terminal-key-codes*
 terminal-options       term.txt        /*terminal-options*
+terminal-output-codes  term.txt        /*terminal-output-codes*
 terminfo       term.txt        /*terminfo*
 termresponse-variable  eval.txt        /*termresponse-variable*
 test-functions usr_41.txt      /*test-functions*
@@ -8740,6 +8746,7 @@ test_alloc_fail() eval.txt        /*test_alloc_fail()*
 test_autochdir()       eval.txt        /*test_autochdir()*
 test_disable_char_avail()      eval.txt        /*test_disable_char_avail()*
 test_garbagecollect_now()      eval.txt        /*test_garbagecollect_now()*
+test_ignore_error()    eval.txt        /*test_ignore_error()*
 test_null_channel()    eval.txt        /*test_null_channel()*
 test_null_dict()       eval.txt        /*test_null_dict()*
 test_null_job()        eval.txt        /*test_null_job()*
index 0bfe4eb0bf04acac9afdfb9c2674ce0d71a4663c..e01f15f2ffc309bc11280d14f5888f481db30792 100644 (file)
@@ -252,7 +252,7 @@ But any non-empty string means that the flag is set.  An empty string means
 that the flag is not set.  't_CS' works like this too, but it isn't a termcap
 flag.
 
-OUTPUT CODES
+OUTPUT CODES                                           *terminal-output-codes*
        option  meaning ~
 
        t_AB    set background color (ANSI)                     *t_AB* *'t_AB'*
@@ -333,7 +333,7 @@ Added by Vim (there are no standard codes for these):
        t_BD    disable bracketed paste mode                    *t_BD* *'t_BD'*
                |xterm-bracketed-paste|
 
-KEY CODES
+KEY CODES                                              *terminal-key-codes*
 Note: Use the <> form if possible
 
        option  name            meaning ~
@@ -424,8 +424,9 @@ Note: Use the <> form if possible
        t_KK    <k8>            keypad 8                 *<k8>* *t_KK* *'t_KK'*
        t_KL    <k9>            keypad 9                 *<k9>* *t_KL* *'t_KL'*
                <Mouse>         leader of mouse code            *<Mouse>*
-       t_PS    start of bracketed paste |xterm-bracketed-paste|  *t_PS* 't_PS'
-       t_PE    end of bracketed paste |xterm-bracketed-paste|    *t_PE* 't_PE'
+                                                               *t_PS* *'t_PS'*
+       t_PS    start of bracketed paste |xterm-bracketed-paste|
+       t_PE    end of bracketed paste |xterm-bracketed-paste|  *t_PE* *'t_PE'*
 
 Note about t_so and t_mr: When the termcap entry "so" is not present the
 entry for "mr" is used.  And vice versa.  The same is done for "se" and "me".
index 5d12904b0dda7b358c3004c3667fedbb8b9141dc..95a5ddecdb7a7c84947d9b5489b01171a8c446be 100644 (file)
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 8.0.  Last change: 2017 Feb 17
+*todo.txt*      For Vim version 8.0.  Last change: 2017 Mar 05
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -35,17 +35,6 @@ entered there will not be repeated below, unless there is extra information.
                                                        *known-bugs*
 -------------------- Known bugs and current work -----------------------
 
-Patch 195 introduced a regression in tag priority. (Charles Campbell, 2017 Feb
-10)
-
-Memory leak in test97?
-
-exists('&t_k1') returns false even when t_k1 was set.
-Use in test_assign.vim to only get value of &t_k1 if it exists. #1459
-
-test_gui fails with Athena:
-   Caught exception in Test_1_set_secure(): Vim(gui):E285: Failed to create input context @ function RunTheTest[21]..Test_1_set_secure, line 2
-
 +channel:
 - Try out background make plugin: 
   https://github.com/AndrewVos/vim-make-background
@@ -116,6 +105,11 @@ Regexp problems:
 - Difference between two engines: ".*\zs\/\@>\/" on text "///"
   (Chris Paul, 2016 Nov 13)  New engine not greedy enough?
 
+Running test_gui and test_gui_init with Motif sometimes kills the window
+manager.  Problem with Motif?
+
+Memory leak in test97?  The string is actually freed.  Weird.
+
 Add a toolbar in the terminal.  Can be global, above all windows, or specific
 for one window.
 Use tb_set(winid, [{'text': 'stop', 'cb': callback, 'hi': 'Green'}])
@@ -127,64 +121,31 @@ What if there is an invalid character?
 
 Json string with trailing \u should be an error. (Lcd)
 
-Patch for double free setting 'ttytype' (Dominique, 2017 Feb 10, #1461)
-
-Patch for using uninitialized memory (Dominique, 2017 Feb 11, #1464)
-
-Patch for crash setting 'guicursor'. (Dominique, 2017 Feb 11, #1465)
-
 Multi-byte bug: dv} splits char. (Urtica Dioica, 2017 Jan 9)
 
-Patch to add test for 'number' and 'relativenumber'. (Ozaki Kiichi, #1447)
-Now merged in test89 (Feb 12)
-
-Patch to fix tabline redraw. (Christian Brabandt, 2017 Feb 10)
-Better way to fix this?
-
 When session file has name in argument list but the buffer was deleted, the
 buffer is not deleted when using the session file. (#1393)
 Should add the buffer in hidden state.
 
-Patch to change VimL to "Vim script". (Hirohito Higashi, 2017 Feb 14)
-
-Invalid memory access with :normal command. (Dominique Pelle, 2017 Feb 14)
-
 When "gf" excludes following ":99", jump to line 99.
 Also when editing a file foo.txt:99 ?
 
 When an item in the quickfix list has a file name that does not exist, behave
 like the item was not a match for :cnext.
 
-Patch for warning about integer overflow in undo.c (King, 2017 Feb 12)
-And another similar one.
-
-Patch for null pointer use in undo.c (King, 2017 Feb 12)
-
-Patch to avoid using CTRL-O when do_cmdline_cmd is called. (James McCoy, 2017
-Feb 7, #1453)
-
-Patch for multi-byte line wrap. (Ozaki Kiichi, 2017 Feb 7, #1456)
-
-Patch to show balloon with a function. (Jusufadis Bakamovic, #1449)
-
 Wrong diff highlighting with three files. (2016 Oct 20, #1186)
 Also get E749 on exit.
 Another example in #1309
 
+Patch to change all use of &sw to shiftwidth(). (Tyru, 2017 Feb 19)
+Wait until maintainers integrate it.
+
 Completion for user-defined commands does not work if a few characters were
 already typed. (Dominique, 2017 Jan 26)
 
-Patch for nsis script to add a dll file. (Christian Brabandt, 2017 Feb 10)
-Also include the .dll file?
-
-Patch for capitalizations in menus. (Zhen-Huan Hu, 2017 Feb 9)
-
 When deleting a mark or register, leave a tombstone, so that it's also deleted
 when writing viminfo (and the delete was the most recent action). #1339
 
-Patch for better explanation of 'compatible' side effects.
-https://github.com/vim/vim/pull/1161/files
-
 Patch to add 'makeencoding', useful when the system encoding differs from
 Vim's 'encoding' setting. (Ken Takata, 2017 Jan 31)
 
@@ -200,6 +161,12 @@ Patch to fix that test87 fails on Arch Linux. (Jesin, 2017 Feb 10)
 
 Completion for :!cmd shows each match twice. #1435
 
+GTK: When adding a timer from 'balloonexpr' it won't fire, because
+g_main_context_iteration() doesn't return.  Need to trigger an event when the
+timer expires.
+
+Screen update bug related to matchparen.  (Chris Heath, 2017 Mar 4, #1532)
+
 Rule to use "^" for statusline does not work if a space is defined with
 highlighting for both stl and stlnc.  Patch by Ken Hamada (itchyny, 2016 Dec 11)
 
@@ -255,9 +222,15 @@ MS-Windows.  Perhaps in \#  the \ is seen as a path separator. (Axel Bender,
 2017 Feb 9)  Can we expand wildcards first and send the path literally to the
 receiving Vim?  Or make an exception for #, it's not useful remotely.
 
+":sbr" docs state it respect 'switchbuf', but "vsplit" does not cause a
+vertical split. (Haldean Brown, 2017 Mar 1)
+
 Use ADDR_OTHER instead of ADDR_LINES for many more commands.
 Add tests for using number larger than number of lines in buffer.
 
+Might be useful to have isreadonly(), like we have islocked().
+Avoids exceptions, e.g. when using the b: namespace as a dict.
+
 Patch to make v:shell_error writable. (Christian Brabandt, 2016 Sep 27)
 Useful to restore it.  Is there another solution?
 
@@ -273,6 +246,9 @@ Does this also fix #1408 ?
 
 Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
 
+Window resizing with 'winfixheight': With a vertical split the height changes
+anyway. (Tommy allen, 2017 Feb 21, #1502)
+
 When adding an item to a new quickfix list make ":cnext" jump to that item.
 Make a difference being at the first item and not having used :cnext at all.
 (Afanasiy Fet, 2017 Jan 3)
@@ -461,6 +437,9 @@ Add stronger encryption.  Could use libsodium (NaCl).
 https://github.com/jedisct1/libsodium/
 Possibly include the needed code so that it can be build everywhere.
 
+Add a way to restart a timer.  It's similar to timer_stop() and timer_start(),
+but the reference remains valid.
+
 Patch to add setbufline(). (email from Yasuhiro Matsumoto, patch by Ozaki
 Kiichi, 2016 Feb 28)
 Update Mar 8: https://gist.github.com/mattn/23c1f50999084992ca98
index 3c689436f3bacd1f517581ecbb8be8f49f68d782..566a1976da9db5c5394e72e7f043300497d67686 100644 (file)
@@ -663,7 +663,7 @@ Summary:                                    *help-summary*  >
 22) Autocommand events can be found by their name: >
        :help BufWinLeave
 <    To see all possible events: >
-       :help autocommands-events
+       :help autocommand-events
 
 23) Command-line switches always start with "-".  So for the help of the -f
     command switch of Vim use: >
index d45ab139a80248a3f9afc8f97e5b220a71fee405..32a8f6d87808168508ea09bda1dee6ee1f5494c5 100644 (file)
@@ -1,4 +1,4 @@
-*usr_41.txt*   For Vim version 8.0.  Last change: 2016 Nov 29
+*usr_41.txt*   For Vim version 8.0.  Last change: 2017 Mar 01
 
                     VIM USER MANUAL - by Bram Moolenaar
 
@@ -95,7 +95,7 @@ Then there is the ":let i += 1" command.  This does the same thing as
 to the same variable.
 
 The example was given to explain the commands, but would you really want to
-make such a loop it can be written much more compact: >
+make such a loop, it can be written much more compact: >
 
        :for i in range(1, 4)
        :  echo "count is" i
@@ -693,6 +693,7 @@ Other computation:                                  *bitwise-function*
 Variables:                                             *var-functions*
        type()                  type of a variable
        islocked()              check if a variable is locked
+       funcref()               get a Funcref for a function reference
        function()              get a Funcref for a function name
        getbufvar()             get a variable value from a specific buffer
        setbufvar()             set a variable in a specific buffer
@@ -884,6 +885,7 @@ GUI:                                                *gui-functions*
        getfontname()           get name of current font being used
        getwinposx()            X position of the GUI Vim window
        getwinposy()            Y position of the GUI Vim window
+       balloon_show()          set the balloon content
 
 Vim server:                                    *server-functions*
        serverlist()            return the list of server names
@@ -922,12 +924,14 @@ Testing:                              *test-functions*
        test_autochdir()        enable 'autochdir' during startup
        test_disable_char_avail()       test without typeahead
        test_garbagecollect_now()       free memory right now
+       test_ignore_error()     ignore a specific error message
        test_null_channel()     return a null Channel
        test_null_dict()        return a null Dict
        test_null_job()         return a null Job
        test_null_list()        return a null List
        test_null_partial()     return a null Partial function
        test_null_string()      return a null String
+       test_settime()          set the time Vim uses internally
 
 Inter-process communication:               *channel-functions*
        ch_canread()            check if there is something to read
@@ -1588,7 +1592,7 @@ WHITE SPACE
 Blank lines are allowed and ignored.
 
 Leading whitespace characters (blanks and TABs) are always ignored.  The
-whitespaces between parameters (e.g. between the 'set' and the 'cpoptions' in
+whitespaces between parameters (e.g. between the "set" and the "cpoptions" in
 the example below) are reduced to one blank character and plays the role of a
 separator, the whitespaces after the last (visible) character may or may not
 be ignored depending on the situation, see below.
index 2bcb1ca1fb6ac3b28b61efa29497103491565b43..b3aa4b54fcdbcf5ac25e73cf63d7059021b5f0af 100644 (file)
@@ -1,4 +1,4 @@
-*various.txt*   For Vim version 8.0.  Last change: 2016 Sep 06
+*various.txt*   For Vim version 8.0.  Last change: 2017 Feb 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -527,12 +527,14 @@ N  *+X11*         Unix only: can restore window title |X11|
 :redi[r] END           End redirecting messages.  {not in Vi}
 
                                                        *:filt* *:filter*
-:filt[er] {pat} {command}
-:filt[er] /{pat}/ {command}
-                       Restrict the output of {command} to matches with {pat}.
-                       For example, to list only xml files: >
+:filt[er][!] {pat} {command}
+:filt[er][!] /{pat}/ {command}
+                       Restrict the output of {command} to lines matching
+                       with {pat}.  For example, to list only xml files: >
                                :filter /\.xml$/ oldfiles
-<
+<                      If the [!] is given, restrict the output of {command}
+                       to lines that do NOT match {pat}.
+
                        {pat} is a Vim search pattern.  Instead of enclosing
                        it in / any non-ID character (see |'isident'|) can be
                        used, so long as it does not appear in {pat}.  Without
@@ -634,7 +636,7 @@ K                   Run a program to lookup the keyword under the
                        with the command >
                                :!{program} {keyword}
 <                      There is an example of a program to use in the tools
-                       directory of Vim.  It is called 'ref' and does a
+                       directory of Vim.  It is called "ref" and does a
                        simple spelling check.
                        Special cases:
                        - If 'keywordprg' begins with ":" it is invoked as
index 4b0275597cd4c9fa4b5fbe552df251e93a600ce8..5afe38526d7190d20cbf30412ca83f9070ab4725 100644 (file)
@@ -1,4 +1,4 @@
-*version8.txt*  For Vim version 8.0.  Last change: 2017 Jan 15
+*version8.txt*  For Vim version 8.0.  Last change: 2017 Feb 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -200,9 +200,9 @@ Options: ~
 'perldll'              name of the Perl dynamic library
 'pythondll'            name of the Python 2 dynamic library
 'pythonthreedll'       name of the Python 3 dynamic library
-'signcolumn'           when to display the sign column
 'renderoptions'                options for text rendering on Windows
 'rubydll'              name of the Ruby dynamic library
+'signcolumn'           when to display the sign column
 'tagcase'              how to handle case when searching in tags files
 'tcldll'               name of the Tcl dynamic library
 'termguicolors'                use GUI colors for the terminal
@@ -3436,7 +3436,7 @@ Files:        runtime/doc/options.txt, src/Makefile, src/regexp.c, src/regexp.h,
 Patch 7.4.498 (after 7.4.497)
 Problem:    Typo in DOS makefile.
 Solution:   Change exists to exist. (Ken Takata)
-Files:     src/testdirMake_dos.mak
+Files:     src/testdir/Make_dos.mak
 
 Patch 7.4.499
 Problem:    substitute() can be slow with long strings.
index dba6784e1ae4481166ea4dbf53a6bcb0ff174f8a..20e9af4a893b32d5773abbed708b9da5a6009471 100644 (file)
@@ -1,7 +1,7 @@
 " Vim support file to detect file types
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last Change: 2017 Jan 06
+" Last Change: 2017 Mar 04
 
 " Listen very carefully, I will say this only once
 if exists("did_load_filetypes")
@@ -2280,6 +2280,9 @@ au BufNewFile,BufRead .tidyrc,tidyrc              setf tidy
 " TF mud client
 au BufNewFile,BufRead *.tf,.tfrc,tfrc          setf tf
 
+" tmux configuration
+au BufNewFile,BufRead tmux*.conf               setf tmux
+
 " TPP - Text Presentation Program
 au BufNewFile,BufReadPost *.tpp                        setf tpp
 
index 665335194972d972a261e1aebc8394599382e94e..0e24e3088f27eb80e3eccdfb2591f6658c41a06c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         a2ps(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             a2ps(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 5d763c80115a54723a832e2ede0a86c1f167e718..6d9d80a208aa92c5fd11b598cd166675edbc8920 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         alsaconf(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             alsaconf(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 71d831e1123fb379474b034a4397c355deaf4080..1c697b8ca10697df36b50ff042cb1f2cac27f14a 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         GNU Arch inventory file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             GNU Arch inventory file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 20b06af3625119cdb36f4a1ab8d7e121e31a46a2..9f981a7a8317061ef28d94875987b2aee227ec8c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Automake
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Automake
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 120c5df968a9e86761e13f12508e88f671790336..85b7b4042a677f9fef8dadef61d05ed5edc7e905 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         BDF font definition
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             BDF font definition
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 6f117e36e581deb108f954d299ad51dd4bd04e5f..f454ba1dc882b48a3f318ff3d544c92b1cb48060 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         calendar(1) input file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             calendar(1) input file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 557fd82c535295a714b63c934763b0ef462d9019..563bb8f5f1c749f22f314af053a7ff1ad83467c0 100644 (file)
@@ -1,6 +1,6 @@
 " Vim filetype plugin file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-12-04
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-12-04
 
 if exists("b:did_ftplugin")
   finish
index 1b110e475bd0bd48727939645517e475b804d122..ff2add1fa357e2827f701bd9405617890250045a 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         generic configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             generic configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index e86e683068eb12e274c2b27edaaa1cbed1debe30..06baee883afbb94ca0c3a43de27596bfb4323343 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         CRM114
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             CRM114
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 43d1edfa5b19e12f5ac8621381be313d3bf236f8..ea4424418ca81dc89e34e6e22d05214e49af454f 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         CSS
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             CSS
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index c41053058868e287663042b9a2814b7c3d675449..34b148409e1e3270c0b209bc59e4769c9cc711ba 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         cvs(1) RC file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             cvs(1) RC file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 557fd82c535295a714b63c934763b0ef462d9019..563bb8f5f1c749f22f314af053a7ff1ad83467c0 100644 (file)
@@ -1,6 +1,6 @@
 " Vim filetype plugin file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-12-04
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-12-04
 
 if exists("b:did_ftplugin")
   finish
index 659046c1761addb886965c0ebac1ae1d9cf82c9a..71a2b67258081e3c409f89b0ed5e3a814c33f825 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         dict(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             dict(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index ee738c50ce300f99abb59e13f4ef3d88099476e2..0ee4c9d7e056c65c3b1077e4ebe4aec1124b8c6f 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         dictd(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             dictd(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 3b3d046e3685a25f5321ed6102e1b0a077d9ade4..d07d1e34da058c43c0e915c3aca3fab81b42478c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         dircolors(1) input file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             dircolors(1) input file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 461403ca957801e9f46b11fdbb4739bd3357ad52..0d0f0f898367bdee94b68cb5cb5cc069ef4665a6 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Configuration File (ini file) for MSDOS/MS Windows
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Configuration File (ini file) for MSDOS/MS Windows
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 7d9257566b1c3b612155f7502e4f70becaa91082..921f9c276b1f91a1b0323b7979ef91a0353d84c7 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         elinks(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             elinks(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index e072c638b100457ce8f68ceee9bf7ddd1507946a..e2f88ef8c6a24be1c2cbf4d56140a2f3153ba38c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         eterm(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             eterm(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index a0d4650c0383030428fa4fc0b71ff94fe6f34692..33bb417be416de0a4fe82b83b9c6f6b233daae7b 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         fetchmail(1) RC File
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             fetchmail(1) RC File
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 805401a89bb2544bf443e88ac2e3d9b9e1bbc81d..48fe0ace7c2076fa4b6f2fcb849a10b739960f80 100644 (file)
@@ -1,7 +1,7 @@
 " Vim ftplugin file
-" Language:         FrameScript
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-19
+" Language:             FrameScript
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-19
 
 let s:cpo_save = &cpo
 set cpo&vim
index 5caa1f69c104b01d1c4ca1eabc60399560e942dd..3f890e58f67b2451ec25c169783767826a00fe13 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         gpg(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             gpg(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index eef3cd68d924fa825620c5648a4fd316e22a82d1..e6b76ba6078fa4b5ae22514ecbb1f76dd0414535 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         group(5) user group file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             group(5) user group file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 21c4e3609de245df67cffc9a7638be76558af116..cd6e1139e52b9d6254f43318645c5f6eb8fe8107 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         grub(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             grub(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 144f9f68607fea3395bfdea04caff8527ec35a8f..de77bdfb8abd3e5dc4fff29be94646331a2b76da 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Haskell
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Haskell
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index a0a0f292eb5c75cc1d1e7622b37b17b0f3590b06..9eb7214c020a88c3f4dd64bd1777cf0e6a36e4ae 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Vim help file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Vim help file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 557fd82c535295a714b63c934763b0ef462d9019..563bb8f5f1c749f22f314af053a7ff1ad83467c0 100644 (file)
@@ -1,6 +1,6 @@
 " Vim filetype plugin file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-12-04
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-12-04
 
 if exists("b:did_ftplugin")
   finish
index a2f55acb8a2163938b87c0b683323098396bcb76..d32485f16289ffd2412589c502fc596dbbd28f27 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         hosts_access(5) control file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             hosts_access(5) control file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 0e195b06159626e0b5308c52fbb9570c6e5f3640..e6d928a07324057ac12ad194f76d13460a749642 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         indent(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             indent(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 31ce5c9ffd7e6fcc20d0f2ae9a1fb44abf720e46..1ab80d533cf72d51447305a31ec5541181a05fce 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         ld(1) script
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             ld(1) script
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 9e2eeb52cb68bed7c1a7f41324d1e5ae58ae4ed8..5bc496c884e48e33eb90836b4125c8c6a935cb62 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         lftp(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             lftp(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 38bd3de92cfbf1fe50c57a3af3fe56c6961822d9..0ce5831b2870dff2bd7816e1d66133aae1442ec5 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         libao.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             libao.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index cd5b7b5c931cc22943b5d4ae0d30de466b2388f0..90a10a6c22bd4b5ad382d96de2453bedde4c2d8c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         limits(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             limits(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 7c44f972f2c40b4b306cb903e8f7709d30aedf16..d27114a7ae4350d1bc46084cc6e8c5e3c84a60a6 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         login.access(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             login.access(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 668d08a002430ca89fba100623a71d4a1dee7fe6..7873396808cb8fa60dca58d9f5f6b77a58abe542 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         login.defs(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             login.defs(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 0ffe0ac77e14226f1d377bbfd981bb00ec1faca5..37455073211259da4c927077be14ec1387e6633f 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         m4
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             m4
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 1b10c86ae364ae9459de1f87404d5c5d2248feec..0ae4b452d0b6d3d60f4584e988e6180f9ba1e309 100644 (file)
@@ -1,6 +1,6 @@
 " Vim filetype plugin file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index f4c8c232d8aeb3837261a776f04e186004eb86b9..ba8573c7227abe5cb9da6777e70d75554b1685aa 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Mailcap configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Mailcap configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index a249a9750753cc86dbdf348f74055017ee76347b..aa85408cef9d4dcf4aac2465cb207c17a51b4e81 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         man.conf(5) - man configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             man.conf(5) - man configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index f200e9f61eb914e8590ed9c62d186be7a5b8eb13..c8e76b538b22729f13cb82281be7a2e159505379 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         modules.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             modules.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 65034a8152f7f543bac0c7b948fa81ad72ffc9a5..86547609c3d43e9c796850fa45cbe08e1c023e73 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         mplayer(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             mplayer(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index a109e5dddadc37564b91e9507ff038131b1630ce..c8ad0f2ec5c1099a01dcd71af88c24b4dcc59c92 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         mutt RC File
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             mutt RC File
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:did_ftplugin")
   finish
index be20d125031565a5d408a1ca4b8e26398d7ce2de..e45ebac0eb4c912a90fc4ab2d48f7d09e0dcbdaa 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         nanorc(5) - GNU nano configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             nanorc(5) - GNU nano configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 105a1d3a8e6ab782dfc8b7b19ef1590f7ea097b4..02ee3272958334fe31627b5a64181cb149f486e9 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         netrc(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             netrc(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index acc26208c403802801bb0cb10683b0816504c501..949691bf6e3f17752b0cf2d6ff043d727316335b 100644 (file)
@@ -1,7 +1,7 @@
 " Vim ftplugin file
-" Language:         NSIS script
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             NSIS script
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 let s:cpo_save = &cpo
 set cpo&vim
index 96d96461e211c2ae39b02bbf33cc1dab847c6327..f0a693e3a547d6dd784cae8b8f0b7040dbf8fde6 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         pam(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             pam(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 5088c4335984d0eff9e3b0056f1ede71c840572f..f6e0f503423660e9eb50923f8d7275f04d5aeef0 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         passwd(5) password file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             passwd(5) password file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 6ec1f87b9e899f2de23c83f97a1024aaed03279b..50473a81142aa53466d2833bb494f6f0629a4321 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         pinfo(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             pinfo(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index cc2ceede1998711942af8ac376e90bf34de8cd49..d64f19274db8b12bb49a2b59dd9481e9f5a8126e 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         procmail(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             procmail(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index caeb574c5a43a7ef083277536db38a85741481a5..f4e7d135b5526a8610e24494ff2af100a1c257f9 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Prolog
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Prolog
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 2486ff93707a6bf735e214ce341e8e447b73664a..83856ce7ba23e3509dacb99e7f34d16fd4ac7971 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         protocols(5) - Internet protocols definition file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             protocols(5) - Internet protocols definition file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index f62693b11a22e9943c0b6e517fe4df5a88d9b9b6..c3a2e52347ab94a6dcbb7c6143b39a98ae3111aa 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Quake[1-3] configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Quake[1-3] configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 7ff22f893766c8633aabeb9fa11f3b8bccff4f52..0cd852c365815683aafe653427f3b7acdbf65457 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Racc input file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Racc input file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 0a4dbb5c039a2d6b550b7a2ae084b33597b0a3c3..e9ef93ec7fcfd17b8a74de190e5fc76e833121a4 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         readline(3) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             readline(3) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 2b8fd50d8d1bf858b5c28e4921218058fd9f19bf..90aa111c67f0e376fefb4a430c7a2d2cf3d164c0 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Relax NG compact syntax
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Relax NG compact syntax
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index b871cf14864c28e9c7641a7120049b4c17c4ac4a..e61213e7a5102f672f2a9b73f4c9ac94cc1be75c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         reStructuredText documentation format
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             reStructuredText documentation format
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 95c3849556bd7ce91763df6f4a12cbb35f5ce474..c22089be2cf25e462655e632ca9f25fdef84d3cf 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         screen(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             screen(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 813d14c0e1e0554613b98a6ccd59c5cfb3c31262..c02a729405d613a77b4b5dd64d5c5e0b4cbdef83 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         sensors.conf(5) - libsensors configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             sensors.conf(5) - libsensors configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index d34349ee285d923ab11f3fa4e7e412d5acef0214..dda08ac20aa92c0f00a0bfa3cb013eec54cdedb5 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         services(5) - Internet network services list
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             services(5) - Internet network services list
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index f9d5945787f0055ebab4d60a25e31f4dd85973a1..e5823f44322e1c90b5611b7dc45544d962a1f6f3 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         setserial(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             setserial(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 9a8759c024764d4e84bfa150c5b6a791f7ae9786..3092b5d2d32bc3abcdb5ca0e6c2ae4157ab4a6cf 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Sieve filtering language input file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             Sieve filtering language input file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 0c456896722c7886b9d1d7b4077d8cc2bd5b97f5..a975a499e57f131f4e311bb0d927ba905ffc9666 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         RFC 2614 - An API for Service Location configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             RFC 2614 - An API for Service Location configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index e9d533e2d4482fef2f261e4fdd5bd6ef944dcb6b..74c7285b66d9e573492a63dddffb74f3d13f0e92 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         RFC 2614 - An API for Service Location registration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             RFC 2614 - An API for Service Location registration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 8d64d476f1040c4c1588afb9d7049c98a91d7a5c..633555e493d3554e6be632f2d62c7216daa8c33d 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         RFC 2614 - An API for Service Location SPI file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             RFC 2614 - An API for Service Location SPI file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index f940af972ea162db51992f57b0de40acd62581ec..d933ce052788947eb2263186b95686d2f352dbda 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         OpenSSH client configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             OpenSSH client configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 5756302178290f620ef188bb211b7cc6c7e6dd1e..38dbf559ee7c7fe6224c7b640715ac8fa77eedc8 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         sudoers(5) configuration files
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             sudoers(5) configuration files
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index fb1098dd3b4c1d1becd31683bcbd2fdeb03d3ca3..8d331cea3834dbf890bb034e2d5b3eadfb0740ee 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         sysctl.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             sysctl.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 7ce31d1ca1c98452a6855452a6edd3bf4a80343e..0ffcc58f58276bdd3da458c2352244121c82f866 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         terminfo(5) definition
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             terminfo(5) definition
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
diff --git a/runtime/ftplugin/tmux.vim b/runtime/ftplugin/tmux.vim
new file mode 100644 (file)
index 0000000..9c92ff9
--- /dev/null
@@ -0,0 +1,11 @@
+" Vim filetype plugin file
+" Language:    Tmux config
+" Maintainer:  Eric Pruitt <eric.pruitt@gmail.com>
+" Last Change:  2017 Mar 04
+
+if exists("b:did_ftplugin")
+  finish
+endif
+let b:did_ftplugin = 1
+
+setlocal commentstring=#\ %s
index 2da3c405f5cd7d7ebe50f5570fe24ce580a464bb..f978d15303c9dfc0940d1f7edbdd28bcffd2046c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         Treetop
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2011-03-14
+" Language:             Treetop
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2011-03-14
 
 if exists("b:did_ftplugin")
   finish
index 6042e144135a191acbe9d89104743551ff749c81..0bbd86a0a4247dcd9e8065f17d7e05c27068a024 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         udev(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             udev(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index e7ad31d07139d3e0731198b4efa37a72eb9f6ce3..f8fb4d4d99f543aafefc7cf8b2f758e6366fc31d 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         udev(8) permissions file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             udev(8) permissions file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index be8d64696831cf28055caff90cd575d56a5e5da0..6404f6c85e4c4637239435de479d923208b6d798 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         udev(8) rules file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             udev(8) rules file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index f4e7bcebd50da7d31e9536e644895acfde6c3963..3015918d70f1370ec065c8b02b986aeb041450ea 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         updatedb.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             updatedb.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index cd851829ca5663426c616b41749b276016622375..c1aff7017678fc3b85ab5d3a317c461962a0af34 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         X resources files like ~/.Xdefaults (xrdb)
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             X resources files like ~/.Xdefaults (xrdb)
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index ab7569a100ae5a82af6e27f4926785bf69ef4bcf..5a21539dd5501af38052e6a01fd25518a4c02ff2 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         XFree86 Configuration File
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             XFree86 Configuration File
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index f209af18be3112950a2cfe903201038fce8f918e..2b7b64e4fa01296f869eb1240a033d6ce1dbd4dd 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         xinetd.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             xinetd.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 027ae09ff2e91119ffc0152620692a64cfb48202..77fccd5b4d1f9a942176e240fb17c6731c3036fd 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         xmodmap(1) definition file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             xmodmap(1) definition file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index b88803ab3a9d381569df9f91c342689fef8663f3..ceff36f7e4e804c548f01bdbc92fc4781a5aac75 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin file
-" Language:         YAML (YAML Ain't Markup Language)
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-09
+" Language:             YAML (YAML Ain't Markup Language)
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-09
 
 if exists("b:did_ftplugin")
   finish
index 5fbc222bc797344b01b80222be924d04b384d328..7e38f92ebf13b48a07f6dc87693e627e3e813929 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:        automake
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:                automake
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:did_indent")
   finish
index 7eb16575729e7f34257715630d06226338dd67e3..074f467beed0c72dd7d4a9d9b8184dcf1635196f 100644 (file)
@@ -1,8 +1,8 @@
 " Vim indent file
-" Language:         Autoconf configure.{ac,in} file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
-" TODO:             how about nested [()]'s in one line
+" Language:             Autoconf configure.{ac,in} file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
+" TODO:                 how about nested [()]'s in one line
 "                   what's wrong with '\\\@!'?
 
 " Only load this indent file when no other was loaded.
index f0a272eff9d232bac02c915c1cd6a54c7f3c3fcf..4d15b8d2dc84aa1e9f5a74ab13ca23763c19c1f4 100644 (file)
@@ -2,6 +2,7 @@
 " Language:        CSS
 " Maintainer:      Nikolai Weibull <now@bitwi.se>
 " Latest Revision:  2012-05-30
+"                  Use of shiftwidth() added by Oleg Zubchenko.        
 
 if exists("b:did_indent")
   finish
@@ -75,8 +76,8 @@ function GetCSSIndent()
     return 0
   endif
 
-  return indent(pnum) + s:count_braces(pnum, 1) * &sw
-        \ - s:count_braces(v:lnum, 0) * &sw
+  return indent(pnum) + s:count_braces(pnum, 1) * shiftwidth()
+        \ - s:count_braces(v:lnum, 0) * shiftwidth()
 endfunction
 
 let &cpo = s:keepcpo
index adbc1a52420c0ccaec4434f29a6c76bb36add74c..2e15c76146490fa9cf514c45500647e66dded928 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         dict(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
+" Language:             dict(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
 
 if exists("b:did_indent")
   finish
index 9427342c7e9ffa281f2a2f24f4383f9c7c4f188a..5c4fbdafb5e80fc3a8f5ea321cd86e39cc861ae5 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         dictd(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
+" Language:             dictd(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
 
 if exists("b:did_indent")
   finish
index 3fde2a13b6825890da17d236e66d39fc89d8ee0f..d8661ffbe98b2353cfd3dba7e91de8924c6813cc 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:        DocBook Documentation Format
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:                DocBook Documentation Format
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:did_indent")
   finish
index 88c0c5129e6f87f98c57c5c122563788f59485a3..779cee9e6f2e508553f5146d9230fc666857d617 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:        DTD (Document Type Definition for XML)
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2011-07-08
+" Language:                DTD (Document Type Definition for XML)
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2011-07-08
 
 let s:cpo_save = &cpo
 set cpo&vim
index f25f5f4dade860c1e8bae3d7b3db707571050cff..e5fea1d3befcb3b248455c1c82233beb4c79d09d 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         Eterm configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
+" Language:             Eterm configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
 
 if exists("b:did_indent")
   finish
index 49ff92a81d1caeddcf4964332b9e8b57f881cd33..e35d00eb02b4f43a0eb74ad92f59b6fcdfa303f4 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         FrameScript
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-19
+" Language:             FrameScript
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-07-19
 
 if exists("b:did_indent")
   finish
index eccf42b2b4b9bf77cb8d96e0d312a9e11ca33d25..6544c4d51132397d4daee605a8b442a213578275 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         ld(1) script
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
+" Language:             ld(1) script
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
 
 if exists("b:did_indent")
   finish
index 8412fbb4d1524cb25562b16931cdd11f91697a57..2a4b4580a9f7c40d27f20b47a0b956bd7a811023 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         Makefile
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-05-07
+" Language:             Makefile
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-05-07
 
 if exists("b:did_indent")
   finish
index 6ac2185bdc6aa1028c764e4f762664f3ef7eb24b..a58cc411b8f12807ce5e4b6ba21a5af31ed889da 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         readline configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
+" Language:             readline configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
 
 if exists("b:did_indent")
   finish
index 80d3308fd8e1ff003693a44b827681ddb2de01a8..c1ef8c995785de7d41f11ce00d8212f6f8532bd1 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         reStructuredText Documentation Format
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2011-08-03
+" Language:             reStructuredText Documentation Format
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2011-08-03
 
 if exists("b:did_indent")
   finish
index 17597734b8c7ccca255ac54c5735d68761834c7b..a98053850611b37d2df031de2583cdd6dd4b8791 100644 (file)
@@ -1,8 +1,8 @@
 " Vim indent file
 " Language:     tf (TinyFugue)
 " Maintainer:   Christian J. Robinson <heptite@gmail.com>
-" URL:          http://christianrobinson.name/vim/indent/tf.vim
-" Last Change:  2002 May 29
+" URL:          http://www.vim.org/scripts/script.php?script_id=174
+" Last Change:  2017 Feb 25 
 
 " Only load this indent file when no other was loaded.
 if exists("b:did_indent")
@@ -38,14 +38,14 @@ function GetTFIndent()
        endif
 
        if line =~ '\(/def.*\\\|/for.*\(%;\s*\)\@\<!\\\)$'
-               let ind = ind + &sw
+               let ind = ind + shiftwidth()
        elseif line =~ '\(/if\|/else\|/then\)'
                if line !~ '/endif'
-                       let ind = ind + &sw
+                       let ind = ind + shiftwidth()
                endif
        elseif line =~ '/while'
                if line !~ '/done'
-                       let ind = ind + &sw
+                       let ind = ind + shiftwidth()
                endif
        endif
 
@@ -53,11 +53,11 @@ function GetTFIndent()
 
        if line =~ '\(/else\|/endif\|/then\)'
                if line !~ '/if'
-                       let ind = ind - &sw
+                       let ind = ind - shiftwidth()
                endif
        elseif line =~ '/done'
                if line !~ '/while'
-                       let ind = ind - &sw
+                       let ind = ind - shiftwidth()
                endif
        endif
 
index a2af78b8c27819a871e2026efc5caa50cf122781..01716e7190ec4956bcb1eb9e06d3cfa6faf75b9d 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         Treetop
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2011-03-14
+" Language:             Treetop
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2011-03-14
 
 if exists("b:did_indent")
   finish
index ecca4626361d48bc6d749593b454168ad0b963b0..6222dc341f0d9ddec9c57a6d8c5d06c12798d155 100644 (file)
@@ -1,10 +1,12 @@
 " Language:     Verilog HDL
-" Maintainer:  Chih-Tsun Huang <cthuang@larc.ee.nthu.edu.tw>
-" Last Change: 2011 Dec 10 by Thilo Six
-" URL:         http://larc.ee.nthu.edu.tw/~cthuang/vim/indent/verilog.vim
+" Maintainer:  Chih-Tsun Huang <cthuang@cs.nthu.edu.tw>
+" Last Change: 2017 Feb 24 by Chih-Tsun Huang
+" URL:             http://www.cs.nthu.edu.tw/~cthuang/vim/indent/verilog.vim
 "
 " Credits:
 "   Suggestions for improvement, bug reports by
+"     Takuya Fujiwara <tyru.exe@gmail.com>
+"     Thilo Six <debian@Xk2c.de>
 "     Leo Butlero <lbutler@brocade.com>
 "
 " Buffer Variables:
@@ -38,7 +40,7 @@ function GetVerilogIndent()
   if exists('b:verilog_indent_width')
     let offset = b:verilog_indent_width
   else
-    let offset = &sw
+    let offset = shiftwidth()
   endif
   if exists('b:verilog_indent_modules')
     let indent_modules = offset
index 4174a242240934871444294d7fa536201c450b61..7c3ea15d98124412f2354f1d7f29ea117bbc6e11 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         XFree86 Configuration File
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
+" Language:             XFree86 Configuration File
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
 
 if exists("b:did_indent")
   finish
index c8127237e8e686cf01898ebc0892dd50c20fc7b7..5a32a74d123848cb7d462f5b66b36230e88827d6 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         xinetd.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
+" Language:             xinetd.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
 
 if exists("b:did_indent")
   finish
index 2ab7d7b38ccdf18fce12df556f9f40f5ee58d4b1..01ad4fc56dd5708a6bf004a4b91212b156107c81 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
-" Language:         YACC input file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-20
+" Language:             YACC input file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-20
 
 " Only load this indent file when no other was loaded.
 if exists("b:did_indent")
index aa5c5bc1a8597d79c709ce349eeba11db6fbffe5..87ac937a1ec4a6d69507eedaa7a81037eec7e6de 100644 (file)
@@ -2,7 +2,7 @@
 " You can also use this as a start for your own set of menus.
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last Change: 2017 Feb 09
+" Last Change: 2017 Mar 04
 
 " Note that ":an" (short for ":anoremenu") is often used to make a menu work
 " in all modes and avoid side effects from mappings defined by the user.
@@ -70,7 +70,7 @@ endif
 " Help menu
 an 9999.10 &Help.&Overview<Tab><F1>    :help<CR>
 an 9999.20 &Help.&User\ Manual         :help usr_toc<CR>
-an 9999.30 &Help.&How-to\ links                :help how-to<CR>
+an 9999.30 &Help.&How-To\ Links                :help how-to<CR>
 an <silent> 9999.40 &Help.&Find\.\.\.  :call <SID>Helpfind()<CR>
 an 9999.45 &Help.-sep1-                        <Nop>
 an 9999.50 &Help.&Credits              :help credits<CR>
@@ -112,7 +112,7 @@ an 10.350 &File.Save\ &As\.\.\.<Tab>:sav    :browse confirm saveas<CR>
 
 if has("diff")
   an 10.400 &File.-SEP2-                       <Nop>
-  an 10.410 &File.Split\ &Diff\ with\.\.\.     :browse vert diffsplit<CR>
+  an 10.410 &File.Split\ &Diff\ With\.\.\.     :browse vert diffsplit<CR>
   an 10.420 &File.Split\ Patched\ &By\.\.\.    :browse vert diffpatch<CR>
 endif
 
@@ -214,25 +214,25 @@ endfun
 
 " Edit/Global Settings
 an 20.440.100 &Edit.&Global\ Settings.Toggle\ Pattern\ &Highlight<Tab>:set\ hls!       :set hls! hls?<CR>
-an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Ignore-case<Tab>:set\ ic!       :set ic! ic?<CR>
-an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Showmatch<Tab>:set\ sm! :set sm! sm?<CR>
-
-an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 1\  :set so=1<CR>
-an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 2\  :set so=2<CR>
-an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 3\  :set so=3<CR>
-an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 4\  :set so=4<CR>
-an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 5\  :set so=5<CR>
-an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 7\  :set so=7<CR>
-an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 10\  :set so=10<CR>
-an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 100\  :set so=100<CR>
+an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Ignoring\ Case<Tab>:set\ ic!    :set ic! ic?<CR>
+an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm!   :set sm! sm?<CR>
+
+an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 1\  :set so=1<CR>
+an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 2\  :set so=2<CR>
+an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 3\  :set so=3<CR>
+an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 4\  :set so=4<CR>
+an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 5\  :set so=5<CR>
+an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 7\  :set so=7<CR>
+an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 10\  :set so=10<CR>
+an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 100\  :set so=100<CR>
 
 an 20.440.130.40 &Edit.&Global\ Settings.&Virtual\ Edit.Never :set ve=<CR>
 an 20.440.130.50 &Edit.&Global\ Settings.&Virtual\ Edit.Block\ Selection :set ve=block<CR>
-an 20.440.130.60 &Edit.&Global\ Settings.&Virtual\ Edit.Insert\ mode :set ve=insert<CR>
+an 20.440.130.60 &Edit.&Global\ Settings.&Virtual\ Edit.Insert\ Mode :set ve=insert<CR>
 an 20.440.130.70 &Edit.&Global\ Settings.&Virtual\ Edit.Block\ and\ Insert :set ve=block,insert<CR>
 an 20.440.130.80 &Edit.&Global\ Settings.&Virtual\ Edit.Always :set ve=all<CR>
 an 20.440.140 &Edit.&Global\ Settings.Toggle\ Insert\ &Mode<Tab>:set\ im!      :set im!<CR>
-an 20.440.145 &Edit.&Global\ Settings.Toggle\ Vi\ C&ompatible<Tab>:set\ cp!    :set cp!<CR>
+an 20.440.145 &Edit.&Global\ Settings.Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! :set cp!<CR>
 an <silent> 20.440.150 &Edit.&Global\ Settings.Search\ &Path\.\.\.  :call <SID>SearchP()<CR>
 an <silent> 20.440.160 &Edit.&Global\ Settings.Ta&g\ Files\.\.\.  :call <SID>TagFiles()<CR>
 "
@@ -276,13 +276,13 @@ endfun
 
 " Boolean options
 an 20.440.100 &Edit.F&ile\ Settings.Toggle\ Line\ &Numbering<Tab>:set\ nu!     :set nu! nu?<CR>
-an 20.440.105 &Edit.F&ile\ Settings.Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu!  :set rnu! rnu?<CR>
+an 20.440.105 &Edit.F&ile\ Settings.Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu!  :set rnu! rnu?<CR>
 an 20.440.110 &Edit.F&ile\ Settings.Toggle\ &List\ Mode<Tab>:set\ list!        :set list! list?<CR>
-an 20.440.120 &Edit.F&ile\ Settings.Toggle\ Line\ &Wrap<Tab>:set\ wrap!        :set wrap! wrap?<CR>
-an 20.440.130 &Edit.F&ile\ Settings.Toggle\ W&rap\ at\ word<Tab>:set\ lbr!     :set lbr! lbr?<CR>
-an 20.440.160 &Edit.F&ile\ Settings.Toggle\ &expand-tab<Tab>:set\ et!  :set et! et?<CR>
-an 20.440.170 &Edit.F&ile\ Settings.Toggle\ &auto-indent<Tab>:set\ ai! :set ai! ai?<CR>
-an 20.440.180 &Edit.F&ile\ Settings.Toggle\ &C-indenting<Tab>:set\ cin!        :set cin! cin?<CR>
+an 20.440.120 &Edit.F&ile\ Settings.Toggle\ Line\ &Wrapping<Tab>:set\ wrap!    :set wrap! wrap?<CR>
+an 20.440.130 &Edit.F&ile\ Settings.Toggle\ W&rapping\ at\ Word<Tab>:set\ lbr! :set lbr! lbr?<CR>
+an 20.440.160 &Edit.F&ile\ Settings.Toggle\ Tab\ &Expanding<Tab>:set\ et!      :set et! et?<CR>
+an 20.440.170 &Edit.F&ile\ Settings.Toggle\ &Auto\ Indenting<Tab>:set\ ai!     :set ai! ai?<CR>
+an 20.440.180 &Edit.F&ile\ Settings.Toggle\ &C-Style\ Indenting<Tab>:set\ cin! :set cin! cin?<CR>
 
 " other options
 an 20.440.600 &Edit.F&ile\ Settings.-SEP2-             <Nop>
@@ -311,7 +311,7 @@ fun! s:TextWidth()
     " Remove leading zeros to avoid it being used as an octal number.
     " But keep a zero by itself.
     let tw = substitute(n, "^0*", "", "")
-    let &tw = tw == '' ? 0 : tw 
+    let &tw = tw == '' ? 0 : tw
   endif
 endfun
 
@@ -396,10 +396,10 @@ if !exists("g:ctags_command")
   endif
 endif
 
-an 40.300 &Tools.&Jump\ to\ this\ tag<Tab>g^]  g<C-]>
-vunmenu &Tools.&Jump\ to\ this\ tag<Tab>g^]
-vnoremenu &Tools.&Jump\ to\ this\ tag<Tab>g^]  g<C-]>
-an 40.310 &Tools.Jump\ &back<Tab>^T            <C-T>
+an 40.300 &Tools.&Jump\ to\ This\ Tag<Tab>g^]  g<C-]>
+vunmenu &Tools.&Jump\ to\ This\ Tag<Tab>g^]
+vnoremenu &Tools.&Jump\ to\ This\ Tag<Tab>g^]  g<C-]>
+an 40.310 &Tools.Jump\ &Back<Tab>^T            <C-T>
 an 40.320 &Tools.Build\ &Tags\ File            :exe "!" . g:ctags_command<CR>
 
 if has("folding") || has("spell")
@@ -410,17 +410,17 @@ endif
 if has("spell")
   an 40.335.110 &Tools.&Spelling.&Spell\ Check\ On             :set spell<CR>
   an 40.335.120 &Tools.&Spelling.Spell\ Check\ &Off            :set nospell<CR>
-  an 40.335.130 &Tools.&Spelling.To\ &Next\ error<Tab>]s       ]s
-  an 40.335.130 &Tools.&Spelling.To\ &Previous\ error<Tab>[s   [s
+  an 40.335.130 &Tools.&Spelling.To\ &Next\ Error<Tab>]s       ]s
+  an 40.335.130 &Tools.&Spelling.To\ &Previous\ Error<Tab>[s   [s
   an 40.335.140 &Tools.&Spelling.Suggest\ &Corrections<Tab>z=  z=
-  an 40.335.150 &Tools.&Spelling.&Repeat\ correction<Tab>:spellrepall  :spellrepall<CR>
+  an 40.335.150 &Tools.&Spelling.&Repeat\ Correction<Tab>:spellrepall  :spellrepall<CR>
   an 40.335.200 &Tools.&Spelling.-SEP1-                                <Nop>
-  an 40.335.210 &Tools.&Spelling.Set\ language\ to\ "en"       :set spl=en spell<CR>
-  an 40.335.220 &Tools.&Spelling.Set\ language\ to\ "en_au"    :set spl=en_au spell<CR>
-  an 40.335.230 &Tools.&Spelling.Set\ language\ to\ "en_ca"    :set spl=en_ca spell<CR>
-  an 40.335.240 &Tools.&Spelling.Set\ language\ to\ "en_gb"    :set spl=en_gb spell<CR>
-  an 40.335.250 &Tools.&Spelling.Set\ language\ to\ "en_nz"    :set spl=en_nz spell<CR>
-  an 40.335.260 &Tools.&Spelling.Set\ language\ to\ "en_us"    :set spl=en_us spell<CR>
+  an 40.335.210 &Tools.&Spelling.Set\ Language\ to\ "en"       :set spl=en spell<CR>
+  an 40.335.220 &Tools.&Spelling.Set\ Language\ to\ "en_au"    :set spl=en_au spell<CR>
+  an 40.335.230 &Tools.&Spelling.Set\ Language\ to\ "en_ca"    :set spl=en_ca spell<CR>
+  an 40.335.240 &Tools.&Spelling.Set\ Language\ to\ "en_gb"    :set spl=en_gb spell<CR>
+  an 40.335.250 &Tools.&Spelling.Set\ Language\ to\ "en_nz"    :set spl=en_nz spell<CR>
+  an 40.335.260 &Tools.&Spelling.Set\ Language\ to\ "en_us"    :set spl=en_us spell<CR>
   an <silent> 40.335.270 &Tools.&Spelling.&Find\ More\ Languages       :call <SID>SpellLang()<CR>
 
   let s:undo_spellang = ['aun &Tools.&Spelling.&Find\ More\ Languages']
@@ -437,7 +437,7 @@ if has("spell")
     endif
 
     if !exists("g:menutrans_set_lang_to")
-      let g:menutrans_set_lang_to = 'Set language to'
+      let g:menutrans_set_lang_to = 'Set Language to'
     endif
 
     let found = 0
@@ -474,13 +474,13 @@ endif
 " Tools.Fold Menu
 if has("folding")
   " open close folds
-  an 40.340.110 &Tools.&Folding.&Enable/Disable\ folds<Tab>zi          zi
+  an 40.340.110 &Tools.&Folding.&Enable/Disable\ Folds<Tab>zi          zi
   an 40.340.120 &Tools.&Folding.&View\ Cursor\ Line<Tab>zv             zv
-  an 40.340.120 &Tools.&Folding.Vie&w\ Cursor\ Line\ only<Tab>zMzx     zMzx
-  inoremenu 40.340.120 &Tools.&Folding.Vie&w\ Cursor\ Line\ only<Tab>zMzx  <C-O>zM<C-O>zx
-  an 40.340.130 &Tools.&Folding.C&lose\ more\ folds<Tab>zm             zm
-  an 40.340.140 &Tools.&Folding.&Close\ all\ folds<Tab>zM              zM
-  an 40.340.150 &Tools.&Folding.O&pen\ more\ folds<Tab>zr              zr
+  an 40.340.120 &Tools.&Folding.Vie&w\ Cursor\ Line\ Only<Tab>zMzx     zMzx
+  inoremenu 40.340.120 &Tools.&Folding.Vie&w\ Cursor\ Line\ Only<Tab>zMzx  <C-O>zM<C-O>zx
+  an 40.340.130 &Tools.&Folding.C&lose\ More\ Folds<Tab>zm             zm
+  an 40.340.140 &Tools.&Folding.&Close\ All\ Folds<Tab>zM              zM
+  an 40.340.150 &Tools.&Folding.O&pen\ More\ Folds<Tab>zr              zr
   an 40.340.160 &Tools.&Folding.&Open\ All\ Folds<Tab>zR               zR
   " fold method
   an 40.340.200 &Tools.&Folding.-SEP1-                 <Nop>
@@ -496,14 +496,14 @@ if has("folding")
   an 40.340.240 &Tools.&Folding.Delete\ &All\ Folds<Tab>zD     zD
   " moving around in folds
   an 40.340.300 &Tools.&Folding.-SEP2-                         <Nop>
-  an 40.340.310.10 &Tools.&Folding.Fold\ col&umn\ width.\ &0\  :set fdc=0<CR>
-  an 40.340.310.20 &Tools.&Folding.Fold\ col&umn\ width.\ &2\  :set fdc=2<CR>
-  an 40.340.310.30 &Tools.&Folding.Fold\ col&umn\ width.\ &3\  :set fdc=3<CR>
-  an 40.340.310.40 &Tools.&Folding.Fold\ col&umn\ width.\ &4\  :set fdc=4<CR>
-  an 40.340.310.50 &Tools.&Folding.Fold\ col&umn\ width.\ &5\  :set fdc=5<CR>
-  an 40.340.310.60 &Tools.&Folding.Fold\ col&umn\ width.\ &6\  :set fdc=6<CR>
-  an 40.340.310.70 &Tools.&Folding.Fold\ col&umn\ width.\ &7\  :set fdc=7<CR>
-  an 40.340.310.80 &Tools.&Folding.Fold\ col&umn\ width.\ &8\  :set fdc=8<CR>
+  an 40.340.310.10 &Tools.&Folding.Fold\ Col&umn\ Width.\ &0\  :set fdc=0<CR>
+  an 40.340.310.20 &Tools.&Folding.Fold\ Col&umn\ Width.\ &2\  :set fdc=2<CR>
+  an 40.340.310.30 &Tools.&Folding.Fold\ Col&umn\ Width.\ &3\  :set fdc=3<CR>
+  an 40.340.310.40 &Tools.&Folding.Fold\ Col&umn\ Width.\ &4\  :set fdc=4<CR>
+  an 40.340.310.50 &Tools.&Folding.Fold\ Col&umn\ Width.\ &5\  :set fdc=5<CR>
+  an 40.340.310.60 &Tools.&Folding.Fold\ Col&umn\ Width.\ &6\  :set fdc=6<CR>
+  an 40.340.310.70 &Tools.&Folding.Fold\ Col&umn\ Width.\ &7\  :set fdc=7<CR>
+  an 40.340.310.80 &Tools.&Folding.Fold\ Col&umn\ Width.\ &8\  :set fdc=8<CR>
 endif  " has folding
 
 if has("diff")
@@ -531,7 +531,7 @@ an 40.430.70 &Tools.Error\ &Window.&Close<Tab>:cclose       :cclose<CR>
 an 40.520 &Tools.-SEP3-                                        <Nop>
 an <silent> 40.530 &Tools.&Convert\ to\ HEX<Tab>:%!xxd
        \ :call <SID>XxdConv()<CR>
-an <silent> 40.540 &Tools.Conve&rt\ back<Tab>:%!xxd\ -r
+an <silent> 40.540 &Tools.Conve&rt\ Back<Tab>:%!xxd\ -r
        \ :call <SID>XxdBack()<CR>
 
 " Use a function to do the conversion, so that it also works with 'insertmode'
@@ -588,7 +588,7 @@ while strlen(s:n) > 0
   endif
   " Ignore case for VMS and windows
   let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '')
-  exe "an 30.440." . s:idx . ' &Tools.Se&T\ Compiler.' . s:name . " :compiler " . s:name . "<CR>"
+  exe "an 30.440." . s:idx . ' &Tools.Se&t\ Compiler.' . s:name . " :compiler " . s:name . "<CR>"
   unlet s:name
   unlet s:i
   let s:idx = s:idx + 10
@@ -829,8 +829,8 @@ an 70.345 &Window.Close\ &Other(s)<Tab>^Wo          :confirm only<CR>
 an 70.350 &Window.-SEP2-                               <Nop>
 an 70.355 &Window.Move\ &To.&Top<Tab>^WK               <C-W>K
 an 70.355 &Window.Move\ &To.&Bottom<Tab>^WJ            <C-W>J
-an 70.355 &Window.Move\ &To.&Left\ side<Tab>^WH                <C-W>H
-an 70.355 &Window.Move\ &To.&Right\ side<Tab>^WL       <C-W>L
+an 70.355 &Window.Move\ &To.&Left\ Side<Tab>^WH                <C-W>H
+an 70.355 &Window.Move\ &To.&Right\ Side<Tab>^WL       <C-W>L
 an 70.360 &Window.Rotate\ &Up<Tab>^WR                  <C-W>R
 an 70.362 &Window.Rotate\ &Down<Tab>^Wr                        <C-W>r
 an 70.365 &Window.-SEP3-                               <Nop>
@@ -913,7 +913,7 @@ if has("spell")
        let s:suglist = spellsuggest(w, 10)
       endif
       if len(s:suglist) > 0
-       let s:changeitem = 'change\ "' . escape(w, ' .'). '"\ to'
+       let s:changeitem = 'Change\ "' . escape(w, ' .'). '"\ to'
        let s:fromword = w
        let pri = 1
        " set 'cpo' to include the <CR>
@@ -925,10 +925,10 @@ if has("spell")
          let pri += 1
        endfor
 
-       let s:additem = 'add\ "' . escape(w, ' .') . '"\ to\ word\ list'
+       let s:additem = 'Add\ "' . escape(w, ' .') . '"\ to\ Word\ List'
        exe 'anoremenu 1.6 PopUp.' . s:additem . ' :spellgood ' . w . '<CR>'
 
-       let s:ignoreitem = 'ignore\ "' . escape(w, ' .') . '"'
+       let s:ignoreitem = 'Ignore\ "' . escape(w, ' .') . '"'
        exe 'anoremenu 1.7 PopUp.' . s:ignoreitem . ' :spellgood! ' . w . '<CR>'
 
        anoremenu 1.8 PopUp.-SpellSep- :
@@ -1067,7 +1067,7 @@ endif " !exists("did_install_default_menus")
 if !exists("did_install_syntax_menu")
   an 50.212 &Syntax.&Manual            :syn manual<CR>
   an 50.214 &Syntax.A&utomatic         :syn on<CR>
-  an <silent> 50.216 &Syntax.on/off\ for\ &This\ file :call <SID>SynOnOff()<CR>
+  an <silent> 50.216 &Syntax.On/Off\ for\ &This\ File :call <SID>SynOnOff()<CR>
   if !exists("*s:SynOnOff")
     fun s:SynOnOff()
       if has("syntax_items")
@@ -1095,14 +1095,14 @@ if (exists("did_load_filetypes") || exists("syntax_on"))
 if exists("do_syntax_sel_menu")
   runtime! synmenu.vim
 else
-  an 50.10 &Syntax.&Show\ filetypes\ in\ menu  :let do_syntax_sel_menu = 1<Bar>runtime! synmenu.vim<Bar>aunmenu &Syntax.&Show\ filetypes\ in\ menu<CR>
+  an 50.10 &Syntax.&Show\ File\ Types\ in\ Menu        :let do_syntax_sel_menu = 1<Bar>runtime! synmenu.vim<Bar>aunmenu &Syntax.&Show\ File\ Types\ in\ Menu<CR>
   an 50.195 &Syntax.-SEP1-             <Nop>
 endif
 
 an 50.210 &Syntax.&Off                 :syn off<CR>
 an 50.700 &Syntax.-SEP3-               <Nop>
-an 50.710 &Syntax.Co&lor\ test         :sp $VIMRUNTIME/syntax/colortest.vim<Bar>so %<CR>
-an 50.720 &Syntax.&Highlight\ test     :runtime syntax/hitest.vim<CR>
+an 50.710 &Syntax.Co&lor\ Test         :sp $VIMRUNTIME/syntax/colortest.vim<Bar>so %<CR>
+an 50.720 &Syntax.&Highlight\ Test     :runtime syntax/hitest.vim<CR>
 an 50.730 &Syntax.&Convert\ to\ HTML   :runtime syntax/2html.vim<CR>
 
 endif " !exists("did_install_syntax_menu")
index 034cbe225a3c0fd996f686470846f6e7419315dc..6d9e6bd54030a769c7c74d81f48db31338bc5e6a 100644 (file)
@@ -40,6 +40,7 @@ augroup tar
   au BufReadCmd   *.tar.bz2            call tar#Browse(expand("<amatch>"))
   au BufReadCmd   *.tar.Z              call tar#Browse(expand("<amatch>"))
   au BufReadCmd   *.tgz                        call tar#Browse(expand("<amatch>"))
+  au BufReadCmd   *.tbz                        call tar#Browse(expand("<amatch>"))
   au BufReadCmd   *.tar.lzma   call tar#Browse(expand("<amatch>"))
   au BufReadCmd   *.tar.xz             call tar#Browse(expand("<amatch>"))
   au BufReadCmd   *.txz                        call tar#Browse(expand("<amatch>"))
index 276382808bc105456b96b5f41f382eb1c4fc5580..c81253ffa94cfa405cf9eb2e371759cb690ac828 100644 (file)
@@ -1,7 +1,7 @@
 " Vim support file to detect file types in scripts
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last change: 2016 May 21
+" Last change: 2017 Mar 04
 
 " This file is called by an autocommand for every file that has just been
 " loaded into a buffer.  It checks if the type of file can be recognized by
@@ -124,6 +124,10 @@ if s:line1 =~ "^#!"
   elseif s:name =~ 'ruby'
     set ft=ruby
 
+    " JavaScript
+  elseif s:name =~ 'node\(js\)\=\>' || s:name =~ 'rhino\>'
+    set ft=javascript
+
     " BC calculator
   elseif s:name =~ '^bc\>'
     set ft=bc
@@ -156,6 +160,14 @@ if s:line1 =~ "^#!"
   elseif s:name =~ 'escript'
     set ft=erlang
 
+    " Haskell
+  elseif s:name =~ 'haskell'
+    set ft=haskell
+
+    " Scala
+  elseif s:name =~ 'scala\>'
+    set ft=scala
+
   endif
   unlet s:name
 
index 81e3667298aa68d159a08a8e037268a42fa30524..b156cd2fc7229f3cf78c136f7770cede0fa9d130 100644 (file)
@@ -604,11 +604,11 @@ an 50.150.430 &Syntax.WXYZ.Zimbu :cal SetSyn("zimbu")<CR>
 
 an 50.195 &Syntax.-SEP1-                       <Nop>
 
-an <silent> 50.200 &Syntax.Set\ '&syntax'\ only :call <SID>Setsynonly()<CR>
+an <silent> 50.200 &Syntax.Set\ '&syntax'\ Only :call <SID>Setsynonly()<CR>
 fun! s:Setsynonly()
   let s:syntax_menu_synonly = 1
 endfun
-an <silent> 50.202 &Syntax.Set\ '&filetype'\ too :call <SID>Nosynonly()<CR>
+an <silent> 50.202 &Syntax.Set\ '&filetype'\ Too :call <SID>Nosynonly()<CR>
 fun! s:Nosynonly()
   if exists("s:syntax_menu_synonly")
     unlet s:syntax_menu_synonly
index 2a87d62f90faed44862604ad2daf6bf4e5f5e1a3..afe3af1eed853350ab85ec9ad0aba8bc38ebb500 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         a2ps(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             a2ps(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 8fd51f0ac479e470c0b1977f1e4722b3839d7f3d..143fcc0a2ea4c744dc9acd7cc46f0432575441ea 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         alsaconf(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             alsaconf(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index fa9c3f02c3d96e7e85ce6bd2a484878361df1a19..f9d095e4436c40468f1ae656385da04ace611850 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         GNU Arch inventory file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-17
+" Language:             GNU Arch inventory file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-17
 
 if exists("b:current_syntax")
   finish
index d0c73eb601f67b6d1a4a83489511d41cb9328ce1..cc1a3375694f9568feecbd582d09558ec2c0ec6d 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         BDF font definition
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             BDF font definition
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 588b41a4b8a8cd0a3a95a9bbd07ccda5f9fe954c..42501090190df50fe889bb3b71f92df5ab5f7997 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         calendar(1) input file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             calendar(1) input file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 5058c23a242afe21c435f959f494f01ee34349a7..0fa65103fb8b0fee116ff548afd4673252fd9197 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         cdrdao(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-09-02
+" Language:             cdrdao(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-09-02
 
 if exists("b:current_syntax")
   finish
index fa752dbfb8395ea604ae01b61be736d80b811404..866784d7c27d8044372e203b01c393053bf8cdb1 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         cdrdao(1) TOC file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-05-10
+" Language:             cdrdao(1) TOC file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-05-10
 
 if exists("b:current_syntax")
   finish
index e36a69c6986ad3097a79b6843bf0c2bcc1b6e30d..b821affd57bb0d7bab925f165d62b084b69f58a1 100644 (file)
@@ -1,6 +1,6 @@
 " Vim syntax file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-17
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-17
 
 if exists("b:current_syntax")
   finish
index 17b67d44f0a746d9c10567646709d81522ea2d4b..5285de3e234dfffe7c5fd90ff0f3bca444000de1 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         CRM114
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             CRM114
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 6c2c4eea04adfa4f68412764dae3c26a4d84e562..9522de6436cde644c2db39b5c4874cf6a2133d46 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         cvs(1) RC file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             cvs(1) RC file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 0ec09ba13efb4f7d424df6358c1e5953796c0639..f32faab168fd7615dba0f073deb404c9cdbf3656 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         denyhosts configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-25
+" Language:             denyhosts configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-25
 
 if exists("b:current_syntax")
   finish
index e7fa47697529b481dcad952270b32fe0fe25a1b0..c762808c898fa0af664ffca4b46e14bd0eb37c9e 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         dict(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             dict(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 44bf6f8bad2ea2e92a33c129bd1e7f98dadf5df6..ecf5fd346fc87c116b141eed69fc00e16eb0a36b 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         dictd(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             dictd(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index b4d9e02ef60981b0c86653938196e100c566d2db..98252a24d3b42e28b1968b0fb81700eda3611998 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         elinks(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-17
+" Language:             elinks(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-17
 
 if exists("b:current_syntax")
   finish
index f6c50a20cb1cb081676643197ff48184e363e676..9b43cb255fea08ad5132681c293befaae33e50a0 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         eterm(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-21
+" Language:             eterm(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-21
 
 if exists("b:current_syntax")
   finish
index 89de1ff80d1c830e7839ee1a1b51f285c651d945..7a421050d0fe65fabda017103e3671dd6b407d5e 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         fetchmail(1) RC File
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             fetchmail(1) RC File
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 39d75e882686a5ab5b34cc80445746d663658139..8b16d048a0544ea5a70c7d00f3039464fabc31b6 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         FrameScript v4.0
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-02-22
+" Language:             FrameScript v4.0
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-02-22
 
 if exists("b:current_syntax")
   finish
index cde21ee56303243d73b3a9b36fb4cdb6d5998ad5..46e209999421b08d3d989253a13ef533272d2301 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         gpg(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2010-10-14
+" Language:             gpg(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2010-10-14
 
 if exists("b:current_syntax")
   finish
index ab2d56d6a5e6cbda355e8515db0acbc0fda4850c..f62a4a1d695aca044abe9ff331e4d579c1581b43 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         group(5) user group file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2012-08-05
+" Language:             group(5) user group file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2012-08-05
 
 if exists("b:current_syntax")
   finish
index f63449db0ec6ebabeaf15a76897c3b3179e37c60..3743ae3643e07b57d1aa9f5eff0bd1338aab6495 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         grub(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             grub(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 4fc8af0ba3a2770706a534e0c357d6eeff34003d..593ed72eeddb68393ae93991f3eef5f484d5ed02 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         host.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-25
+" Language:             host.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-25
 
 if exists("b:current_syntax")
   finish
index 389101a5227f55468fe252b452c62ff21476f478..ddeae67e0d8a19a07f4e94405ce5f881a6def065 100644 (file)
@@ -1,10 +1,10 @@
 " Vim syntax file
-" Language:         indent(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2010-01-23
-"   indent_is_bsd:  If exists, will change somewhat to match BSD implementation
+" Language:             indent(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2010-01-23
+"   indent_is_bsd:      If exists, will change somewhat to match BSD implementation
 "
-" TODO: is the deny-all (a la lilo.vim nice or no?)...
+" TODO:     is the deny-all (a la lilo.vim nice or no?)...
 "       irritating to be wrong to the last char...
 "       would be sweet if right until one char fails
 
index 8f3462f5cf0b3a73d453c5bcbb90f32e82722d9b..564a6e0ccaf1937f26ebf7381a1e783fa79be2a6 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         TeX (core definition)
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             TeX (core definition)
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
@@ -11,7 +11,7 @@ let s:cpo_save = &cpo
 set cpo&vim
 
 " This follows the grouping (sort of) found at
-" http://www.tug.org/utilities/plain/cseq.html#top-fam
+" http: //www.tug.org/utilities/plain/cseq.html#top-fam
 
 syn keyword initexTodo                          TODO FIXME XXX NOTE
 
index fc12919c501580e1ca6a9a6e255ef70e117c2376..22949d9759e811573c4e6e8eb1398d00156f23fc 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         ld(1) script
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             ld(1) script
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 70ddaab57a5982c87f0fd63807972467ed32240f..662ea203be2f17587c6f3158cc121fa979f329b7 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         ldap.conf(5) configuration file.
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-11
+" Language:             ldap.conf(5) configuration file.
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-11
 
 if exists("b:current_syntax")
   finish
index 6a8e4f9e1991b53e768173d29d5c52ca4703a05e..20ddee5bcb06ee6a289b136e2d8dc0f62125742a 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         lftp(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-17
+" Language:             lftp(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-17
 
 if exists("b:current_syntax")
   finish
index 25b6e8284e71fc277e591757c4d035414c847700..1a3bd90cc52660cfda52e5be872c4c466605272a 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         libao.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             libao.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index a6d245ae1122f9c45c5e9e67e2f6f80e1aa6fdff..96bd423869456b4915d61a5492431573bd6c332c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         limits(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             limits(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index b4c15faf65a90b97b0e2414be516d3149c5fdd54..e3d967f0107db562893382bce2c46474bdf35bc4 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         LiteStep RC file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-02-22
+" Language:             LiteStep RC file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-02-22
 
 if exists("b:current_syntax")
   finish
index 07d60eeca0347e04e39286df84e4575396be58a8..650e067d189d7edd29ee555c5979a706d21822cd 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         login.access(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             login.access(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 59d18e7ef4af8fd2258d05a81538740eed2a4ba7..8cb4295edab8d3c10abb1c2683bfeafe78eb5905 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         login.defs(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2010-11-29
+" Language:             login.defs(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2010-11-29
 
 if exists("b:current_syntax")
   finish
index 743068f66f6331ea442496ecad14bbaf2cd92b0d..a5282aa074947ef13b56c3157101e1f694c64fb7 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         aliases(5) local alias database file
-" Maintainer:       Nikolai Weibull <nikolai@bitwi.se>
-" Latest Revision:  2008-04-14
+" Language:             aliases(5) local alias database file
+" Previous Maintainer:  Nikolai Weibull <nikolai@bitwi.se>
+" Latest Revision:      2008-04-14
 
 if exists("b:current_syntax")
   finish
index 90ecc8ec17cad6e4c1387cebcb559187ba2b314e..2c17568d87b7fe3166215c5ecee6a7d441fa86da 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         man.conf(5) - man configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             man.conf(5) - man configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 54b6593b6684d57f12d980acce242c2c1efc8738..76b36edcf02e2bd6a0ff4fe0e6dcec0da776ae7e 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         modules.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-10-25
+" Language:             modules.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-10-25
 
 if exists("b:current_syntax")
   finish
index 2ae4961fdbc9b50b07b7c72c65dc9740aa640299..606ac7fdf1e7e3c656f96d045d93bbd03c4f12bf 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         nanorc(5) - GNU nano configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             nanorc(5) - GNU nano configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 9f15d16637c4475fd1c9782801bb165e656c690d..4d068a1b763ca78c511a0703f6d5f17ef8b9918d 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         netrc(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2010-01-03
+" Language:             netrc(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2010-01-03
 
 if exists("b:current_syntax")
   finish
index e3c8ba87fd017c5fbeeb61513e5ad1aaeeccc9aa..10d667bdf5ed4c7a6715e27600661156af190e05 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         pam(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2011-08-03
+" Language:             pam(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2011-08-03
 
 
 if exists("b:current_syntax")
index cdaed58cc0f6b110f3fb86c036d4dc9f00429a22..ad90202b06d1d95754e4d7bfe7a452ebc0aafa44 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         passwd(5) password file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-10-03
+" Language:             passwd(5) password file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-10-03
 
 if exists("b:current_syntax")
   finish
index bf4126e59a61be3866e539e646b56bc9186d0219..cb9e60ebb34b9379adc8ce3dfd338efae6f5d8dd 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         pinfo(1) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-17
+" Language:             pinfo(1) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-17
 
 if exists("b:current_syntax")
   finish
index 7020c68e9bd8865f09d606087bfa3094258bd2b4..5cb49a0bfc1a0ea3e05e6fdec5d63f8e960dda59 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         TeX (plain.tex format)
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-10-26
+" Language:             TeX (plain.tex format)
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-10-26
 
 if exists("b:current_syntax")
   finish
index 1dc109caf65172fdf9155ea24c343cb842ca9b85..f31ca5a4b7090d72b1f337715cbfa5ff22eafb87 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         protocols(5) - Internet protocols definition file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             protocols(5) - Internet protocols definition file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 3a9b68d6f38a8d8da57e2bd3f4ca8696723730cd..7db53106ad83fa1fee7e0c45c8e1b67a0bde7f3a 100644 (file)
@@ -1,11 +1,11 @@
 " Vim syntax file
-" Language:         Quake[1-3] configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-17
+" Language:             Quake[1-3] configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-17
 "               quake_is_quake1 - the syntax is to be used for quake1 configs
 "               quake_is_quake2 - the syntax is to be used for quake2 configs
 "               quake_is_quake3 - the syntax is to be used for quake3 configs
-" Credits:          Tomasz Kalkosinski wrote the original quake3Colors stuff
+" Credits:              Tomasz Kalkosinski wrote the original quake3Colors stuff
 
 if exists("b:current_syntax")
   finish
index d412227cbd5125dc59d078ac7f0c14906ab1b199..2d4c176eb7bf204325c06dc270009dabd923c9a7 100644 (file)
@@ -1,7 +1,7 @@
 " Vim default file
-" Language:         Racc input file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-06-22
+" Language:             Racc input file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2008-06-22
 
 if exists("b:current_syntax")
   finish
index 091722e5e5ca643f7df6267d527bb8a6d30ffd1e..2ec0c8e60a72ba6100f06216b580134275cd5477 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         readline(3) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2012-04-25
+" Language:             readline(3) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2012-04-25
 "   readline_has_bash - if defined add support for bash specific
 "                       settings/functions
 
index 8436c88755656e08ed2082857ab815754c4fe6b8..7d3907e991d0dc6c7f589fae0a18ecf285ba22cd 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         Relax NG compact syntax
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-17
+" Language:             Relax NG compact syntax
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-06-17
 
 if exists("b:current_syntax")
   finish
index 63cececc684231458fb36f0d9eb2a40ad1adf67d..f8bc4c696bd4ba1489ac268aa5dbdc09abeeb971 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         sensors.conf(5) - libsensors configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             sensors.conf(5) - libsensors configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 661f57a7e878215839a48de939fb494cd280adc8..94e39ae21910d09b94d0dad59992b59c1edb6427 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         services(5) - Internet network services list
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             services(5) - Internet network services list
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index cdd309d7f279129f8fa21bf7ec1478eb7d9a9485..967fa5f6d2defd17654df024ebe0c6b0f1766f20 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         setserial(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             setserial(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 4bb4417f39abb7fbc6f4fed73336ed8741339787..35b4dfb79c5e0b2a73582abc6c47f69281d0e404 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         Sieve filtering language input file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-10-25
+" Language:             Sieve filtering language input file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2007-10-25
 
 if exists("b:current_syntax")
   finish
index 9fe4503780f4918bb2a80019d31464b3502893dc..712ba90719ffae7f877faf1fbddf710907e971c5 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         RFC 2614 - An API for Service Location configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             RFC 2614 - An API for Service Location configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index f3c8a7fc8ef18ff556501f11c2085bf3a3a4fd4f..a177b063f011e0632e635970aa0f67b79466d34c 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         RFC 2614 - An API for Service Location registration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             RFC 2614 - An API for Service Location registration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 8507e3de696cbabb4d6cf8ccf150713e39a96ec8..eaeb02a80f13712420f15f4ede41445bb3c51823 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         RFC 2614 - An API for Service Location SPI file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             RFC 2614 - An API for Service Location SPI file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index fffc1cf8bb0e5c7a90d17134983f3b61b672ab10..df1eb99b420a3c7ef24f0a5ef388111dd9d6f4f5 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         sudoers(5) configuration files
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2011-02-24
+" Language:             sudoers(5) configuration files
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2011-02-24
 
 if exists("b:current_syntax")
   finish
index 748054fd73f456f45827a2c52684f43bab8824b5..d99ac018350b52708b4ad8aa7e4c6da47a67b195 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         sysctl.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2011-05-02
+" Language:             sysctl.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2011-05-02
 
 if exists("b:current_syntax")
   finish
index 0ea112ad4705f46d99acc8c4f494c5fcc4aafbe8..2b0ab0860a71c3f0e9ecb65bd9296cccfad229c4 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         terminfo(5) definition
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             terminfo(5) definition
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
diff --git a/runtime/syntax/tmux.vim b/runtime/syntax/tmux.vim
new file mode 100644 (file)
index 0000000..4e87de8
--- /dev/null
@@ -0,0 +1,127 @@
+" Language: tmux(1) configuration file
+" Version: 2.3 (git-14dc2ac)
+" URL: https://github.com/ericpruitt/tmux.vim/
+" Maintainer: Eric Pruitt <eric.pruitt@gmail.com>
+" License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause)
+
+if version < 600
+    syntax clear
+elseif exists("b:current_syntax")
+    finish
+else
+    let b:current_syntax = "tmux"
+endif
+
+" this file uses line continuations
+let s:cpo_sav = &cpo
+set cpo&vim
+
+setlocal iskeyword+=-
+syntax case match
+
+syn keyword tmuxAction  none any current other
+syn keyword tmuxBoolean off on
+
+syn keyword tmuxTodo FIXME NOTE TODO XXX contained
+
+syn match tmuxColour            /\<colour[0-9]\+/      display
+syn match tmuxKey               /\(C-\|M-\|\^\)\+\S\+/ display
+syn match tmuxNumber            /\d\+/                 display
+syn match tmuxFlags             /\s-\a\+/              display
+syn match tmuxVariable          /\w\+=/                display
+syn match tmuxVariableExpansion /\${\=\w\+}\=/         display
+
+syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo
+
+syn region tmuxString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=tmuxFormatString
+syn region tmuxString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end='$' contains=tmuxFormatString
+
+" TODO: Figure out how escaping works inside of #(...) and #{...} blocks.
+syn region tmuxFormatString start=/#[#DFhHIPSTW]/ end=// contained keepend
+syn region tmuxFormatString start=/#{/ skip=/#{.\{-}}/ end=/}/ contained keepend
+syn region tmuxFormatString start=/#(/ skip=/#(.\{-})/ end=/)/ contained keepend
+
+hi def link tmuxFormatString      Identifier
+hi def link tmuxAction            Boolean
+hi def link tmuxBoolean           Boolean
+hi def link tmuxCommands          Keyword
+hi def link tmuxComment           Comment
+hi def link tmuxKey               Special
+hi def link tmuxNumber            Number
+hi def link tmuxFlags             Identifier
+hi def link tmuxOptions           Function
+hi def link tmuxString            String
+hi def link tmuxTodo              Todo
+hi def link tmuxVariable          Identifier
+hi def link tmuxVariableExpansion Identifier
+
+" Make the foreground of colourXXX keywords match the color they represent.
+" Darker colors have their background set to white.
+for s:i in range(0, 255)
+    let s:bg = (!s:i || s:i == 16 || (s:i > 231 && s:i < 235)) ? 15 : "none"
+    exec "syn match tmuxColour" . s:i . " /\\<colour" . s:i . "\\>/ display"
+\     " | highlight tmuxColour" . s:i . " ctermfg=" . s:i . " ctermbg=" . s:bg
+endfor
+unlet s:bg s:i
+
+syn keyword tmuxOptions
+\ buffer-limit command-alias default-terminal escape-time exit-unattached
+\ focus-events history-file message-limit set-clipboard terminal-overrides
+\ assume-paste-time base-index bell-action bell-on-alert default-command
+\ default-shell destroy-unattached detach-on-destroy
+\ display-panes-active-colour display-panes-colour display-panes-time
+\ display-time history-limit key-table lock-after-time lock-command
+\ message-attr message-bg message-command-attr message-command-bg
+\ message-command-fg message-command-style message-fg message-style mouse
+\ prefix prefix2 renumber-windows repeat-time set-titles set-titles-string
+\ status status-attr status-bg status-fg status-interval status-justify
+\ status-keys status-left status-left-attr status-left-bg status-left-fg
+\ status-left-length status-left-style status-position status-right
+\ status-right-attr status-right-bg status-right-fg status-right-length
+\ status-right-style status-style update-environment visual-activity
+\ visual-bell visual-silence word-separators aggressive-resize allow-rename
+\ alternate-screen automatic-rename automatic-rename-format
+\ clock-mode-colour clock-mode-style force-height force-width
+\ main-pane-height main-pane-width mode-attr mode-bg mode-fg mode-keys
+\ mode-style monitor-activity monitor-silence other-pane-height
+\ other-pane-width pane-active-border-bg pane-active-border-fg
+\ pane-active-border-style pane-base-index pane-border-bg pane-border-fg
+\ pane-border-format pane-border-status pane-border-style remain-on-exit
+\ synchronize-panes window-active-style window-style
+\ window-status-activity-attr window-status-activity-bg
+\ window-status-activity-fg window-status-activity-style window-status-attr
+\ window-status-bell-attr window-status-bell-bg window-status-bell-fg
+\ window-status-bell-style window-status-bg window-status-current-attr
+\ window-status-current-bg window-status-current-fg
+\ window-status-current-format window-status-current-style window-status-fg
+\ window-status-format window-status-last-attr window-status-last-bg
+\ window-status-last-fg window-status-last-style window-status-separator
+\ window-status-style wrap-search xterm-keys
+
+syn keyword tmuxCommands
+\ attach-session attach bind-key bind break-pane breakp capture-pane
+\ capturep clear-history clearhist choose-buffer choose-client choose-tree
+\ choose-session choose-window command-prompt confirm-before confirm
+\ copy-mode clock-mode detach-client detach suspend-client suspendc
+\ display-message display display-panes displayp find-window findw if-shell
+\ if join-pane joinp move-pane movep kill-pane killp kill-server
+\ start-server start kill-session kill-window killw unlink-window unlinkw
+\ list-buffers lsb list-clients lsc list-keys lsk list-commands lscm
+\ list-panes lsp list-sessions ls list-windows lsw load-buffer loadb
+\ lock-server lock lock-session locks lock-client lockc move-window movew
+\ link-window linkw new-session new has-session has new-window neww
+\ paste-buffer pasteb pipe-pane pipep refresh-client refresh rename-session
+\ rename rename-window renamew resize-pane resizep respawn-pane respawnp
+\ respawn-window respawnw rotate-window rotatew run-shell run save-buffer
+\ saveb show-buffer showb select-layout selectl next-layout nextl
+\ previous-layout prevl select-pane selectp last-pane lastp select-window
+\ selectw next-window next previous-window prev last-window last send-keys
+\ send send-prefix set-buffer setb delete-buffer deleteb set-environment
+\ setenv set-hook show-hooks set-option set set-window-option setw
+\ show-environment showenv show-messages showmsgs show-options show
+\ show-window-options showw source-file source split-window splitw swap-pane
+\ swapp swap-window swapw switch-client switchc unbind-key unbind wait-for
+\ wait
+
+let &cpo = s:cpo_sav
+unlet! s:cpo_sav
index 921c5bea1da456970224edf3b7fd07a85401d6bc..60bbf261933976cb7e0d1eb876befd3c61fe5a00 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         Treetop
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2011-03-14
+" Language:             Treetop
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2011-03-14
 
 if exists("b:current_syntax")
   finish
index a294604906e84ea869a30daf4e95a82d58b4be80..82fd81daf65f044598844fec1a4f43b6cca62aca 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         udev(8) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             udev(8) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 9d3af09d076fca7e24f92f7c4080a326fad41110..abda0b6663cde846b9d71ef1d799edb145e99093 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         udev(8) permissions file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             udev(8) permissions file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index b04d728865dc6cd82ed1f6594d5e01c8957db81e..ce156ccc13515499273c95bad5dd409651039f8e 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         udev(8) rules file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-12-18
+" Language:             udev(8) rules file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-12-18
 
 if exists("b:current_syntax")
   finish
index 7c082d62df0900c9a6abdadc84bea03587a2afcd..224a7dd2c2c967904649c6a3c5e36a72cc57dccb 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         updatedb.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2009-05-25
+" Language:             updatedb.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2009-05-25
 
 if exists("b:current_syntax")
   finish
index 9010a48a1df0bf3d85064883de5e6f37d2f54c55..fab3a916ead7aafea00d240d2dfd1483c10a1641 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         xinetd.conf(5) configuration file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             xinetd.conf(5) configuration file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish
index 69c70c563d386aa402028f679f0c3014eaa5cad8..28cae3eb71472ed2fadb6c184fd890615191849a 100644 (file)
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:         xmodmap(1) definition file
-" Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Language:             xmodmap(1) definition file
+" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
+" Latest Revision:      2006-04-19
 
 if exists("b:current_syntax")
   finish