From d894b3da1e4bc0fbb3baf319ca3071cc1d7b7f6c Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 27 Apr 2021 21:32:18 -0400 Subject: vim-patch:191acfdecabf Update runtime files https://github.com/vim/vim/commit/191acfdecabfbd2a74867e77004196fb3b4a8c14 Skip has() changes for the "check" optional argument. Patch v8.2.0427 is not ported yet. Skip Vim9 (ex. :def). --- runtime/syntax/awk.vim | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'runtime/syntax/awk.vim') diff --git a/runtime/syntax/awk.vim b/runtime/syntax/awk.vim index 7c0682ce9f..c9696e6feb 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 -" Last Change: 2016 Sep 05 +" Last Change: 2020 Mar 25 " AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger " The AWK Programming Language, Addison-Wesley, 1988 @@ -9,7 +9,7 @@ " GAWK ref. is: Arnold D. Robbins " Effective AWK Programming, Third Edition, O'Reilly, 2001 " Effective AWK Programming, Fourth Edition, O'Reilly, 2015 -" (also available and updated with the gawk source distribution) +" (up-to-date version available with the gawk source distribution) " MAWK is a "new awk" meaning it implements AWK ref. " mawk conforms to the Posix 1003.2 (draft 11.3) @@ -33,14 +33,19 @@ syn keyword awkStatement break continue delete exit syn keyword awkStatement function getline next syn keyword awkStatement print printf return " GAWK ref. Chapter 7-9 -syn keyword awkStatement switch nextfile +syn keyword awkStatement case default switch nextfile syn keyword awkStatement func +" GAWK ref. Chapter 2.7, Including Other Files into Your Program +" GAWK ref. Chapter 2.8, Loading Dynamic Extensions into Your Program +" GAWK ref. Chapter 15, Namespaces +" Directives +syn keyword awkStatement @include @load @namespace " " GAWK ref. Chapter 9, Functions " Numeric Functions -syn keyword awkFunction atan2 cos exp int intdiv log rand sin sqrt srand +syn keyword awkFunction atan2 cos exp int log rand sin sqrt srand " String Manipulation Functions -syn keyword awkFunction asort asort1 gensub gsub index length match +syn keyword awkFunction asort asorti gensub gsub index length match syn keyword awkFunction patsplit split sprintf strtonum sub substr syn keyword awkFunction tolower toupper " Input Output Functions @@ -49,7 +54,7 @@ syn keyword awkFunction close fflush system syn keyword awkFunction mktime strftime systime " Bit Manipulation Functions syn keyword awkFunction and compl lshift or rshift xor -" Getting Type Functions +" Getting Type Information Functions syn keyword awkFunction isarray typeof " String-Translation Functions syn keyword awkFunction bindtextdomain dcgettext dcngetext -- cgit From 1e03e76dafb5d166bb3d9ed262695f306de6ac4d Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 29 Apr 2021 21:13:43 -0400 Subject: vim-patch:207f009326c8 Update runtime files. https://github.com/vim/vim/commit/207f009326c8f878defde0e594d7d9ed9860106e Omit nl.po. --- runtime/syntax/awk.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime/syntax/awk.vim') diff --git a/runtime/syntax/awk.vim b/runtime/syntax/awk.vim index c9696e6feb..43455b864d 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 -" Last Change: 2020 Mar 25 +" Last Change: 2020 Aug 18 " AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger " The AWK Programming Language, Addison-Wesley, 1988 @@ -27,6 +27,8 @@ endif let s:cpo_save = &cpo set cpo&vim +syn iskeyword @,48-57,_,192-255,@-@ + " A bunch of useful Awk keywords " AWK ref. p. 188 syn keyword awkStatement break continue delete exit -- cgit From 2ebd1f6286211bc67cc83e3ad912d28b372ea4b6 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 1 May 2021 17:50:17 -0400 Subject: vim-patch:3132cddd209e Update runtime files https://github.com/vim/vim/commit/3132cddd209ee510bde48b6520290cb26c8f604a Omit :sort,sort() changes. --- runtime/syntax/awk.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'runtime/syntax/awk.vim') diff --git a/runtime/syntax/awk.vim b/runtime/syntax/awk.vim index 43455b864d..3082c1cb5c 100644 --- a/runtime/syntax/awk.vim +++ b/runtime/syntax/awk.vim @@ -1,7 +1,8 @@ " Vim syntax file -" Language: awk, nawk, gawk, mawk -" Maintainer: Antonio Colombo -" Last Change: 2020 Aug 18 +" Language: awk, nawk, gawk, mawk +" Maintainer: Doug Kearns +" Previous Maintainer: Antonio Colombo +" Last Change: 2020 Aug 18 " AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger " The AWK Programming Language, Addison-Wesley, 1988 -- cgit