0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

Updated runtime files.

This commit is contained in:
Bram Moolenaar 2016-07-15 22:54:41 +02:00
parent e0d3797664
commit 269f595f9e
9 changed files with 100 additions and 125 deletions

View File

@ -1,4 +1,4 @@
*channel.txt* For Vim version 7.4. Last change: 2016 Jul 07 *channel.txt* For Vim version 7.4. Last change: 2016 Jul 15
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -6,13 +6,9 @@
Inter-process communication *channel* Inter-process communication *channel*
DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT
Vim uses channels to communicate with other processes. Vim uses channels to communicate with other processes.
A channel uses a socket or pipes *socket-interface* A channel uses a socket or pipes. *socket-interface*
Jobs can be used to start processes and communicate with them. Jobs can be used to start processes and communicate with them.
Vim current supports up to 10 simultaneous channels.
The Netbeans interface also uses a channel. |netbeans| The Netbeans interface also uses a channel. |netbeans|
1. Overview |job-channel-overview| 1. Overview |job-channel-overview|
@ -569,11 +565,13 @@ See |job_setoptions()| and |ch_setoptions()|.
"out_cb": handler Callback for when there is something to read on "out_cb": handler Callback for when there is something to read on
stdout. Only for when the channel uses pipes. When stdout. Only for when the channel uses pipes. When
"out_cb" wasn't set the channel callback is used. "out_cb" wasn't set the channel callback is used.
The two arguments are the channel and the message.
*job-err_cb* *err_cb* *job-err_cb* *err_cb*
"err_cb": handler Callback for when there is something to read on "err_cb": handler Callback for when there is something to read on
stderr. Only for when the channel uses pipes. When stderr. Only for when the channel uses pipes. When
"err_cb" wasn't set the channel callback is used. "err_cb" wasn't set the channel callback is used.
The two arguments are the channel and the message.
*job-close_cb* *job-close_cb*
"close_cb": handler Callback for when the channel is closed. Same as "close_cb": handler Callback for when the channel is closed. Same as
"close_cb" on |ch_open()|, see |close_cb|. "close_cb" on |ch_open()|, see |close_cb|.

View File

@ -1,4 +1,4 @@
*message.txt* For Vim version 7.4. Last change: 2016 Apr 14 *message.txt* For Vim version 7.4. Last change: 2016 Jul 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -673,6 +673,12 @@ You must be using an awful lot of buffers. It's now possible that two buffers
have the same number, which causes various problems. You might want to exit have the same number, which causes various problems. You might want to exit
Vim and restart it. Vim and restart it.
*E931* >
Buffer cannot be registered
Out of memory or a duplicate buffer number. May habben after W14. Looking up
a buffer will not always work, better restart Vim.
*E296* *E297* > *E296* *E297* >
Seek error in swap file write Seek error in swap file write
Write error in swap file Write error in swap file

View File

