aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 21:32:18 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 21:47:42 -0400
commitd894b3da1e4bc0fbb3baf319ca3071cc1d7b7f6c (patch)
tree498711398eb4fa995f8754746cfdd3ae5e14ddaa /runtime
parentc287e734f10e074c70276fa74e8a938466018f4b (diff)
downloadrneovim-d894b3da1e4bc0fbb3baf319ca3071cc1d7b7f6c.tar.gz
rneovim-d894b3da1e4bc0fbb3baf319ca3071cc1d7b7f6c.tar.bz2
rneovim-d894b3da1e4bc0fbb3baf319ca3071cc1d7b7f6c.zip
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).
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/index.txt5
-rw-r--r--runtime/doc/insert.txt2
-rw-r--r--runtime/doc/recover.txt2
-rw-r--r--runtime/doc/usr_07.txt4
-rw-r--r--runtime/syntax/awk.vim17
5 files changed, 17 insertions, 13 deletions
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 537705f210..367227b68f 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1236,11 +1236,11 @@ tag command action ~
|:cunmenu| :cunme[nu] remove menu for Command-line mode
|:cwindow| :cw[indow] open or close quickfix window
|:delete| :d[elete] delete lines
-|:delmarks| :delm[arks] delete marks
|:debug| :deb[ug] run a command in debugging mode
|:debuggreedy| :debugg[reedy] read debug mode commands from normal input
|:delcommand| :delc[ommand] delete user-defined command
|:delfunction| :delf[unction] delete a user function
+|:delmarks| :delm[arks] delete marks
|:diffupdate| :dif[fupdate] update 'diff' buffers
|:diffget| :diffg[et] remove differences in current buffer
|:diffoff| :diffo[ff] switch off diff mode
@@ -1252,7 +1252,6 @@ tag command action ~
|:display| :di[splay] display registers
|:djump| :dj[ump] jump to #define
|:dl| :dl short for |:delete| with the 'l' flag
-|:del| :del[ete]l short for |:delete| with the 'l' flag
|:dlist| :dli[st] list #defines
|:doautocmd| :do[autocmd] apply autocommands to current buffer
|:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
@@ -1273,7 +1272,7 @@ tag command action ~
|:emenu| :em[enu] execute a menu by name
|:endif| :en[dif] end previous :if
|:endfor| :endfo[r] end previous :for
-|:endfunction| :endf[unction] end of a user function
+|:endfunction| :endf[unction] end of a user function started with :function
|:endtry| :endt[ry] end previous :try
|:endwhile| :endw[hile] end previous :while
|:enew| :ene[w] edit a new, unnamed buffer
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 5a3c4b492d..60807821c7 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -358,7 +358,7 @@ CTRL-\ CTRL-O like CTRL-O but don't move the cursor *i_CTRL-\_CTRL-O*
CTRL-L when 'insertmode' is set: go to Normal mode *i_CTRL-L*
CTRL-G u break undo sequence, start new change *i_CTRL-G_u*
CTRL-G U don't break undo with next left/right cursor *i_CTRL-G_U*
- movement, if the cursor stays within
+ movement, if the cursor stays within the
same the line
-----------------------------------------------------------------------
diff --git a/runtime/doc/recover.txt b/runtime/doc/recover.txt
index db79b1364b..05b0071fd6 100644
--- a/runtime/doc/recover.txt
+++ b/runtime/doc/recover.txt
@@ -106,7 +106,7 @@ If you want to make sure that your changes are in the swap file use this
command:
*:pre* *:preserve* *E313* *E314*
-:pre[serve] Write all text for all buffers into swap file. The
+:pre[serve] Write all text for all buffers into swap files. The
original file is no longer needed for recovery.
A Vim swap file can be recognized by the first six characters: "b0VIM ".
diff --git a/runtime/doc/usr_07.txt b/runtime/doc/usr_07.txt
index c44a54d76c..649be8d7ce 100644
--- a/runtime/doc/usr_07.txt
+++ b/runtime/doc/usr_07.txt
@@ -227,8 +227,8 @@ the file.
FILE MARKS
-In chapter 4 was explained how you can place a mark in a file with "mx" and
-jump to that position with "`x". That works within one file. If you edit
+In section |03.10| was explained how you can place a mark in a file with "mx"
+and jump to that position with "`x". That works within one file. If you edit
another file and place marks there, these are specific for that file. Thus
each file has its own set of marks, they are local to the file.
So far we were using marks with a lowercase letter. There are also marks
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 <azc100@gmail.com>
-" 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