aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/awk.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-28 23:09:56 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-28 23:14:36 +0200
commit2e64752250c89623ff5d6dc54e8a54038f32d78f (patch)
tree1d998003870f1716e8b6edca007c858e0a3db9f9 /runtime/syntax/awk.vim
parent06879e2e890dd6cb7bbeb4ce6b78d0cf41500ab5 (diff)
downloadrneovim-2e64752250c89623ff5d6dc54e8a54038f32d78f.tar.gz
rneovim-2e64752250c89623ff5d6dc54e8a54038f32d78f.tar.bz2
rneovim-2e64752250c89623ff5d6dc54e8a54038f32d78f.zip
vim-patch:64d8e25bf6ef
Updated runtime files. https://github.com/vim/vim/commit/64d8e25bf6efe5f18b032563521c3ce278c316ab Closes #6611
Diffstat (limited to 'runtime/syntax/awk.vim')
-rw-r--r--runtime/syntax/awk.vim12
1 files changed, 5 insertions, 7 deletions
diff --git a/runtime/syntax/awk.vim b/runtime/syntax/awk.vim
index ae0f217580..7c0682ce9f 100644
--- a/runtime/syntax/awk.vim
+++ b/runtime/syntax/awk.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: awk, nawk, gawk, mawk
" Maintainer: Antonio Colombo <azc100@gmail.com>
-" Last Change: 2016 Jul 15
+" Last Change: 2016 Sep 05
" AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger
" The AWK Programming Language, Addison-Wesley, 1988
@@ -71,6 +71,10 @@ syn keyword awkVariables ARGC ARGV ARGIND ENVIRON ERRNO FILENAME
syn keyword awkVariables FNR NF FUNCTAB NR PROCINFO RLENGTH RSTART
syn keyword awkVariables RT SYMTAB
+" Arithmetic operators: +, and - take care of ++, and --
+syn match awkOperator "+\|-\|\*\|/\|%\|="
+syn match awkOperator "+=\|-=\|\*=\|/=\|%="
+syn match awkOperator "\^\|\^="
" Octal format character.
syn match awkSpecialCharacter display contained "\\[0-7]\{1,3\}"
@@ -124,11 +128,6 @@ syn case match
"syn match awkIdentifier "\<[a-zA-Z_][a-zA-Z0-9_]*\>"
-" Arithmetic operators: +, and - take care of ++, and --
-syn match awkOperator "+\|-\|\*\|/\|%\|="
-syn match awkOperator "+=\|-=\|\*=\|/=\|%="
-syn match awkOperator "^\|^="
-
" Comparison expressions.
syn match awkExpression "==\|>=\|=>\|<=\|=<\|\!="
syn match awkExpression "\~\|\!\~"
@@ -167,7 +166,6 @@ syn region awkArray transparent start="\[" end="\]" contains=awkArray,awkArrayE
syn sync ccomment awkArray maxlines=10
" Define the default highlighting.
-" Only used when an item doesn't have highlighting yet
hi def link awkConditional Conditional
hi def link awkFunction Function
hi def link awkRepeat Repeat