@ -1,4 +1,4 @@
*motion.txt* For Vim version 7.4. Last change: 2016 Jun 12 *motion.txt* For Vim version 7.4. Last change: 2016 Jul 12
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -586,7 +586,7 @@ i[ "inner [] block", select [count] '[' ']' blocks. This
When used in Visual mode it is made characterwise. When used in Visual mode it is made characterwise.
a) *v_a)* *a)* *a(* a) *v_a)* *a)* *a(*
a( *v_ab* *v_a(* *ab* a( *vab* *v_ab* *v_a(* *ab*
ab "a block", select [count] blocks, from "[count] [(" to ab "a block", select [count] blocks, from "[count] [(" to
the matching ')', including the '(' and ')' (see the matching ')', including the '(' and ')' (see
|[(|). Does not include white space outside of the |[(|). Does not include white space outside of the
@ -594,7 +594,7 @@ ab "a block", select [count] blocks, from "[count] [(" to
When used in Visual mode it is made characterwise. When used in Visual mode it is made characterwise.
i) *v_i)* *i)* *i(* i) *v_i)* *i)* *i(*
i( *v_ib* *v_i(* *ib* i( *vib* *v_ib* *v_i(* *ib*
ib "inner block", select [count] blocks, from "[count] [(" ib "inner block", select [count] blocks, from "[count] [("
to the matching ')', excluding the '(' and ')' (see to the matching ')', excluding the '(' and ')' (see
|[(|). |[(|).

View File

@ -1,4 +1,4 @@
*netbeans.txt* For Vim version 7.4. Last change: 2016 Feb 18 *netbeans.txt* For Vim version 7.4. Last change: 2016 Jul 15
VIM REFERENCE MANUAL by Gordon Prieur et al. VIM REFERENCE MANUAL by Gordon Prieur et al.
@ -59,6 +59,8 @@ Current projects using the NetBeans protocol of Vim are:
Check the specific project pages to see how to use Vim with these projects. Check the specific project pages to see how to use Vim with these projects.
An alternative is to use a channel, see |channel|.
In the rest of this help page, we will use the term "Vim Controller" to In the rest of this help page, we will use the term "Vim Controller" to
describe the program controlling Vim through the NetBeans socket interface. describe the program controlling Vim through the NetBeans socket interface.

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 7.4. Last change: 2016 Jul 09 *options.txt* For Vim version 7.4. Last change: 2016 Jul 12
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -6455,6 +6455,8 @@ A jump table for the options with a short description can be found at |Q_op|.
The |FilterReadPre|, |FilterReadPost| and |FilterWritePre|, The |FilterReadPre|, |FilterReadPost| and |FilterWritePre|,
|FilterWritePost| autocommands event are not triggered when |FilterWritePost| autocommands event are not triggered when
'shelltemp' is off. 'shelltemp' is off.
The `system()` function does not respect this option and always uses
temp files.
*'shelltype'* *'st'* *'shelltype'* *'st'*
'shelltype' 'st' number (default 0) 'shelltype' 'st' number (default 0)

View File

@ -4462,6 +4462,7 @@ E928 eval.txt /*E928*
E929 starting.txt /*E929* E929 starting.txt /*E929*
E93 windows.txt /*E93* E93 windows.txt /*E93*
E930 eval.txt /*E930* E930 eval.txt /*E930*
E931 message.txt /*E931*
E94 windows.txt /*E94* E94 windows.txt /*E94*
E95 message.txt /*E95* E95 message.txt /*E95*
E96 diff.txt /*E96* E96 diff.txt /*E96*
@ -5809,6 +5810,7 @@ expr-is? eval.txt /*expr-is?*
expr-isnot eval.txt /*expr-isnot* expr-isnot eval.txt /*expr-isnot*
expr-isnot# eval.txt /*expr-isnot#* expr-isnot# eval.txt /*expr-isnot#*
expr-isnot? eval.txt /*expr-isnot?* expr-isnot? eval.txt /*expr-isnot?*
expr-lambda eval.txt /*expr-lambda*
expr-nesting eval.txt /*expr-nesting* expr-nesting eval.txt /*expr-nesting*
expr-number eval.txt /*expr-number* expr-number eval.txt /*expr-number*
expr-option eval.txt /*expr-option* expr-option eval.txt /*expr-option*
@ -6968,6 +6970,7 @@ l: eval.txt /*l:*
l:var eval.txt /*l:var* l:var eval.txt /*l:var*
lCursor mbyte.txt /*lCursor* lCursor mbyte.txt /*lCursor*
lace.vim syntax.txt /*lace.vim* lace.vim syntax.txt /*lace.vim*
lambda eval.txt /*lambda*
lang-variable eval.txt /*lang-variable* lang-variable eval.txt /*lang-variable*
language-mapping map.txt /*language-mapping* language-mapping map.txt /*language-mapping*
last-pattern pattern.txt /*last-pattern* last-pattern pattern.txt /*last-pattern*
@ -8958,6 +8961,7 @@ v_v visual.txt /*v_v*
v_x change.txt /*v_x* v_x change.txt /*v_x*
v_y change.txt /*v_y* v_y change.txt /*v_y*
v_~ change.txt /*v_~* v_~ change.txt /*v_~*
vab motion.txt /*vab*
val-variable eval.txt /*val-variable* val-variable eval.txt /*val-variable*
valgrind debug.txt /*valgrind* valgrind debug.txt /*valgrind*
values() eval.txt /*values()* values() eval.txt /*values()*
@ -9005,6 +9009,7 @@ vi intro.txt /*vi*
vi-differences vi_diff.txt /*vi-differences* vi-differences vi_diff.txt /*vi-differences*
vi: options.txt /*vi:* vi: options.txt /*vi:*
vi_diff.txt vi_diff.txt /*vi_diff.txt* vi_diff.txt vi_diff.txt /*vi_diff.txt*
vib motion.txt /*vib*
view starting.txt /*view* view starting.txt /*view*
view-diffs diff.txt /*view-diffs* view-diffs diff.txt /*view-diffs*
view-file starting.txt /*view-file* view-file starting.txt /*view-file*

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.4. Last change: 2016 Jul 09 *todo.txt* For Vim version 7.4. Last change: 2016 Jul 15
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -38,10 +38,6 @@ Problem with setqflist([]): grep 4 times, ":colder 3", setqflist([]) will
clear the next list, not the current one. Ramel Eshed, Jun 8. clear the next list, not the current one. Ramel Eshed, Jun 8.
+channel: +channel:
- GUI cursor blinking interrupted when the job output goes to a buffer that is
in a window. (Ramel Eshed, 2016 Jun 9)
- GUI cursor blinking interrupted when there is a status line. (Ramel Eshed,
2016 Jun 9)
- When a message in the queue but there is no callback, drop it after a while? - When a message in the queue but there is no callback, drop it after a while?
Add timestamp to queued messages and callbacks with ID, remove after a Add timestamp to queued messages and callbacks with ID, remove after a
minute. Option to set the droptime. minute. Option to set the droptime.
@ -62,10 +58,10 @@ Quickfix improvements for background building and grepping:
creating lots of buffers. (Ramel Eshed) creating lots of buffers. (Ramel Eshed)
Store the relative file name and set a flag "qf_relative". Before changing Store the relative file name and set a flag "qf_relative". Before changing
directory turn them into full paths. directory turn them into full paths.
When using getqflist() or getloclist() we need to get the bufnr for other
plugins. Add a flag to not do that.
Regexp problems: Regexp problems:
- When using automatic engine selection there is a false match. Forcing
either engine works OK. (fritzophrenic, 2016 Jun 15, #867)
- Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6. - Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6.
(Manuel Ortega, 2016 Apr 24) (Manuel Ortega, 2016 Apr 24)
Test fails on Mac. Avoid using isalpha(), isalnum(), etc? Depends on Test fails on Mac. Avoid using isalpha(), isalnum(), etc? Depends on
@ -120,13 +116,7 @@ What if there is an invalid character?
Should json_encode()/json_decode() restrict recursiveness? Should json_encode()/json_decode() restrict recursiveness?
Or avoid recursiveness. Or avoid recursiveness.
Add a lambda() function. Also use funcref for substitute, instead of \=.
Patch by Yasuhiro Matsumoto, 2014 Sep 16, update 2016 Apr 17.
Correction for test, Ken Takata, 2016 May 27.
Merged patch: Ken Takata, 2016 Jun 15.
Need to separate-out closure and lambda somehow.
Define lambda directly, not as a string: {v -> v * 8}
Lambda implementation by Ken Takata, 2016 Jul 7.
Python: Extended funcrefs: use func_T* structure in place of char_u* function Python: Extended funcrefs: use func_T* structure in place of char_u* function
names. names.
@ -136,6 +126,8 @@ Also fixes Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5)
Once .exe with updated installer is available: Add remark to download page Once .exe with updated installer is available: Add remark to download page
about /S and /D options (Ken Takata, 2016 Apr 13) about /S and /D options (Ken Takata, 2016 Apr 13)
Patch to remove unsupported systems. (Hirohito Higashi, 2016 Jul 13)
Cursor positioned in the wrong place when editing src/testdir/test_viml.vim. Cursor positioned in the wrong place when editing src/testdir/test_viml.vim.
Javascript indent wrong after /* in single quoted string: Javascript indent wrong after /* in single quoted string:
@ -152,23 +144,11 @@ Invalid behavior with NULL list. (Nikolai Pavlov, #768)
For current Windows build .pdb file is missing. (Gabriele Fava, 2016 May 11) For current Windows build .pdb file is missing. (Gabriele Fava, 2016 May 11)
5) 5)
'completeopt' noinsert breaks redo register (Shougo, 2016 Jun 18, #874)
Patch to fix this: #905.
There also is #875 to fix another problem?
Problem with whitespace in errorformat. (Gerd Wachsmuth, 2016 May 15, #807) Problem with whitespace in errorformat. (Gerd Wachsmuth, 2016 May 15, #807)
":caddexpr" should keep state, so that directory changes can be respected.
(Luc Hermitte, 2016 Jun 6)
Don't clear dir_stack and file_stack when returning, do it on entry when not
adding iterms. And keep them in qf_list_T.
Patch to add filtering of the quickfix list. (Yegappan Lakshmanan, 2016 Mar Patch to add filtering of the quickfix list. (Yegappan Lakshmanan, 2016 Mar
13, last version) Update June 26, #830. 13, last version) Update June 26, #830.
Instead use a Vim script implementation, invoked from a Vim command.
When 'autochdir' is set, writing new file does not change the current dir.
(Dan Church, issue #777)
Patch to fix this. (mister fish (Allen Haim), 2016 May 14, #803)
ml_get errors when reloading file. (Chris Desjardins, 2016 Apr 19) ml_get errors when reloading file. (Chris Desjardins, 2016 Apr 19)
Also with latest version. Also with latest version.
@ -183,6 +163,11 @@ Cannot delete a file with square brackets with delete(). (#696)
No autocommand for when changing directory. Patch from allen haim, 2016 Jun No autocommand for when changing directory. Patch from allen haim, 2016 Jun
27, #888 27, #888
Justin M Keyes: use "global" or "window" for the pattern. Can add "tab"
later.
MS-Windows: use WS_HIDE instead of SW_SHOWMINNOACTIVE in os_win32.c?
Otherwise task flickers in taskbar.
Should make ":@r" handle line continuation. (Cesar Romani, 2016 Jun 26) Should make ":@r" handle line continuation. (Cesar Romani, 2016 Jun 26)
Also for ":@.". Also for ":@.".
@ -190,6 +175,8 @@ Also for ":@.".
Patch to add TabNew, TabNewEntered and TabClosed autocommand events. Patch to add TabNew, TabNewEntered and TabClosed autocommand events.
(Felipe Morales, 2015 Feb 1) (Felipe Morales, 2015 Feb 1)
Repeating 'opfunc' in a function only works once. (Tarmean, 2016 Jul 15, #925)
Patch on issue #728 by Christian Brabandt, 2016 Apr 7. Update with test: Apr 8. Patch on issue #728 by Christian Brabandt, 2016 Apr 7. Update with test: Apr 8.
Explanation Apr 12. Explanation Apr 12.
Might be related to: Might be related to:
@ -203,6 +190,9 @@ Patch for C syntax HL. (Bradley Garagan, 2016 Apr 17) #763
Patch to make matchit work better, respect 'matchpairs'. (Ken Takata, 2016 Mar Patch to make matchit work better, respect 'matchpairs'. (Ken Takata, 2016 Mar
25) 25)
This does not work: :set cscopequickfix=a-
(Linewi, 2015 Jul 12, #914)
Possibly wrong value for seq_cur. (Florent Fayolle, 2016 May 15, #806) Possibly wrong value for seq_cur. (Florent Fayolle, 2016 May 15, #806)
Patch to improve map documentation. Issue #799. Patch to improve map documentation. Issue #799.
@ -3847,7 +3837,7 @@ Vim script language:
8 Pass the command line arguments to Vim scripts in some way. As v:args 8 Pass the command line arguments to Vim scripts in some way. As v:args
List? Or extra parameter to argv()? List? Or extra parameter to argv()?
8 Add command arguments with three dashes, passed on to Vim scripts. 8 Add command arguments with three dashes, passed on to Vim scripts.
7 Add optional arguments to user functions: 9 Add optional arguments to user functions:
:func myFunc(arg1, arg2, arg3 = "blah", arg4 = 17) :func myFunc(arg1, arg2, arg3 = "blah", arg4 = 17)
6 User functions: Functions local to buffer "b:func()"? 6 User functions: Functions local to buffer "b:func()"?
8 For Strings add ":let var[{expr}] = {expr}". When past the end of "var" 8 For Strings add ":let var[{expr}] = {expr}". When past the end of "var"

View File

@ -1,7 +1,7 @@
" Vim support file to detect file types " Vim support file to detect file types
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2016 Jun 26 " Last Change: 2016 Jul 12
" Listen very carefully, I will say this only once " Listen very carefully, I will say this only once
if exists("did_load_filetypes") if exists("did_load_filetypes")
@ -1621,11 +1621,9 @@ au BufNewFile,BufRead */etc/protocols setf protocols
" Pyrex " Pyrex
au BufNewFile,BufRead *.pyx,*.pxd setf pyrex au BufNewFile,BufRead *.pyx,*.pxd setf pyrex
" Python " Python, Python Shell Startup Files
au BufNewFile,BufRead *.py,*.pyw setf python
" Quixote (Python-based web framework) " Quixote (Python-based web framework)
au BufNewFile,BufRead *.ptl setf python au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc,*.ptl setf python
" Radiance " Radiance
au BufNewFile,BufRead *.rad,*.mat setf radiance au BufNewFile,BufRead *.rad,*.mat setf radiance

View File

@ -1,15 +1,15 @@
" Vim syntax file " Vim syntax file
" Language: awk, nawk, gawk, mawk " Language: awk, nawk, gawk, mawk
" Maintainer: Antonio Colombo <azc100@gmail.com> " Maintainer: Antonio Colombo <azc100@gmail.com>
" Last Change: 2014 Oct 21 " Last Change: 2016 Jul 15
" AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger " AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger
" The AWK Programming Language, Addison-Wesley, 1988 " The AWK Programming Language, Addison-Wesley, 1988
" GAWK ref. is: Arnold D. Robbins " GAWK ref. is: Arnold D. Robbins
" Effective AWK Programming, Third Edition, O'Reilly, 2001 " Effective AWK Programming, Third Edition, O'Reilly, 2001
" Effective AWK Programming, Fourth Edition, O'Reilly, 2015 " Effective AWK Programming, Fourth Edition, O'Reilly, 2015
" (also available with the gawk source distribution) " (also available and updated with the gawk source distribution)
" MAWK is a "new awk" meaning it implements AWK ref. " MAWK is a "new awk" meaning it implements AWK ref.
" mawk conforms to the Posix 1003.2 (draft 11.3) " mawk conforms to the Posix 1003.2 (draft 11.3)
@ -19,11 +19,8 @@
" TODO: " TODO:
" Dig into the commented out syntax expressions below. " Dig into the commented out syntax expressions below.
" For version 5.x: Clear all syntax items " Quit when a syntax file was already loaded
" For version 6.x: Quit when a syntax file was already loaded if exists("b:current_syntax")
if version < 600
syn clear
elseif exists("b:current_syntax")
finish finish
endif endif
@ -35,13 +32,13 @@ set cpo&vim
syn keyword awkStatement break continue delete exit syn keyword awkStatement break continue delete exit
syn keyword awkStatement function getline next syn keyword awkStatement function getline next
syn keyword awkStatement print printf return syn keyword awkStatement print printf return
" GAWK ref. Chapter 7 " GAWK ref. Chapter 7-9
syn keyword awkStatement nextfile syn keyword awkStatement switch nextfile
syn keyword awkStatement func
" "
" GAWK ref. Chapter 9, Functions " GAWK ref. Chapter 9, Functions
"
" Numeric Functions " Numeric Functions
syn keyword awkFunction atan2 cos div exp int log rand sin sqrt srand syn keyword awkFunction atan2 cos exp int intdiv log rand sin sqrt srand
" String Manipulation Functions " String Manipulation Functions
syn keyword awkFunction asort asort1 gensub gsub index length match syn keyword awkFunction asort asort1 gensub gsub index length match
syn keyword awkFunction patsplit split sprintf strtonum sub substr syn keyword awkFunction patsplit split sprintf strtonum sub substr
@ -52,17 +49,17 @@ syn keyword awkFunction close fflush system
syn keyword awkFunction mktime strftime systime syn keyword awkFunction mktime strftime systime
" Bit Manipulation Functions " Bit Manipulation Functions
syn keyword awkFunction and compl lshift or rshift xor syn keyword awkFunction and compl lshift or rshift xor
" Getting Type Function " Getting Type Functions
syn keyword awkFunction isarray syn keyword awkFunction isarray typeof
" String-Translation Functions " String-Translation Functions
syn keyword awkFunction bindtextdomain dcgettext dcngetext syn keyword awkFunction bindtextdomain dcgettext dcngetext
syn keyword awkConditional if else syn keyword awkConditional if else
syn keyword awkRepeat while for syn keyword awkRepeat while for do
syn keyword awkTodo contained TODO syn keyword awkTodo contained TODO
syn keyword awkPatterns BEGIN END syn keyword awkPatterns BEGIN END BEGINFILE ENDFILE
" GAWK ref. Chapter 7 " GAWK ref. Chapter 7
" Built-in Variables That Control awk " Built-in Variables That Control awk
@ -74,20 +71,18 @@ syn keyword awkVariables ARGC ARGV ARGIND ENVIRON ERRNO FILENAME
syn keyword awkVariables FNR NF FUNCTAB NR PROCINFO RLENGTH RSTART syn keyword awkVariables FNR NF FUNCTAB NR PROCINFO RLENGTH RSTART
syn keyword awkVariables RT SYMTAB syn keyword awkVariables RT SYMTAB
syn keyword awkRepeat do
" Octal format character. " Octal format character.
syn match awkSpecialCharacter display contained "\\[0-7]\{1,3\}" syn match awkSpecialCharacter display contained "\\[0-7]\{1,3\}"
syn keyword awkStatement func nextfile
" Hex format character. " Hex format character.
syn match awkSpecialCharacter display contained "\\x[0-9A-Fa-f]\+" syn match awkSpecialCharacter display contained "\\x[0-9A-Fa-f]\+"
syn match awkFieldVars "\$\d\+" syn match awkFieldVars "\$\d\+"
"catch errors caused by wrong parenthesis " catch errors caused by wrong parenthesis
syn region awkParen transparent start="(" end=")" contains=ALLBUT,awkParenError,awkSpecialCharacter,awkArrayElement,awkArrayArray,awkTodo,awkRegExp,awkBrktRegExp,awkBrackets,awkCharClass syn region awkParen transparent start="(" end=")" contains=ALLBUT,awkParenError,awkSpecialCharacter,awkArrayElement,awkArrayArray,awkTodo,awkRegExp,awkBrktRegExp,awkBrackets,awkCharClass,awkComment
syn match awkParenError display ")" syn match awkParenError display ")"
syn match awkInParen display contained "[{}]" "syn match awkInParen display contained "[{}]"
" 64 lines for complex &&'s, and ||'s in a big "if" " 64 lines for complex &&'s, and ||'s in a big "if"
syn sync ccomment awkParen maxlines=64 syn sync ccomment awkParen maxlines=64
@ -141,7 +136,7 @@ syn match awkExpression "?\|:"
syn keyword awkExpression in syn keyword awkExpression in
" Boolean Logic (OR, AND, NOT) " Boolean Logic (OR, AND, NOT)
"syn match awkBoolLogic "||\|&&\|\!" syn match awkBoolLogic "||\|&&\|\!"
" This is overridden by less-than & greater-than. " This is overridden by less-than & greater-than.
" Put this above those to override them. " Put this above those to override them.
@ -171,63 +166,42 @@ syn region awkArray transparent start="\[" end="\]" contains=awkArray,awkArrayE
" (for the few instances where it would be more than "oneline") " (for the few instances where it would be more than "oneline")
syn sync ccomment awkArray maxlines=10 syn sync ccomment awkArray maxlines=10
" define the default highlighting " Define the default highlighting.
" For version 5.7 and earlier: only when not done already " Only used when an item doesn't have highlighting yet
" For version 5.8 and later: only when an item doesn't have highlighting yet hi def link awkConditional Conditional
if version >= 508 || !exists("did_awk_syn_inits") hi def link awkFunction Function
if version < 508 hi def link awkRepeat Repeat
let did_awk_syn_inits = 1 hi def link awkStatement Statement
command -nargs=+ HiLink hi link <args> hi def link awkString String
else hi def link awkSpecialPrintf Special
command -nargs=+ HiLink hi def link <args> hi def link awkSpecialCharacter Special
endif hi def link awkSearch String
hi def link awkBrackets awkRegExp
HiLink awkConditional Conditional hi def link awkBrktRegExp awkNestRegExp
HiLink awkFunction Function hi def link awkCharClass awkNestRegExp
HiLink awkRepeat Repeat hi def link awkNestRegExp Keyword
HiLink awkStatement Statement hi def link awkRegExp Special
hi def link awkNumber Number
HiLink awkString String hi def link awkFloat Float
HiLink awkSpecialPrintf Special hi def link awkFileIO Special
HiLink awkSpecialCharacter Special hi def link awkOperator Special
hi def link awkExpression Special
HiLink awkSearch String hi def link awkBoolLogic Special
HiLink awkBrackets awkRegExp hi def link awkPatterns Special
HiLink awkBrktRegExp awkNestRegExp hi def link awkVariables Special
HiLink awkCharClass awkNestRegExp hi def link awkFieldVars Special
HiLink awkNestRegExp Keyword hi def link awkLineSkip Special
HiLink awkRegExp Special hi def link awkSemicolon Special
hi def link awkComma Special
HiLink awkNumber Number hi def link awkIdentifier Identifier
HiLink awkFloat Float hi def link awkComment Comment
hi def link awkTodo Todo
HiLink awkFileIO Special " Change this if you want nested array names to be highlighted.
HiLink awkOperator Special hi def link awkArrayArray awkArray
HiLink awkExpression Special hi def link awkArrayElement Special
HiLink awkBoolLogic Special hi def link awkParenError awkError
hi def link awkInParen awkError
HiLink awkPatterns Special hi def link awkError Error
HiLink awkVariables Special
HiLink awkFieldVars Special
HiLink awkLineSkip Special
HiLink awkSemicolon Special
HiLink awkComma Special
"HiLink awkIdentifier Identifier
HiLink awkComment Comment
HiLink awkTodo Todo
" Change this if you want nested array names to be highlighted.
HiLink awkArrayArray awkArray
HiLink awkArrayElement Special
HiLink awkParenError awkError
HiLink awkInParen awkError
HiLink awkError Error
delcommand HiLink
endif
let b:current_syntax = "awk" let b:current_syntax = "awk"