diff options
author | Matthieu Coudron <mattator@gmail.com> | 2020-08-02 20:19:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-02 20:19:48 +0200 |
commit | 4ed5204bc9d5811cd45209476ac1b9e2c2b74146 (patch) | |
tree | b3d811af95576072856a07f0dffcb86c76de6604 /runtime | |
parent | 480515e4426865c37a42a452432b3463f0ab40a7 (diff) | |
parent | ea515f8ca1fa63cfad516a956cd78ef371f91955 (diff) | |
download | rneovim-4ed5204bc9d5811cd45209476ac1b9e2c2b74146.tar.gz rneovim-4ed5204bc9d5811cd45209476ac1b9e2c2b74146.tar.bz2 rneovim-4ed5204bc9d5811cd45209476ac1b9e2c2b74146.zip |
Merge pull request #12665 from janlazo/vim-8.2.1254
vim-patch:8.0.1774,8.1.{192,194,255,264,1202,2172,2340},8.2.{62,71,72,1004,1254,1259,1265,1267,1292,1295}
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/pattern.txt | 3 | ||||
-rw-r--r-- | runtime/filetype.vim | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index adfab07758..7129c6cd58 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1111,6 +1111,9 @@ x A single character, with no special meaning, matches itself *[:tab:]* [:tab:] the <Tab> character *[:escape:]* [:escape:] the <Esc> character *[:backspace:]* [:backspace:] the <BS> character +*[:ident:]* [:ident:] identifier character (same as "\i") +*[:keyword:]* [:keyword:] keyword character (same as "\k") +*[:fname:]* [:fname:] file name character (same as "\f") The brackets in character class expressions are additional to the brackets delimiting a collection. For example, the following is a plausible pattern for a Unix filename: "[-./[:alnum:]_~]\+" That is, diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 6807bef3eb..c0d656107c 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -84,6 +84,9 @@ au BufNewFile,BufRead *.gpr setf ada " AHDL au BufNewFile,BufRead *.tdf setf ahdl +" AIDL +au BufNewFile,BufRead *.aidl setf aidl + " AMPL au BufNewFile,BufRead *.run setf ampl |