diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-10-28 14:09:49 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-10-28 14:18:21 +0100 |
commit | 17a5dde8d366cc2ef6a78d6af7559e9d87f8286b (patch) | |
tree | 4ada9e0c93e9fbebac100308764c310410c12821 /runtime | |
parent | 733b4ce0339f2fdcdb0db67717fc090dcfecf250 (diff) | |
download | rneovim-17a5dde8d366cc2ef6a78d6af7559e9d87f8286b.tar.gz rneovim-17a5dde8d366cc2ef6a78d6af7559e9d87f8286b.tar.bz2 rneovim-17a5dde8d366cc2ef6a78d6af7559e9d87f8286b.zip |
vim-patch:22f1d0e35eb0
Updated runtime files.
Add Serbian translations and spell checking.
https://github.com/vim/vim/commit/22f1d0e35eb0e503c2dc7813a973c7e6ca1b7dde
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 5 | ||||
-rw-r--r-- | runtime/doc/quickref.txt | 1 | ||||
-rw-r--r-- | runtime/doc/usr_41.txt | 3 | ||||
-rw-r--r-- | runtime/doc/various.txt | 1 | ||||
-rw-r--r-- | runtime/keymap/oldturkic-orkhon_utf-8.vim | 143 | ||||
-rw-r--r-- | runtime/keymap/oldturkic-yenisei_utf-8.vim | 115 | ||||
-rw-r--r-- | runtime/optwin.vim | 2 | ||||
-rw-r--r-- | runtime/syntax/css.vim | 211 | ||||
-rw-r--r-- | runtime/syntax/dircolors.vim | 8 |
9 files changed, 376 insertions, 113 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 1d6bfd38fa..eae2178893 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1066,7 +1066,7 @@ A jump table for the options with a short description can be found at |Q_op|. characters. It permits dynamic French paragraph indentation (negative) or emphasizing the line continuation (positive). - sbr Display the 'showbreak' value before applying the + sbr Display the 'showbreak' value before applying the additional indent. The default value for min is 20 and shift is 0. @@ -6003,6 +6003,7 @@ A jump table for the options with a short description can be found at |Q_op|. Also see |swap-file|. If you want to open a new buffer without creating a swap file for it, use the |:noswapfile| modifier. + See 'directory' for where the swap file is created. This option is used together with 'bufhidden' and 'buftype' to specify special kinds of buffers. See |special-buffers|. @@ -6284,7 +6285,7 @@ A jump table for the options with a short description can be found at |Q_op|. non-keyword characters (white space is preferred). Maximum line length is 510 bytes. To obtain a file to be used here, check out this ftp site: - [Sorry this link doesn't work anymore, do you know the right one?] + [Sorry this link doesn't work anymore, do you know the right one?] ftp://ftp.ox.ac.uk/pub/wordlists/ First get the README file. To include a comma in a file name precede it with a backslash. Spaces after a comma are ignored, otherwise spaces are included in the file diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index da0bc84fa5..fa770b4a61 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -810,6 +810,7 @@ Short explanation of each option: *option-list* 'printoptions' 'popt' controls the format of :hardcopy output 'prompt' 'prompt' enable prompt in Ex mode 'pumheight' 'ph' maximum height of the popup menu +'pumwidth' 'pw' minimum width of the popup menu 'pythondll' name of the Python 2 dynamic library 'pythonthreedll' name of the Python 3 dynamic library 'quoteescape' 'qe' escape characters used in a string diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index 95d1813104..ec7e74b7a9 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -921,7 +921,8 @@ Testing: *test-functions* assert_false() assert that an expression is false assert_true() assert that an expression is true assert_exception() assert that a command throws an exception - assert_fails() assert that a function call fails + assert_beeps() assert that a command beeps + assert_fails() assert that a command fails Timers: *timer-functions* timer_start() create a timer diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index 9412899ea3..917419e0f5 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -381,6 +381,7 @@ N *+virtualedit* |'virtualedit'| S *+visual* Visual mode |Visual-mode| Always enabled since 7.4.200. N *+visualextra* extra Visual mode commands |blockwise-operators| N *+vreplace* |gR| and |gr| + *+vtp* on MS-Windows console: support for 'termguicolors' N *+wildignore* |'wildignore'| N *+wildmenu* |'wildmenu'| *+windows* more than one window diff --git a/runtime/keymap/oldturkic-orkhon_utf-8.vim b/runtime/keymap/oldturkic-orkhon_utf-8.vim new file mode 100644 index 0000000000..e1f0015a2a --- /dev/null +++ b/runtime/keymap/oldturkic-orkhon_utf-8.vim @@ -0,0 +1,143 @@ +" Maintainer: Oliver Corff <oliver.corff@email.de> +" Last Changed: 2018 Feb 12 + +scriptencoding utf-8 + +" oto = Old Turkic, Orkhon +let b:keymap_name = "oto" +highlight lCursor guibg=red guifg=NONE + +" map F8 to toggle keymap (Ctrl-^ not present on keyboard) +noremap <F8> :let &iminsert = ! &iminsert<CR> +lnoremap <F8> <C-^> +noremap! <F8> <C-^> + +loadkeymap +A ๐ฐ 10C00 OLD TURKIC LETTER ORKHON A +00 ๐ฐ 10C00 OLD TURKIC LETTER ORKHON A +I ๐ฐ 10C03 OLD TURKIC LETTER ORKHON I +03 ๐ฐ 10C03 OLD TURKIC LETTER ORKHON I +O ๐ฐ 10C06 OLD TURKIC LETTER ORKHON O +U ๐ฐ 10C06 OLD TURKIC LETTER ORKHON O +06 ๐ฐ 10C06 OLD TURKIC LETTER ORKHON O +OE ๐ฐ 10C07 OLD TURKIC LETTER ORKHON OE +UE ๐ฐ 10C07 OLD TURKIC LETTER ORKHON OE +07 ๐ฐ 10C07 OLD TURKIC LETTER ORKHON OE +ab ๐ฐ 10C09 OLD TURKIC LETTER ORKHON AB +b1 ๐ฐ 10C09 OLD TURKIC LETTER ORKHON AB +09 ๐ฐ 10C09 OLD TURKIC LETTER ORKHON AB +aeb ๐ฐ 10C0B OLD TURKIC LETTER ORKHON AEB +eb ๐ฐ 10C0B OLD TURKIC LETTER ORKHON AEB +b2 ๐ฐ 10C0B OLD TURKIC LETTER ORKHON AEB +0b ๐ฐ 10C0B OLD TURKIC LETTER ORKHON AEB +ag ๐ฐ 10C0D OLD TURKIC LETTER ORKHON AG +g1 ๐ฐ 10C0D OLD TURKIC LETTER ORKHON AG +0d ๐ฐ 10C0D OLD TURKIC LETTER ORKHON AG +aeg ๐ฐ 10C0F OLD TURKIC LETTER ORKHON AEG +eg ๐ฐ 10C0F OLD TURKIC LETTER ORKHON AEG +g2 ๐ฐ 10C0F OLD TURKIC LETTER ORKHON AEG +0f ๐ฐ 10C0F OLD TURKIC LETTER ORKHON AEG +ad ๐ฐ 10C11 OLD TURKIC LETTER ORKHON AD +d1 ๐ฐ 10C11 OLD TURKIC LETTER ORKHON AD +11 ๐ฐ 10C11 OLD TURKIC LETTER ORKHON AD +aed ๐ฐ 10C13 OLD TURKIC LETTER ORKHON AED +ed ๐ฐ 10C13 OLD TURKIC LETTER ORKHON AED +d2 ๐ฐ 10C13 OLD TURKIC LETTER ORKHON AED +13 ๐ฐ 10C13 OLD TURKIC LETTER ORKHON AED +ez ๐ฐ 10C14 OLD TURKIC LETTER ORKHON EZ +z ๐ฐ 10C14 OLD TURKIC LETTER ORKHON EZ +14 ๐ฐ 10C14 OLD TURKIC LETTER ORKHON EZ +ay ๐ฐ 10C16 OLD TURKIC LETTER ORKHON AY +y1 ๐ฐ 10C16 OLD TURKIC LETTER ORKHON AY +16 ๐ฐ 10C16 OLD TURKIC LETTER ORKHON AY +aey ๐ฐ 10C18 OLD TURKIC LETTER ORKHON AEY +ey ๐ฐ 10C18 OLD TURKIC LETTER ORKHON AEY +y2 ๐ฐ 10C18 OLD TURKIC LETTER ORKHON AEY +18 ๐ฐ 10C18 OLD TURKIC LETTER ORKHON AEY +aek ๐ฐ 10C1A OLD TURKIC LETTER ORKHON AEK +k ๐ฐ 10C1A OLD TURKIC LETTER ORKHON AEK +1a ๐ฐ 10C1A OLD TURKIC LETTER ORKHON AEK +oek ๐ฐ 10C1C OLD TURKIC LETTER ORKHON OEK +q ๐ฐ 10C1C OLD TURKIC LETTER ORKHON OEK +1c ๐ฐ 10C1C OLD TURKIC LETTER ORKHON OEK +al ๐ฐ 10C1E OLD TURKIC LETTER ORKHON AL +l1 ๐ฐ 10C1E OLD TURKIC LETTER ORKHON AL +1e ๐ฐ 10C1E OLD TURKIC LETTER ORKHON AL +ael ๐ฐ 10C20 OLD TURKIC LETTER ORKHON AEL +el ๐ฐ 10C20 OLD TURKIC LETTER ORKHON AEL +l2 ๐ฐ 10C20 OLD TURKIC LETTER ORKHON AEL +20 ๐ฐ 10C20 OLD TURKIC LETTER ORKHON AEL +elt ๐ฐก 10C21 OLD TURKIC LETTER ORKHON ELT +lt ๐ฐก 10C21 OLD TURKIC LETTER ORKHON ELT +21 ๐ฐก 10C21 OLD TURKIC LETTER ORKHON ELT +em ๐ฐข 10C22 OLD TURKIC LETTER ORKHON EM +m ๐ฐข 10C22 OLD TURKIC LETTER ORKHON EM +22 ๐ฐข 10C22 OLD TURKIC LETTER ORKHON EM +an ๐ฐฃ 10C23 OLD TURKIC LETTER ORKHON AN +n1 ๐ฐฃ 10C23 OLD TURKIC LETTER ORKHON AN +23 ๐ฐฃ 10C23 OLD TURKIC LETTER ORKHON AN +en ๐ฐค 10C24 OLD TURKIC LETTER ORKHON AEN +n2 ๐ฐค 10C24 OLD TURKIC LETTER ORKHON AEN +24 ๐ฐค 10C24 OLD TURKIC LETTER ORKHON AEN +ent ๐ฐฆ 10C26 OLD TURKIC LETTER ORKHON ENT +nt ๐ฐฆ 10C26 OLD TURKIC LETTER ORKHON ENT +26 ๐ฐฆ 10C26 OLD TURKIC LETTER ORKHON ENT +enc ๐ฐจ 10C28 OLD TURKIC LETTER ORKHON ENC +nc ๐ฐจ 10C28 OLD TURKIC LETTER ORKHON ENC +28 ๐ฐจ 10C28 OLD TURKIC LETTER ORKHON ENC +eny ๐ฐช 10C2A OLD TURKIC LETTER ORKHON ENY +ny ๐ฐช 10C2A OLD TURKIC LETTER ORKHON ENY +2a ๐ฐช 10C2A OLD TURKIC LETTER ORKHON ENY +eng ๐ฐญ 10C2D OLD TURKIC LETTER ORKHON ENG +ng ๐ฐญ 10C2D OLD TURKIC LETTER ORKHON ENG +2d ๐ฐญ 10C2D OLD TURKIC LETTER ORKHON ENG +ep ๐ฐฏ 10C2F OLD TURKIC LETTER ORKHON EP +p ๐ฐฏ 10C2F OLD TURKIC LETTER ORKHON EP +2f ๐ฐฏ 10C2F OLD TURKIC LETTER ORKHON EP +op ๐ฐฐ 10C30 OLD TURKIC LETTER ORKHON OP +up ๐ฐฐ 10C30 OLD TURKIC LETTER ORKHON OP +30 ๐ฐฐ 10C30 OLD TURKIC LETTER ORKHON OP +ic ๐ฐฑ 10C31 OLD TURKIC LETTER ORKHON IC +31 ๐ฐฑ 10C31 OLD TURKIC LETTER ORKHON IC +ec ๐ฐฒ 10C32 OLD TURKIC LETTER ORKHON EC +32 ๐ฐฒ 10C32 OLD TURKIC LETTER ORKHON EC +aq ๐ฐด 10C34 OLD TURKIC LETTER ORKHON AQ +34 ๐ฐด 10C34 OLD TURKIC LETTER ORKHON AQ +iq ๐ฐถ 10C36 OLD TURKIC LETTER ORKHON IQ +yq ๐ฐถ 10C36 OLD TURKIC LETTER ORKHON IQ +36 ๐ฐถ 10C36 OLD TURKIC LETTER ORKHON IQ +oq ๐ฐธ 10C38 OLD TURKIC LETTER ORKHON OQ +uq ๐ฐธ 10C38 OLD TURKIC LETTER ORKHON OQ +38 ๐ฐธ 10C38 OLD TURKIC LETTER ORKHON OQ +ar ๐ฐบ 10C3A OLD TURKIC LETTER ORKHON AR +r1 ๐ฐบ 10C3A OLD TURKIC LETTER ORKHON AR +3a ๐ฐบ 10C3A OLD TURKIC LETTER ORKHON AR +aer ๐ฐผ 10C3C OLD TURKIC LETTER ORKHON AER +er ๐ฐผ 10C3C OLD TURKIC LETTER ORKHON AER +r2 ๐ฐผ 10C3C OLD TURKIC LETTER ORKHON AER +3c ๐ฐผ 10C3C OLD TURKIC LETTER ORKHON AER +as ๐ฐฝ 10C3D OLD TURKIC LETTER ORKHON AS +s1 ๐ฐฝ 10C3D OLD TURKIC LETTER ORKHON AS +3d ๐ฐฝ 10C3D OLD TURKIC LETTER ORKHON AS +aes ๐ฐพ 10C3E OLD TURKIC LETTER ORKHON AES +es ๐ฐพ 10C3E OLD TURKIC LETTER ORKHON AES +s2 ๐ฐพ 10C3E OLD TURKIC LETTER ORKHON AES +3e ๐ฐพ 10C3E OLD TURKIC LETTER ORKHON AES +ash ๐ฐฟ 10C3F OLD TURKIC LETTER ORKHON ASH +sh1 ๐ฐฟ 10C3F OLD TURKIC LETTER ORKHON ASH +3f ๐ฐฟ 10C3F OLD TURKIC LETTER ORKHON ASH +esh ๐ฑ 10C41 OLD TURKIC LETTER ORKHON ESH +sh2 ๐ฑ 10C41 OLD TURKIC LETTER ORKHON ESH +41 ๐ฑ 10C41 OLD TURKIC LETTER ORKHON ESH +at ๐ฑ 10C43 OLD TURKIC LETTER ORKHON AT +t1 ๐ฑ 10C43 OLD TURKIC LETTER ORKHON AT +43 ๐ฑ 10C43 OLD TURKIC LETTER ORKHON AT +aet ๐ฑ
10C45 OLD TURKIC LETTER ORKHON AET +et ๐ฑ
10C45 OLD TURKIC LETTER ORKHON AET +t2 ๐ฑ
10C45 OLD TURKIC LETTER ORKHON AET +45 ๐ฑ
10C45 OLD TURKIC LETTER ORKHON AET +ot ๐ฑ 10C47 OLD TURKIC LETTER ORKHON OT +ut ๐ฑ 10C47 OLD TURKIC LETTER ORKHON OT +47 ๐ฑ 10C47 OLD TURKIC LETTER ORKHON OT +bash ๐ฑ 10C48 OLD TURKIC LETTER ORKHON BASH +48 ๐ฑ 10C48 OLD TURKIC LETTER ORKHON BASH diff --git a/runtime/keymap/oldturkic-yenisei_utf-8.vim b/runtime/keymap/oldturkic-yenisei_utf-8.vim new file mode 100644 index 0000000000..f939f0a405 --- /dev/null +++ b/runtime/keymap/oldturkic-yenisei_utf-8.vim @@ -0,0 +1,115 @@ +" Maintainer: Oliver Corff <oliver.corff@yemail.de> +" Last Changed: 2018 Feb 12 + +" All characters are given literally, conversion to another encoding (e.g., +" UTF-8) should work. +scriptencoding utf-8 + +let b:keymap_name = "oto" +highlight lCursor guibg=red guifg=NONE + +" map F8 to toggle keymap (Ctrl-^ not present on keyboard) +noremap <F8> :let &iminsert = ! &iminsert<CR> +lnoremap <F8> <C-^> +noremap! <F8> <C-^> + +loadkeymap +A ๐ฐ 10C01 OLD TURKIC LETTER YENISEI A +01 ๐ฐ 10C01 OLD TURKIC LETTER YENISEI A +AE ๐ฐ 10C02 OLD TURKIC LETTER YENISEI AE +02 ๐ฐ 10C02 OLD TURKIC LETTER YENISEI AE +I ๐ฐ 10C04 OLD TURKIC LETTER YENISEI I +04 ๐ฐ 10C04 OLD TURKIC LETTER YENISEI I +E ๐ฐ
10C05 OLD TURKIC LETTER YENISEI E +05 ๐ฐ
10C05 OLD TURKIC LETTER YENISEI E +OE ๐ฐ 10C08 OLD TURKIC LETTER YENISEI OE +UE ๐ฐ 10C08 OLD TURKIC LETTER YENISEI OE +08 ๐ฐ 10C08 OLD TURKIC LETTER YENISEI OE +ab ๐ฐ 10C0A OLD TURKIC LETTER YENISEI AB +b1 ๐ฐ 10C0A OLD TURKIC LETTER YENISEI AB +0a ๐ฐ 10C0A OLD TURKIC LETTER YENISEI AB +aeb ๐ฐ 10C0C OLD TURKIC LETTER YENISEI AEB +eb ๐ฐ 10C0C OLD TURKIC LETTER YENISEI AEB +b2 ๐ฐ 10C0C OLD TURKIC LETTER YENISEI AEB +0c ๐ฐ 10C0C OLD TURKIC LETTER YENISEI AEB +ag ๐ฐ 10C0E OLD TURKIC LETTER YENISEI AG +g1 ๐ฐ 10C0E OLD TURKIC LETTER YENISEI AG +0e ๐ฐ 10C0E OLD TURKIC LETTER YENISEI AG +aeg ๐ฐ 10C10 OLD TURKIC LETTER YENISEI AEG +eg ๐ฐ 10C10 OLD TURKIC LETTER YENISEI AEG +g2 ๐ฐ 10C10 OLD TURKIC LETTER YENISEI AEG +10 ๐ฐ 10C10 OLD TURKIC LETTER YENISEI AEG +ad ๐ฐ 10C12 OLD TURKIC LETTER YENISEI AD +d1 ๐ฐ 10C12 OLD TURKIC LETTER YENISEI AD +12 ๐ฐ 10C12 OLD TURKIC LETTER YENISEI AD +ez ๐ฐ 10C15 OLD TURKIC LETTER YENISEI EZ +z ๐ฐ 10C15 OLD TURKIC LETTER YENISEI EZ +15 ๐ฐ 10C15 OLD TURKIC LETTER YENISEI EZ +ay ๐ฐ 10C17 OLD TURKIC LETTER YENISEI AY +y1 ๐ฐ 10C17 OLD TURKIC LETTER YENISEI AY +17 ๐ฐ 10C17 OLD TURKIC LETTER YENISEI AY +aey ๐ฐ 10C19 OLD TURKIC LETTER YENISEI AEY +ey ๐ฐ 10C19 OLD TURKIC LETTER YENISEI AEY +y2 ๐ฐ 10C19 OLD TURKIC LETTER YENISEI AEY +19 ๐ฐ 10C19 OLD TURKIC LETTER YENISEI AEY +aek ๐ฐ 10C1B OLD TURKIC LETTER YENISEI AEK +ak ๐ฐ 10C1B OLD TURKIC LETTER YENISEI AEK +k ๐ฐ 10C1B OLD TURKIC LETTER YENISEI AEK +1b ๐ฐ 10C1B OLD TURKIC LETTER YENISEI AEK +oek ๐ฐ 10C1D OLD TURKIC LETTER YENISEI OEK +รถk ๐ฐ 10C1D OLD TURKIC LETTER YENISEI OEK +uek ๐ฐ 10C1D OLD TURKIC LETTER YENISEI OEK +รผk ๐ฐ 10C1D OLD TURKIC LETTER YENISEI OEK +1d ๐ฐ 10C1D OLD TURKIC LETTER YENISEI OEK +al ๐ฐ 10C1F OLD TURKIC LETTER YENISEI AL +l ๐ฐ 10C1F OLD TURKIC LETTER YENISEI AL +l1 ๐ฐ 10C1F OLD TURKIC LETTER YENISEI AL +1f ๐ฐ 10C1F OLD TURKIC LETTER YENISEI AL +aen ๐ฐฅ 10C25 OLD TURKIC LETTER YENISEI AEN +en ๐ฐฅ 10C25 OLD TURKIC LETTER YENISEI AEN +n2 ๐ฐฅ 10C25 OLD TURKIC LETTER YENISEI AEN +25 ๐ฐฅ 10C25 OLD TURKIC LETTER YENISEI AEN +ent ๐ฐง 10C27 OLD TURKIC LETTER YENISEI ENT +nt ๐ฐง 10C27 OLD TURKIC LETTER YENISEI ENT +27 ๐ฐง 10C27 OLD TURKIC LETTER YENISEI ENT +enc ๐ฐฉ 10C29 OLD TURKIC LETTER YENISEI ENC +nc ๐ฐฉ 10C29 OLD TURKIC LETTER YENISEI ENC +29 ๐ฐฉ 10C29 OLD TURKIC LETTER YENISEI ENC +eny ๐ฐซ 10C2B OLD TURKIC LETTER YENISEI ENY +ny ๐ฐซ 10C2B OLD TURKIC LETTER YENISEI ENY +2b ๐ฐซ 10C2B OLD TURKIC LETTER YENISEI ENY +ang ๐ฐฌ 10C2C OLD TURKIC LETTER YENISEI ANG +ng ๐ฐฌ 10C2C OLD TURKIC LETTER YENISEI ANG +2c ๐ฐฌ 10C2C OLD TURKIC LETTER YENISEI ANG +aeng ๐ฐฎ 10C2E OLD TURKIC LETTER YENISEI AENG +eng ๐ฐฎ 10C2E OLD TURKIC LETTER YENISEI AENG +2e ๐ฐฎ 10C2E OLD TURKIC LETTER YENISEI AENG +ec ๐ฐณ 10C33 OLD TURKIC LETTER YENISEI EC +c ๐ฐณ 10C33 OLD TURKIC LETTER YENISEI EC +33 ๐ฐณ 10C33 OLD TURKIC LETTER YENISEI EC +aq ๐ฐต 10C35 OLD TURKIC LETTER YENISEI AQ +q ๐ฐต 10C35 OLD TURKIC LETTER YENISEI AQ +35 ๐ฐต 10C35 OLD TURKIC LETTER YENISEI AQ +iq ๐ฐท 10C37 OLD TURKIC LETTER YENISEI IQ +yq ๐ฐท 10C37 OLD TURKIC LETTER YENISEI IQ +37 ๐ฐท 10C37 OLD TURKIC LETTER YENISEI IQ +oq ๐ฐน 10C39 OLD TURKIC LETTER YENISEI OQ +uq ๐ฐน 10C39 OLD TURKIC LETTER YENISEI OQ +39 ๐ฐน 10C39 OLD TURKIC LETTER YENISEI OQ +ar ๐ฐป 10C3B OLD TURKIC LETTER YENISEI AR +r ๐ฐป 10C3B OLD TURKIC LETTER YENISEI AR +r1 ๐ฐป 10C3B OLD TURKIC LETTER YENISEI AR +3b ๐ฐป 10C3B OLD TURKIC LETTER YENISEI AR +ash ๐ฑ 10C40 OLD TURKIC LETTER YENISEI ASH +sh1 ๐ฑ 10C40 OLD TURKIC LETTER YENISEI ASH +40 ๐ฑ 10C40 OLD TURKIC LETTER YENISEI ASH +esh ๐ฑ 10C42 OLD TURKIC LETTER YENISEI ESH +sh2 ๐ฑ 10C42 OLD TURKIC LETTER YENISEI ESH +42 ๐ฑ 10C42 OLD TURKIC LETTER YENISEI ESH +at ๐ฑ 10C44 OLD TURKIC LETTER YENISEI AT +t1 ๐ฑ 10C44 OLD TURKIC LETTER YENISEI AT +44 ๐ฑ 10C44 OLD TURKIC LETTER YENISEI AT +aet ๐ฑ 10C46 OLD TURKIC LETTER YENISEI AET +et ๐ฑ 10C46 OLD TURKIC LETTER YENISEI AET +t2 ๐ฑ 10C46 OLD TURKIC LETTER YENISEI AET +46 ๐ฑ 10C46 OLD TURKIC LETTER YENISEI AET diff --git a/runtime/optwin.vim b/runtime/optwin.vim index c3a17d3e94..b1d303009a 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -765,6 +765,8 @@ if has("insert_expand") call <SID>OptionG("cot", &cot) call append("$", "pumheight\tmaximum height of the popup menu") call <SID>OptionG("ph", &ph) + call append("$", "pumwidth\tminimum width of the popup menu") + call <SID>OptionG("pw", &pw) call append("$", "completefunc\tuser defined function for Insert mode completion") call append("$", "\t(local to buffer)") call <SID>OptionL("cfu") diff --git a/runtime/syntax/css.vim b/runtime/syntax/css.vim index 23db7b10e8..ecdbc1795c 100644 --- a/runtime/syntax/css.vim +++ b/runtime/syntax/css.vim @@ -4,10 +4,10 @@ " Claudio Fleiner <claudio@fleiner.com> (Maintainer) " Yeti (Add full CSS2, HTML4 support) " Nikolai Weibull (Add CSS2 support) -" Maintainer: Jules Wang <w.jq0722@gmail.com> " URL: https://github.com/JulesWang/css.vim -" Last Change: 2017 Jan 14 -" cssClassName updated by Ryuichi Hayashida Jan 2016 +" Maintainer: Jules Wang <w.jq0722@gmail.com> +" Last Change: 2018 Feb. 27 +" cssClassName updated by Ryuichi Hayashida Jan 2016 " quit when a syntax file was already loaded if !exists("main_syntax") @@ -69,74 +69,12 @@ endtry " digits syn match cssValueInteger contained "[-+]\=\d\+" contains=cssUnitDecorators syn match cssValueNumber contained "[-+]\=\d\+\(\.\d*\)\=" contains=cssUnitDecorators -syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(%\|mm\|cm\|in\|pt\|pc\|em\|ex\|px\|rem\|dpi\|dppx\|dpcm\)\>" contains=cssUnitDecorators +syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(mm\|cm\|in\|pt\|pc\|em\|ex\|px\|rem\|dpi\|dppx\|dpcm\)\>" contains=cssUnitDecorators +syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=%" contains=cssUnitDecorators syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=\(deg\|grad\|rad\)\>" contains=cssUnitDecorators syn match cssValueTime contained "+\=\d\+\(\.\d*\)\=\(ms\|s\)\>" contains=cssUnitDecorators syn match cssValueFrequency contained "+\=\d\+\(\.\d*\)\=\(Hz\|kHz\)\>" contains=cssUnitDecorators - -syn match cssIncludeKeyword /@\(-[a-z]\+-\)\=\(media\|keyframes\|import\|charset\|namespace\|page\)/ contained -" @media -syn region cssInclude start=/@media\>/ end=/\ze{/ skipwhite skipnl contains=cssMediaProp,cssValueLength,cssMediaKeyword,cssValueInteger,cssMediaAttr,cssVendor,cssMediaType,cssIncludeKeyword,cssMediaComma,cssComment nextgroup=cssMediaBlock -syn keyword cssMediaType contained screen print aural braille embossed handheld projection tty tv speech all contained skipwhite skipnl -syn keyword cssMediaKeyword only not and contained -syn region cssMediaBlock transparent matchgroup=cssBraces start='{' end='}' contains=css.*Attr,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,cssVendor,cssDefinition,cssTagName,cssClassName,cssIdentifier,cssPseudoClass,cssSelectorOp,cssSelectorOp2,cssAttributeSelector fold -syn match cssMediaComma "," skipwhite skipnl contained - -" Reference: http://www.w3.org/TR/css3-mediaqueries/ -syn keyword cssMediaProp contained width height orientation scan grid -syn match cssMediaProp contained /\(\(max\|min\)-\)\=\(\(device\)-\)\=aspect-ratio/ -syn match cssMediaProp contained /\(\(max\|min\)-\)\=device-pixel-ratio/ -syn match cssMediaProp contained /\(\(max\|min\)-\)\=device-\(height\|width\)/ -syn match cssMediaProp contained /\(\(max\|min\)-\)\=\(height\|width\|resolution\|monochrome\|color\(-index\)\=\)/ -syn keyword cssMediaAttr contained portrait landscape progressive interlace - -" @page -" http://www.w3.org/TR/css3-page/ -syn match cssPage "@page\>[^{]*{\@=" contains=cssPagePseudo,cssIncludeKeyword nextgroup=cssPageWrap transparent skipwhite skipnl -syn match cssPagePseudo /:\(left\|right\|first\|blank\)/ contained skipwhite skipnl -syn region cssPageWrap contained transparent matchgroup=cssBraces start="{" end="}" contains=cssPageMargin,cssPageProp,cssAttrRegion,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,cssVendor,cssDefinition,cssHacks -syn match cssPageMargin /@\(\(top\|left\|right\|bottom\)-\(left\|center\|right\|middle\|bottom\)\)\(-corner\)\=/ contained nextgroup=cssDefinition skipwhite skipnl -syn keyword cssPageProp contained content size -" http://www.w3.org/TR/CSS2/page.html#break-inside -syn keyword cssPageProp contained orphans widows - -" @keyframe -" http://www.w3.org/TR/css3-animations/#keyframes -syn match cssKeyFrame "@\(-[a-z]\+-\)\=keyframes\>[^{]*{\@=" nextgroup=cssKeyFrameWrap contains=cssVendor,cssIncludeKeyword skipwhite skipnl transparent -syn region cssKeyFrameWrap contained transparent matchgroup=cssBraces start="{" end="}" contains=cssKeyFrameSelector -syn match cssKeyFrameSelector /\(\d*%\|from\|to\)\=/ contained skipwhite skipnl nextgroup=cssDefinition - -" @import -syn region cssInclude start=/@import\>/ end=/\ze;/ transparent contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssIncludeKeyword,cssURL,cssMediaProp,cssValueLength,cssMediaKeyword,cssValueInteger,cssMediaAttr,cssVendor,cssMediaType -syn region cssInclude start=/@charset\>/ end=/\ze;/ transparent contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssIncludeKeyword -syn region cssInclude start=/@namespace\>/ end=/\ze;/ transparent contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssIncludeKeyword - -" @font-face -" http://www.w3.org/TR/css3-fonts/#at-font-face-rule -syn match cssFontDescriptor "@font-face\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl -syn region cssFontDescriptorBlock contained transparent matchgroup=cssBraces start="{" end="}" contains=cssComment,cssError,cssUnicodeEscape,cssCommonAttr,cssFontDescriptorProp,cssValue.*,cssFontDescriptorFunction,cssFontDescriptorAttr,cssNoise - -syn match cssFontDescriptorProp contained "\<font-family\>" -syn keyword cssFontDescriptorProp contained src -syn match cssFontDescriptorProp contained "\<font-\(style\|weight\|stretch\)\>" -syn match cssFontDescriptorProp contained "\<unicode-range\>" -syn match cssFontDescriptorProp contained "\<font-\(variant\|feature-settings\)\>" - -" src functions -syn region cssFontDescriptorFunction contained matchgroup=cssFunctionName start="\<\(uri\|url\|local\|format\)\s*(" end=")" contains=cssStringQ,cssStringQQ oneline keepend -" font-sytle and font-weight attributes -syn keyword cssFontDescriptorAttr contained normal italic oblique bold -" font-stretch attributes -syn match cssFontDescriptorAttr contained "\<\(\(ultra\|extra\|semi\)-\)\=\(condensed\|expanded\)\>" -" unicode-range attributes -syn match cssFontDescriptorAttr contained "U+[0-9A-Fa-f?]\+" -syn match cssFontDescriptorAttr contained "U+\x\+-\x\+" -" font-feature-settings attributes -syn keyword cssFontDescriptorAttr contained on off - - - " The 16 basic color names syn keyword cssColor contained aqua black blue fuchsia gray green lime maroon navy olive purple red silver teal yellow @@ -162,8 +100,8 @@ syn keyword cssColor contained midnightblue mintcream mistyrose moccasin navajow syn keyword cssColor contained oldlace olivedrab orange orangered orchid syn match cssColor contained /\<pale\(goldenrod\|green\|turquoise\|violetred\)\>/ syn keyword cssColor contained papayawhip peachpuff peru pink plum powderblue -syn keyword cssColor contained rosybrown royalblue saddlebrown salmon sandybrown -syn keyword cssColor contained seagreen seashell sienna skyblue slateblue +syn keyword cssColor contained rosybrown royalblue rebeccapurple saddlebrown salmon +syn keyword cssColor contained sandybrown seagreen seashell sienna skyblue slateblue syn keyword cssColor contained slategray slategrey snow springgreen steelblue tan syn keyword cssColor contained thistle tomato turquoise violet wheat syn keyword cssColor contained whitesmoke yellowgreen @@ -180,10 +118,11 @@ syn match cssImportant contained "!\s*important\>" syn match cssColor contained "\<transparent\>" syn match cssColor contained "\<currentColor\>" syn match cssColor contained "\<white\>" -syn match cssColor contained "#[0-9A-Fa-f]\{3\}\>" contains=cssUnitDecorators -syn match cssColor contained "#[0-9A-Fa-f]\{6\}\>" contains=cssUnitDecorators +syn match cssColor contained "#\x\{3,4\}\>" contains=cssUnitDecorators +syn match cssColor contained "#\x\{6\}\>" contains=cssUnitDecorators +syn match cssColor contained "#\x\{8\}\>" contains=cssUnitDecorators -syn region cssURL contained matchgroup=cssFunctionName start="\<url\s*(" end=")" contains=cssStringQ,cssStringQQ oneline +syn region cssURL contained matchgroup=cssFunctionName start="\<\(uri\|url\|local\|format\)\s*(" end=")" contains=cssStringQ,cssStringQQ oneline syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgb\|clip\|attr\|counter\|rect\|cubic-bezier\|steps\)\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgba\|hsl\|hsla\|color-stop\|from\|to\)\s*(" end=")" oneline contains=cssColor,cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma,cssFunction syn region cssFunction contained matchgroup=cssFunctionName start="\<\(linear-\|radial-\)\=\gradient\s*(" end=")" oneline contains=cssColor,cssValueInteger,cssValueNumber,cssValueLength,cssFunction,cssGradientAttr,cssFunctionComma @@ -224,7 +163,6 @@ syn keyword cssBackgroundAttr contained left center right top bottom " background-repeat attributes syn match cssBackgroundAttr contained "\<no-repeat\>" syn match cssBackgroundAttr contained "\<repeat\(-[xy]\)\=\>" -syn keyword cssBackgroundAttr contained space round " background-size attributes syn keyword cssBackgroundAttr contained cover contain @@ -236,7 +174,7 @@ syn match cssBorderProp contained "\<box-decoration-break\>" syn match cssBorderProp contained "\<box-shadow\>" " border-image attributes -syn keyword cssBorderAttr contained stretch round space fill +syn keyword cssBorderAttr contained stretch round fill " border-style attributes syn keyword cssBorderAttr contained dotted dashed solid double groove ridge inset outset @@ -264,14 +202,18 @@ syn match cssDimensionProp contained "\<\(min\|max\)-\(width\|height\)\>" syn keyword cssDimensionProp contained height syn keyword cssDimensionProp contained width -" shadow and sizing are in other property groups -syn match cssFlexibleBoxProp contained "\<box-\(align\|direction\|flex\|ordinal-group\|orient\|pack\|shadow\|sizing\)\>" -syn keyword cssFlexibleBoxAttr contained start end baseline -syn keyword cssFlexibleBoxAttr contained reverse -syn keyword cssFlexibleBoxAttr contained single multiple -syn keyword cssFlexibleBoxAttr contained horizontal -syn match cssFlexibleBoxAttr contained "\<vertical\(-align\)\@!\>" "escape vertical-align -syn match cssFlexibleBoxAttr contained "\<\(inline\|block\)-axis\>" +" CSS Flexible Box Layout Module Level 1 +" http://www.w3.org/TR/css3-flexbox/ +" CSS Box Alignment Module Level 3 +" http://www.w3.org/TR/css-align-3/ +syn match cssFlexibleBoxProp contained "\<flex\(-\(direction\|wrap\|flow\|grow\|shrink\|basis\)\)\=\>" +syn match cssFlexibleBoxProp contained "\<\(align\|justify\)\(-\(items\|self\|content\)\)\=\>" +syn keyword cssFlexibleBoxProp contained order + +syn match cssFlexibleBoxAttr contained "\<\(row\|column\|wrap\)\(-reverse\)\=\>" +syn keyword cssFlexibleBoxAttr contained nowrap stretch baseline center +syn match cssFlexibleBoxAttr contained "\<flex\(-\(start\|end\)\)\=\>" +syn match cssFlexibleBoxAttr contained "\<space\(-\(between\|around\)\)\=\>" " CSS Fonts Module Level 3 " http://www.w3.org/TR/css-fonts-3/ @@ -279,11 +221,11 @@ syn match cssFontProp contained "\<font\(-\(family\|\|feature-settings\|kerning\ " font attributes syn keyword cssFontAttr contained icon menu caption -syn match cssFontAttr contained "\<small-\(caps\|caption\)\>" syn match cssFontAttr contained "\<message-box\>" syn match cssFontAttr contained "\<status-bar\>" syn keyword cssFontAttr contained larger smaller syn match cssFontAttr contained "\<\(x\{1,2\}-\)\=\(large\|small\)\>" +syn match cssFontAttr contained "\<small-\(caps\|caption\)\>" " font-family attributes syn match cssFontAttr contained "\<\(sans-\)\=serif\>" syn keyword cssFontAttr contained Antiqua Arial Black Book Charcoal Comic Courier Dingbats Gadget Geneva Georgia Grande Helvetica Impact Linotype Lucida MS Monaco Neue New Palatino Roboto Roman Symbol Tahoma Times Trebuchet Verdana Webdings Wingdings York Zapf @@ -312,12 +254,16 @@ syn match cssMultiColumnProp contained "\<break-\(after\|before\|inside\)\>" syn match cssMultiColumnProp contained "\<column-\(count\|fill\|gap\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>" syn keyword cssMultiColumnProp contained columns syn keyword cssMultiColumnAttr contained balance medium -syn keyword cssMultiColumnAttr contained always avoid left right page column -syn match cssMultiColumnAttr contained "\<avoid-\(page\|column\)\>" +syn keyword cssMultiColumnAttr contained always left right page column +syn match cssMultiColumnAttr contained "\<avoid\(-\(page\|column\)\)\=\>" " http://www.w3.org/TR/css3-break/#page-break syn match cssMultiColumnProp contained "\<page\(-break-\(before\|after\|inside\)\)\=\>" +" http://www.w3.org/TR/SVG11/interact.html +syn match cssInteractProp contained "\<pointer-events\>" +syn match cssInteractAttr contained "\<\(visible\)\=\(Painted\|Fill\|Stroke\)\=\>" + " TODO find following items in w3c docs. syn keyword cssGeneratedContentProp contained quotes crop syn match cssGeneratedContentProp contained "\<counter-\(reset\|increment\)\>" @@ -325,7 +271,12 @@ syn match cssGeneratedContentProp contained "\<move-to\>" syn match cssGeneratedContentProp contained "\<page-policy\>" syn match cssGeneratedContentAttr contained "\<\(no-\)\=\(open\|close\)-quote\>" -syn match cssGridProp contained "\<grid-\(columns\|rows\)\>" +" https://www.w3.org/TR/css-grid-1/ +syn match cssGridProp contained "\<grid\>" +syn match cssGridProp contained "\<grid\(-\(template\|auto\)\)\=\(-\(columns\|rows\|areas\)\)\>" +syn match cssGridProp contained "\<grid-\(column\|row\)\(-\(start\|end\|gap\)\)\=\>" +syn match cssGridProp contained "\<grid-\(area\|gap\)\>" +syn match cssGridProp contained "\<grid-auto-flow\>" syn match cssHyerlinkProp contained "\<target\(-\(name\|new\|position\)\)\=\>" @@ -339,14 +290,14 @@ syn keyword cssListAttr contained inside outside syn keyword cssPositioningProp contained bottom clear clip display float left syn keyword cssPositioningProp contained position right top visibility syn match cssPositioningProp contained "\<z-index\>" -syn keyword cssPositioningAttr contained block compact +syn keyword cssPositioningAttr contained block compact grid syn match cssPositioningAttr contained "\<table\(-\(row-group\|\(header\|footer\)-group\|row\|column\(-group\)\=\|cell\|caption\)\)\=\>" syn keyword cssPositioningAttr contained left right both syn match cssPositioningAttr contained "\<list-item\>" -syn match cssPositioningAttr contained "\<inline\(-\(block\|box\|table\)\)\=\>" -syn keyword cssPositioningAttr contained static relative absolute fixed +syn match cssPositioningAttr contained "\<inline\(-\(block\|box\|table\|grid\|flex\)\)\=\>" +syn keyword cssPositioningAttr contained static relative absolute fixed subgrid -syn keyword cssPrintAttr contained landscape portrait crop cross always avoid +syn keyword cssPrintAttr contained landscape portrait crop cross always syn match cssTableProp contained "\<\(caption-side\|table-layout\|border-collapse\|border-spacing\|empty-cells\)\>" syn keyword cssTableAttr contained fixed collapse separate show hide once always @@ -419,17 +370,20 @@ syn keyword cssUIAttr contained both horizontal vertical syn match cssUIProp contained "\<text-overflow\>" syn keyword cssUIAttr contained clip ellipsis -" Already highlighted Props: font content +syn match cssUIProp contained "\<image-rendering\>" +syn keyword cssUIAttr contained pixellated +syn match cssUIAttr contained "\<crisp-edges\>" + "------------------------------------------------ " Webkit/iOS specific attributes -syn match cssUIAttr contained '\(preserve-3d\)' +syn match cssUIAttr contained '\<preserve-3d\>' " IE specific attributes -syn match cssIEUIAttr contained '\(bicubic\)' +syn match cssIEUIAttr contained '\<bicubic\>' " Webkit/iOS specific properties -syn match cssUIProp contained '\(tap-highlight-color\|user-select\|touch-callout\)' +syn match cssUIProp contained '\<tap-highlight-color\|user-select\|touch-callout\>' " IE specific properties -syn match cssIEUIProp contained '\(interpolation-mode\|zoom\|filter\)' +syn match cssIEUIProp contained '\<interpolation-mode\|zoom\|filter\>' " Webkit/Firebox specific properties/attributes syn keyword cssUIProp contained appearance @@ -454,11 +408,25 @@ syn keyword cssAuralAttr contained male female child code digits continuous " mobile text syn match cssMobileTextProp contained "\<text-size-adjust\>" - +syn keyword cssMediaProp contained width height orientation scan grid +syn match cssMediaProp contained /\(\(max\|min\)-\)\=\(\(device\)-\)\=aspect-ratio/ +syn match cssMediaProp contained /\(\(max\|min\)-\)\=device-pixel-ratio/ +syn match cssMediaProp contained /\(\(max\|min\)-\)\=device-\(height\|width\)/ +syn match cssMediaProp contained /\(\(max\|min\)-\)\=\(height\|width\|resolution\|monochrome\|color\(-index\)\=\)/ +syn keyword cssMediaAttr contained portrait landscape progressive interlace +syn match cssKeyFrameProp /\d*%\|from\|to/ contained nextgroup=cssDefinition +syn match cssPageMarginProp /@\(\(top\|left\|right\|bottom\)-\(left\|center\|right\|middle\|bottom\)\)\(-corner\)\=/ contained nextgroup=cssDefinition +syn keyword cssPageProp contained content size +syn keyword cssPageProp contained orphans widows +syn keyword cssFontDescriptorProp contained src +syn match cssFontDescriptorProp contained "\<unicode-range\>" +" unicode-range attributes +syn match cssFontDescriptorAttr contained "U+[0-9A-Fa-f?]\+" +syn match cssFontDescriptorAttr contained "U+\x\+-\x\+" syn match cssBraces contained "[{}]" syn match cssError contained "{@<>" -syn region cssDefinition transparent matchgroup=cssBraces start='{' end='}' contains=cssAttrRegion,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,cssVendor,cssDefinition,cssHacks,cssNoise fold +syn region cssDefinition transparent matchgroup=cssBraces start='{' end='}' contains=cssTagName,cssAttributeSelector,cssClassName,cssIdentifier,cssAtRule,cssAttrRegion,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,cssVendor,cssDefinition,cssHacks,cssNoise fold syn match cssBraceError "}" syn match cssAttrComma "," @@ -477,7 +445,7 @@ syn match cssPseudoClassId contained "\<focus\(-inner\)\=\>" syn match cssPseudoClassId contained "\<\(input-\)\=placeholder\>" " Misc highlight groups -syntax match cssUnitDecorators /\(#\|-\|%\|mm\|cm\|in\|pt\|pc\|em\|ex\|px\|ch\|rem\|vh\|vw\|vmin\|vmax\|dpi\|dppx\|dpcm\|Hz\|kHz\|s\|ms\|deg\|grad\|rad\)/ contained +syntax match cssUnitDecorators /\(#\|-\|+\|%\|mm\|cm\|in\|pt\|pc\|em\|ex\|px\|ch\|rem\|vh\|vw\|vmin\|vmax\|dpi\|dppx\|dpcm\|Hz\|kHz\|s\|ms\|deg\|grad\|rad\)/ contained syntax match cssNoise contained /\(:\|;\|\/\)/ " Comment @@ -490,7 +458,7 @@ syn region cssStringQQ start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=cssUnicodeEsc syn region cssStringQ start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=cssUnicodeEscape,cssSpecialCharQ " Vendor Prefix -syn match cssVendor contained "\(-\(webkit\|moz\|o\|ms\)-\)" +syn match cssVendor contained "-\(webkit\|moz\|o\|ms\)-" " Various CSS Hack characters " In earlier versions of IE (6 and 7), one can prefix property names @@ -508,6 +476,34 @@ syn region cssAttrRegion start=/:/ end=/\ze\(;\|)\|}\)/ contained contains=css.* " 'transition' has Props after ':'. syn region cssAttrRegion start=/transition\s*:/ end=/\ze\(;\|)\|}\)/ contained contains=css.*Prop,css.*Attr,cssColor,cssImportant,cssValue.*,cssFunction,cssString.*,cssURL,cssComment,cssUnicodeEscape,cssVendor,cssError,cssAttrComma,cssNoise +syn match cssAtKeyword /@\(font-face\|media\|keyframes\|import\|charset\|namespace\|page\|supports\)/ contained + +syn keyword cssAtRuleLogical only not and contained + +" @media +" Reference: http://www.w3.org/TR/css3-mediaqueries/ +syn region cssAtRule start=/@media\>/ end=/\ze{/ skipwhite skipnl matchgroup=cssAtKeyword contains=cssMediaProp,cssValueLength,cssAtRuleLogical,cssValueInteger,cssMediaAttr,cssVendor,cssMediaType,cssComment nextgroup=cssDefinition +syn keyword cssMediaType contained screen print aural braille embossed handheld projection tty tv speech all contained + +" @page +" http://www.w3.org/TR/css3-page/ +syn region cssAtRule start=/@page\>/ end=/\ze{/ skipwhite skipnl matchgroup=cssAtKeyword contains=cssPagePseudo,cssComment nextgroup=cssDefinition +syn match cssPagePseudo /:\(left\|right\|first\|blank\)/ contained skipwhite skipnl +" @keyframe +" http://www.w3.org/TR/css3-animations/#keyframes +syn region cssAtRule start=/@\(-[a-z]\+-\)\=keyframes\>/ end=/\ze{/ skipwhite skipnl matchgroup=cssAtKeyword contains=cssVendor,cssComment nextgroup=cssDefinition + +syn region cssAtRule start=/@import\>/ end=/\ze;/ contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssAtKeyword,cssURL,cssMediaProp,cssValueLength,cssAtRuleLogical,cssValueInteger,cssMediaAttr,cssMediaType +syn region cssAtRule start=/@charset\>/ end=/\ze;/ contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssAtKeyword +syn region cssAtRule start=/@namespace\>/ end=/\ze;/ contains=cssStringQ,cssStringQQ,cssUnicodeEscape,cssComment,cssAtKeyword + +" @font-face +" http://www.w3.org/TR/css3-fonts/#at-font-face-rule +syn match cssAtRule "@font-face\>" nextgroup=cssFontDescriptorBlock +" @supports +" https://www.w3.org/TR/css3-conditional/#at-supports +syn region cssAtRule start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=cssAtRuleLogical,cssAttrRegion,css.*Prop,cssValue.*,cssVendor,cssAtKeyword,cssComment nextgroup=cssDefinition + if main_syntax == "css" syn sync minlines=10 @@ -537,6 +533,7 @@ hi def link cssFontProp cssProp hi def link cssGeneratedContentProp cssProp hi def link cssGridProp cssProp hi def link cssHyerlinkProp cssProp +hi def link cssInteractProp cssProp hi def link cssLineboxProp cssProp hi def link cssListProp cssProp hi def link cssMarqueeProp cssProp @@ -567,6 +564,7 @@ hi def link cssFontAttr cssAttr hi def link cssGeneratedContentAttr cssAttr hi def link cssGridAttr cssAttr hi def link cssHyerlinkAttr cssAttr +hi def link cssInteractAttr cssAttr hi def link cssLineboxAttr cssAttr hi def link cssListAttr cssAttr hi def link cssMarginAttr cssAttr @@ -603,8 +601,8 @@ hi def link cssFunctionName Function hi def link cssFunctionComma Function hi def link cssColor Constant hi def link cssIdentifier Function -hi def link cssInclude Include -hi def link cssIncludeKeyword atKeyword +hi def link cssAtRule Include +hi def link cssAtKeyword PreProc hi def link cssImportant Special hi def link cssBraces Function hi def link cssBraceError Error @@ -613,20 +611,16 @@ hi def link cssUnicodeEscape Special hi def link cssStringQQ String hi def link cssStringQ String hi def link cssAttributeSelector String -hi def link cssMedia atKeyword hi def link cssMediaType Special hi def link cssMediaComma Normal -hi def link cssMediaKeyword Statement +hi def link cssAtRuleLogical Statement hi def link cssMediaProp cssProp hi def link cssMediaAttr cssAttr -hi def link cssPage atKeyword hi def link cssPagePseudo PreProc -hi def link cssPageMargin atKeyword +hi def link cssPageMarginProp cssAtKeyword hi def link cssPageProp cssProp -hi def link cssKeyFrame atKeyword -hi def link cssKeyFrameSelector Constant +hi def link cssKeyFrameProp Constant hi def link cssFontDescriptor Special -hi def link cssFontDescriptorFunction Constant hi def link cssFontDescriptorProp cssProp hi def link cssFontDescriptorAttr cssAttr hi def link cssUnicodeRange Constant @@ -636,7 +630,6 @@ hi def link cssProp StorageClass hi def link cssAttr Constant hi def link cssUnitDecorators Number hi def link cssNoise Noise -hi def link atKeyword PreProc let b:current_syntax = "css" diff --git a/runtime/syntax/dircolors.vim b/runtime/syntax/dircolors.vim index 3d7f63dc55..74a7068488 100644 --- a/runtime/syntax/dircolors.vim +++ b/runtime/syntax/dircolors.vim @@ -2,7 +2,7 @@ " Language: dircolors(1) input file " Maintainer: Jan Larres <jan@majutsushi.net> " Previous Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2013-08-17 +" Latest Revision: 2018-02-19 if exists("b:current_syntax") finish @@ -135,6 +135,12 @@ function! s:preview_color(linenr) abort elseif item >= 40 && item <= 47 " ANSI SGR background color let hi_str .= s:get_hi_str(item - 40, 'bg') + elseif item >= 90 && item <= 97 + " ANSI SGR+8 foreground color (xterm 16-color support) + let hi_str .= s:get_hi_str(item - 82, 'fg') + elseif item >= 100 && item <= 107 + " ANSI SGR+8 background color (xterm 16-color support) + let hi_str .= s:get_hi_str(item - 92, 'bg') elseif item == 38 " Foreground for terminals with 88/256 color support let color = s:get_256color(colors) |