mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:22f1d0e35eb0
Updated runtime files.
Add Serbian translations and spell checking.
22f1d0e35e
This commit is contained in:
parent
733b4ce033
commit
17a5dde8d3
@ -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|.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
143
runtime/keymap/oldturkic-orkhon_utf-8.vim
Normal file
143
runtime/keymap/oldturkic-orkhon_utf-8.vim
Normal file
@ -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
|
115
runtime/keymap/oldturkic-yenisei_utf-8.vim
Normal file
115
runtime/keymap/oldturkic-yenisei_utf-8.vim
Normal file
@ -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
|
@ -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")
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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)
|
||||
|
6918
src/nvim/po/sr.po
Normal file
6918
src/nvim/po/sr.po
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user