vim-patch:269f595

Updated runtime files.

269f595f9e
This commit is contained in:
Shougo Matsushita
2016-10-15 12:16:11 +09:00
parent f3efb724af
commit c91a0dca02
5 changed files with 70 additions and 90 deletions

View File

@@ -1,4 +1,4 @@
*message.txt* For Vim version 7.4. Last change: 2016 Feb 27 *message.txt* For Vim version 7.4. Last change: 2016 Jul 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -656,6 +656,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: 2015 Jun 06 *motion.txt* For Vim version 7.4. Last change: 2016 Jul 12
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -569,7 +569,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
@@ -577,7 +577,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 @@
*options.txt* For Vim version 7.4. Last change: 2016 Mar 19 *options.txt* For Vim version 7.4. Last change: 2016 Jul 12
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5445,6 +5445,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.
*'shellxescape'* *'sxe'* *'shellxescape'* *'sxe'*
'shellxescape' 'sxe' string (default: ""; 'shellxescape' 'sxe' string (default: "";

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 Apr 29 " 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")
@@ -1617,11 +1617,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"