mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Compare commits
525 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11c2d059f0 | ||
|
|
4c478d0373 | ||
|
|
e5e2662f56 | ||
|
|
4f0f6717cf | ||
|
|
5e9d081260 | ||
|
|
77a3fb8386 | ||
|
|
2c75d94fc8 | ||
|
|
a916d1e5d2 | ||
|
|
6e2f05fb29 | ||
|
|
6a677287df | ||
|
|
2714472120 | ||
|
|
ab4ce39f68 | ||
|
|
de8b85301d | ||
|
|
0c33e55d36 | ||
|
|
2a59a029d1 | ||
|
|
036ac88f82 | ||
|
|
7e863a82ba | ||
|
|
5f1c2f4cfe | ||
|
|
24df990311 | ||
|
|
2017ababce | ||
|
|
9caf119a57 | ||
|
|
c61637cc7a | ||
|
|
d852533256 | ||
|
|
6f5b17688c | ||
|
|
d65cd9c88e | ||
|
|
107e3bd060 | ||
|
|
c975bde063 | ||
|
|
69b55bf234 | ||
|
|
241f57e057 | ||
|
|
14f6b95d25 | ||
|
|
f483738520 | ||
|
|
6253d1b746 | ||
|
|
75322b91a1 | ||
|
|
496f27aaf3 | ||
|
|
dcd7e3dca8 | ||
|
|
8aee9a339d | ||
|
|
c1f03abe28 | ||
|
|
81364390d3 | ||
|
|
70cb73d4d8 | ||
|
|
cf953ffa27 | ||
|
|
1e61ba9b5d | ||
|
|
e4f8096b95 | ||
|
|
ba724e7725 | ||
|
|
037c11a418 | ||
|
|
6c4e888d30 | ||
|
|
ac5da79ba0 | ||
|
|
9f8026cdc7 | ||
|
|
0c7d58818c | ||
|
|
7eaca88c16 | ||
|
|
cfaa56b81b | ||
|
|
d467649124 | ||
|
|
c67661a5df | ||
|
|
566c51cc9e | ||
|
|
d733704733 | ||
|
|
c9c7ec3896 | ||
|
|
bdfc1fde87 | ||
|
|
29ade81400 | ||
|
|
c5ea01f581 | ||
|
|
a383e34b23 | ||
|
|
a0d55ac3aa | ||
|
|
dc7b427e5b | ||
|
|
22c5e8078d | ||
|
|
84c88ac746 | ||
|
|
af915e056e | ||
|
|
547e1de69f | ||
|
|
39e6999142 | ||
|
|
d4fb6dfd46 | ||
|
|
bb0b14c8ad | ||
|
|
d578651937 | ||
|
|
d9f7b79780 | ||
|
|
26f59493b9 | ||
|
|
1d8006de19 | ||
|
|
0caf93fcd5 | ||
|
|
ddf0eb895b | ||
|
|
c988c907b1 | ||
|
|
bb5e83b87e | ||
|
|
1c12bd23d3 | ||
|
|
affd38a44b | ||
|
|
f1717bf967 | ||
|
|
3c2368b4ca | ||
|
|
d7f0f43dfc | ||
|
|
148d27c9d4 | ||
|
|
1f314d95de | ||
|
|
ef5b1c791a | ||
|
|
119c13f32a | ||
|
|
91840fcbcf | ||
|
|
c6aba8159f | ||
|
|
85a16304be | ||
|
|
61cc3366f8 | ||
|
|
4337a246ac | ||
|
|
0b516ea879 | ||
|
|
03c1c9001d | ||
|
|
feea4b6c25 | ||
|
|
53eef9c64c | ||
|
|
ef50fcbe7e | ||
|
|
be717f2c70 | ||
|
|
47b3ce2e5a | ||
|
|
cf22db698e | ||
|
|
6ed54d346b | ||
|
|
b2d66799b7 | ||
|
|
da0119205e | ||
|
|
4e71c04913 | ||
|
|
8c6b5eaf1f | ||
|
|
afcbfc85a8 | ||
|
|
3e40dde46c | ||
|
|
087d9db240 | ||
|
|
36900064ff | ||
|
|
98cfdbf087 | ||
|
|
de5a0e2dc2 | ||
|
|
af01de4490 | ||
|
|
f18eabedc0 | ||
|
|
51c5ee1f88 | ||
|
|
77e3358574 | ||
|
|
0aa17c3079 | ||
|
|
928b94ea6c | ||
|
|
123abe00c6 | ||
|
|
33d7eb1218 | ||
|
|
d7d7f60fe8 | ||
|
|
e09eb1d37a | ||
|
|
4e6ef67e51 | ||
|
|
d8681a0d5e | ||
|
|
0ce5d19c35 | ||
|
|
db86f3acd0 | ||
|
|
56e9026121 | ||
|
|
a1345ce338 | ||
|
|
fca7100977 | ||
|
|
4832514608 | ||
|
|
7caa7719df | ||
|
|
31e5506234 | ||
|
|
f2760f867c | ||
|
|
4285ca74a3 | ||
|
|
0862797623 | ||
|
|
f71e26a0a4 | ||
|
|
2cc2be3afd | ||
|
|
8d36b7e632 | ||
|
|
34fadbd24a | ||
|
|
ee365d3727 | ||
|
|
f21174778a | ||
|
|
3cf4415567 | ||
|
|
912de28994 | ||
|
|
9ee9e64622 | ||
|
|
22049b5f2c | ||
|
|
d1319a93e4 | ||
|
|
70ad423158 | ||
|
|
c0aa0f3988 | ||
|
|
3a2d8f6368 | ||
|
|
1a2eb7cffa | ||
|
|
2a3742c83e | ||
|
|
64938abead | ||
|
|
dce15d69ed | ||
|
|
5ded300c0d | ||
|
|
7a4aafada4 | ||
|
|
a5900d0a83 | ||
|
|
9483a44248 | ||
|
|
8863961356 | ||
|
|
b81a10086d | ||
|
|
216d6d7300 | ||
|
|
18ef46ae16 | ||
|
|
c957187e2d | ||
|
|
dac9bf02f8 | ||
|
|
95ea1660d1 | ||
|
|
b581d37345 | ||
|
|
73292c6213 | ||
|
|
2ed61056a8 | ||
|
|
ddbb38a194 | ||
|
|
65ebb1fec8 | ||
|
|
4f2cae25b2 | ||
|
|
b0166696d4 | ||
|
|
f8a7f80019 | ||
|
|
aed0768408 | ||
|
|
f52a441267 | ||
|
|
1ea88056c1 | ||
|
|
f622f42d14 | ||
|
|
f638e6c30b | ||
|
|
9f4e52e66a | ||
|
|
14394d15df | ||
|
|
1321f220ea | ||
|
|
7d50b906d8 | ||
|
|
99583cc304 | ||
|
|
af135857ec | ||
|
|
289619aa56 | ||
|
|
5b1d5676eb | ||
|
|
edf5147e1b | ||
|
|
a552f6b7b2 | ||
|
|
c08702b2de | ||
|
|
ed97cb7111 | ||
|
|
dcb96c01ca | ||
|
|
fa194bb638 | ||
|
|
ff32d693f5 | ||
|
|
63de9cc2f7 | ||
|
|
912bb8944f | ||
|
|
1efb945868 | ||
|
|
da08f55d67 | ||
|
|
d51d95c7fe | ||
|
|
e58e59dd42 | ||
|
|
05a535f954 | ||
|
|
789b3fa6e8 | ||
|
|
c3c6083d44 | ||
|
|
d8fcec92e3 | ||
|
|
092f7c3c67 | ||
|
|
ff05f0f5eb | ||
|
|
f815dbb39d | ||
|
|
318b4f0a7a | ||
|
|
b095d6836f | ||
|
|
709783ff3c | ||
|
|
0ce18a4fd7 | ||
|
|
9f1b8dbb3f | ||
|
|
4162325b6c | ||
|
|
935b51f9b3 | ||
|
|
708f7afb01 | ||
|
|
7bfab47011 | ||
|
|
2d8e5a3711 | ||
|
|
8e6268701f | ||
|
|
9f5cf97dd2 | ||
|
|
09dadbddbc | ||
|
|
ecc663217d | ||
|
|
3342759044 | ||
|
|
0d392a336c | ||
|
|
52ac61ae9b | ||
|
|
b246e15a87 | ||
|
|
b6d75a099b | ||
|
|
796c321b9d | ||
|
|
7baa11dee0 | ||
|
|
33ff4c19ea | ||
|
|
d6644ddde9 | ||
|
|
68ad25f13a | ||
|
|
f4a11a2dfa | ||
|
|
09d94e94d0 | ||
|
|
67e1163e71 | ||
|
|
01f1652ea1 | ||
|
|
b6995753ca | ||
|
|
7340b8d436 | ||
|
|
c553668419 | ||
|
|
9c1ff6a905 | ||
|
|
0ba71f9643 | ||
|
|
7c63923d48 | ||
|
|
02bd142134 | ||
|
|
431686e034 | ||
|
|
9e783f669f | ||
|
|
5793938f1f | ||
|
|
a552555049 | ||
|
|
5bad4550a4 | ||
|
|
f68ddde87c | ||
|
|
f5cfa0895d | ||
|
|
51983f69c1 | ||
|
|
5c81b99e3e | ||
|
|
519acb02ec | ||
|
|
eacc98e57a | ||
|
|
bb70ca813d | ||
|
|
77c66d5b21 | ||
|
|
c7cba6931d | ||
|
|
2eeb46b6a4 | ||
|
|
04cdd2207b | ||
|
|
7656471758 | ||
|
|
ac036acb57 | ||
|
|
01e075a338 | ||
|
|
75ac3daad7 | ||
|
|
246d55ae53 | ||
|
|
de24cfc34f | ||
|
|
70955d83b9 | ||
|
|
34a8be6642 | ||
|
|
69129fdb5a | ||
|
|
fc691cd648 | ||
|
|
aeb5093190 | ||
|
|
3993c90e1d | ||
|
|
09c2971b1c | ||
|
|
0601869517 | ||
|
|
370e8a7c0a | ||
|
|
288339b369 | ||
|
|
0d54d6319f | ||
|
|
7790c1d9f3 | ||
|
|
085e6994ed | ||
|
|
27cf62c0df | ||
|
|
e39520fc9f | ||
|
|
0bc4127113 | ||
|
|
f6a6226db4 | ||
|
|
79216af1aa | ||
|
|
70488eec56 | ||
|
|
eb4d73adc1 | ||
|
|
1b6fc651ab | ||
|
|
e713b6f485 | ||
|
|
a63e01af90 | ||
|
|
74fd8ed4d4 | ||
|
|
bda3401510 | ||
|
|
d5d5bbfd2e | ||
|
|
dc363c34d3 | ||
|
|
fbb5357a0e | ||
|
|
9e0ef247ce | ||
|
|
a801b7b72c | ||
|
|
f970b3abbc | ||
|
|
4afac28691 | ||
|
|
0b469af19b | ||
|
|
b97c4fcd5d | ||
|
|
4d40c5a3b1 | ||
|
|
386f60a9ac | ||
|
|
68f6fba268 | ||
|
|
ee279e71a7 | ||
|
|
9da6a1e58b | ||
|
|
551475e48a | ||
|
|
b6d3c9e843 | ||
|
|
68a1a49e0b | ||
|
|
243b3504d9 | ||
|
|
33d21c75cf | ||
|
|
8feb345b5c | ||
|
|
f8db58b44a | ||
|
|
b24f4cdaf0 | ||
|
|
44525a5ec7 | ||
|
|
2258f16c42 | ||
|
|
eff2b2a4b8 | ||
|
|
9301019689 | ||
|
|
dcb4759c39 | ||
|
|
8f593d8e6f | ||
|
|
8c1d19f922 | ||
|
|
eec6128b8e | ||
|
|
cd20896c4e | ||
|
|
21b74dc4a3 | ||
|
|
f2dccd2c94 | ||
|
|
a292f07fbf | ||
|
|
de9553d8d2 | ||
|
|
73ba250fa1 | ||
|
|
cc70b92b65 | ||
|
|
d6b86507f7 | ||
|
|
e1a9871a10 | ||
|
|
5e4535e990 | ||
|
|
53fe2a1478 | ||
|
|
8a37d5f26d | ||
|
|
0813d4ce72 | ||
|
|
6420c0bf01 | ||
|
|
5586655a59 | ||
|
|
fc7ff7e8c7 | ||
|
|
c1a5acb705 | ||
|
|
49ee3a8b08 | ||
|
|
a27d1a4e71 | ||
|
|
19cc3af11b | ||
|
|
759fc03897 | ||
|
|
5fd2ef803b | ||
|
|
a55db5a0fd | ||
|
|
977e77443c | ||
|
|
cb9f1b3f70 | ||
|
|
324bec05c5 | ||
|
|
a37b31b9a7 | ||
|
|
d7af6a3497 | ||
|
|
21be2c48e2 | ||
|
|
b19fbc8f33 | ||
|
|
d452be0885 | ||
|
|
abf48e7ca4 | ||
|
|
0debd6f848 | ||
|
|
4da6a699ff | ||
|
|
d2ce7482ad | ||
|
|
dc1e9bceab | ||
|
|
b958f1b432 | ||
|
|
04fbdcfd54 | ||
|
|
9b9dfb7f3b | ||
|
|
67029001ef | ||
|
|
753f686c84 | ||
|
|
8662ca1ca9 | ||
|
|
3cf9bf4dbb | ||
|
|
4afe158ed8 | ||
|
|
51b0a491da | ||
|
|
2d96c63e8c | ||
|
|
2160b10eaf | ||
|
|
92ff8d401d | ||
|
|
86e31b8206 | ||
|
|
a3837f485e | ||
|
|
1c19d4fe8e | ||
|
|
63515c7301 | ||
|
|
32bb059f9d | ||
|
|
b46fc07e3d | ||
|
|
d73ffaf54e | ||
|
|
2d80e2cc8f | ||
|
|
11b62a3f2a | ||
|
|
b538c66e76 | ||
|
|
30b67f6617 | ||
|
|
a925872665 | ||
|
|
ec76043c2b | ||
|
|
a7b9d7c1d3 | ||
|
|
79cf3853fd | ||
|
|
f2fc14b41c | ||
|
|
ddea54f6fe | ||
|
|
d667cf6766 | ||
|
|
9d1fdb9856 | ||
|
|
706c48d8af | ||
|
|
bc7b0675c3 | ||
|
|
ad180a73bb | ||
|
|
912edb5aef | ||
|
|
b080f02985 | ||
|
|
9085dd3108 | ||
|
|
fa81dade02 | ||
|
|
8158b9ccae | ||
|
|
960c05e988 | ||
|
|
0a44b2f0fa | ||
|
|
704fea6e7e | ||
|
|
3248369d64 | ||
|
|
5a4c51ba9f | ||
|
|
4a4f5a1c1d | ||
|
|
2a4a39abf4 | ||
|
|
a0326d8c86 | ||
|
|
93f7593c83 | ||
|
|
d77ac9d6c6 | ||
|
|
9da34dfed2 | ||
|
|
e71446798b | ||
|
|
0a1d9ccc1b | ||
|
|
2a5f8c3a47 | ||
|
|
dbf17e8e12 | ||
|
|
f395b2637e | ||
|
|
4edb910500 | ||
|
|
59f1ecbcb7 | ||
|
|
1b7b41ccf8 | ||
|
|
564a79f18d | ||
|
|
082a5a87ff | ||
|
|
a3a37718ec | ||
|
|
6540e20e24 | ||
|
|
b542ae84f6 | ||
|
|
ab06aa42d4 | ||
|
|
3393f839f5 | ||
|
|
1652666c7e | ||
|
|
df4e87a9d4 | ||
|
|
7e21ed50d2 | ||
|
|
8695044efb | ||
|
|
60a98a82ef | ||
|
|
28e8833535 | ||
|
|
8b5caba234 | ||
|
|
c110da430b | ||
|
|
e7ecdb406d | ||
|
|
012c1ba6a0 | ||
|
|
9822fdabe4 | ||
|
|
baa8a8adf7 | ||
|
|
91f42a2e09 | ||
|
|
9fee8ab7c3 | ||
|
|
415411f083 | ||
|
|
0d7f20cf35 | ||
|
|
46fb64da7e | ||
|
|
b46de7dfc1 | ||
|
|
fd878df2a4 | ||
|
|
19779d436d | ||
|
|
f17b100e61 | ||
|
|
e2cd668764 | ||
|
|
c9425ea99b | ||
|
|
f2780edc75 | ||
|
|
c04bea8399 | ||
|
|
c0eccee47c | ||
|
|
7bce4e3d5c | ||
|
|
f2b1eb9ce6 | ||
|
|
2db3f42a33 | ||
|
|
eabb81144c | ||
|
|
7ff578ef2f | ||
|
|
2558203742 | ||
|
|
c35bf8ed17 | ||
|
|
c25d7ac926 | ||
|
|
2df48de426 | ||
|
|
e21e6ba326 | ||
|
|
7ced5bde0f | ||
|
|
9416edfb3b | ||
|
|
1be3fc610d | ||
|
|
80d2cf6562 | ||
|
|
ab4c64ed54 | ||
|
|
08a137569b | ||
|
|
3e12a088dd | ||
|
|
354e979fd1 | ||
|
|
caf46b8dc4 | ||
|
|
87f9422cac | ||
|
|
af2eb2c3d1 | ||
|
|
8ce13c9811 | ||
|
|
cbe116a826 | ||
|
|
863f7ac49d | ||
|
|
e6bc5715bb | ||
|
|
45c411c399 | ||
|
|
8462c4219b | ||
|
|
668d0375d7 | ||
|
|
919fbb77a8 | ||
|
|
b48d27a3ed | ||
|
|
03019dd252 | ||
|
|
dcd1cb09ee | ||
|
|
3a8cc49d96 | ||
|
|
f55d488909 | ||
|
|
2459a9a93f | ||
|
|
af69e72085 | ||
|
|
6d9bcbee61 | ||
|
|
234dba87a1 | ||
|
|
1cb5fc1587 | ||
|
|
e54bc71e0d | ||
|
|
0ef86d07ed | ||
|
|
f0181c9c26 | ||
|
|
579bf0a034 | ||
|
|
0ed78be92c | ||
|
|
5be05010e1 | ||
|
|
48e33bf430 | ||
|
|
181b1a5869 | ||
|
|
baf9e110ec | ||
|
|
0783ab2cd6 | ||
|
|
87d6d426af | ||
|
|
1451831045 | ||
|
|
ecbebd2b9f | ||
|
|
9bd145402e | ||
|
|
a16fca072b | ||
|
|
3b3bdce544 | ||
|
|
894856d8ea | ||
|
|
91003039aa | ||
|
|
9f7db5537f | ||
|
|
80def2ee67 | ||
|
|
515f9093ec | ||
|
|
3d0324e34a | ||
|
|
b71c305476 | ||
|
|
eb2ba7d6ec | ||
|
|
240a479271 | ||
|
|
a0adfb212b | ||
|
|
72b049e2dc | ||
|
|
157a002b9d | ||
|
|
a4a2d32bd2 | ||
|
|
742a16f6a5 | ||
|
|
26fdb7920a | ||
|
|
cdc0f96f1b | ||
|
|
b8ba1ae882 | ||
|
|
f302e3a4d4 | ||
|
|
a8bdbfd1d7 | ||
|
|
6d791867c4 | ||
|
|
914469e5d5 | ||
|
|
5beecbaf5b | ||
|
|
3b14155fed | ||
|
|
f6f29b646c | ||
|
|
d1925ccf69 | ||
|
|
c9b9540bbd | ||
|
|
1110f39dd7 | ||
|
|
49e184b7a6 | ||
|
|
b69fc031a2 |
98
README.md
98
README.md
@@ -1,37 +1,95 @@
|
||||
TITLE
|
||||
=====
|
||||
|
||||
vim-css3-syntax
|
||||
===============
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
===========
|
||||
|
||||
Add CSS3 syntax support to vim's built-in `syntax/css.vim`.
|
||||
CSS3 syntax (and syntax defined in some foreign specifications) support for
|
||||
[Vim][1]’s built-in `syntax/css.vim`
|
||||
|
||||
|
||||
INSTALLATION
|
||||
============
|
||||
------------
|
||||
|
||||
Extract vim-css3-syntax.tar.gz and copy contents to `~/.vim` directory.
|
||||
I **strongly** recommend to install this plugin on *Vim 8.1 or higher with
|
||||
default runtime files*.
|
||||
|
||||
|
||||
Git and pathogen
|
||||
================
|
||||
### Vim package
|
||||
|
||||
$ mkdir -p ~/.vim/pack/css3-syntax/start
|
||||
$ cd ~/.vim/pack/css3-syntax/start
|
||||
$ git clone https://github.com/hail2u/vim-css3-syntax.git
|
||||
|
||||
|
||||
### pathogen.vim
|
||||
|
||||
$ cd ~/.vim/bundle
|
||||
$ git clone https://hail2u@github.com/hail2u/vim-css3-syntax.git
|
||||
$ git clone https://github.com/hail2u/vim-css3-syntax.git
|
||||
|
||||
|
||||
HISTORY
|
||||
=======
|
||||
### Manual
|
||||
|
||||
v0.1
|
||||
----
|
||||
* Initial release
|
||||
Download `vim-css3-syntax.tar.gz` from GitHub, extract it, and copy the contents
|
||||
to your `~/.vim` directory.
|
||||
|
||||
|
||||
NOTES
|
||||
-----
|
||||
|
||||
### Highlighting problems on: `vertical-align`, `box-shadow`, and others
|
||||
|
||||
Some properties do not highlight correctly by default. This is a limitation of
|
||||
Vim’s highlight priority mechanism. To fix this problems, put following lines
|
||||
in your `~/.vim/after/css.vim`:
|
||||
|
||||
setlocal iskeyword+=-
|
||||
|
||||
Or in your `~/.vimrc`:
|
||||
|
||||
augroup VimCSS3Syntax
|
||||
autocmd!
|
||||
|
||||
autocmd FileType css setlocal iskeyword+=-
|
||||
augroup END
|
||||
|
||||
This setting have side effects. So, use it at your own risk.
|
||||
|
||||
|
||||
### Vendor Prefixes
|
||||
|
||||
I do not plan to support CSS3 properties (or functions) with vendor prefixes,
|
||||
such as `-webkit-` or `-moz-`, etc. These are hard to maintain because they are:
|
||||
|
||||
* Added frequently
|
||||
* Changed unexpectedly
|
||||
* Removed silently
|
||||
|
||||
These must be supported by separate syntax plugins (Vim 7.4’s default CSS
|
||||
syntax file supports this). If you want to highlight prefixed properties or
|
||||
functions manually, `:highlight` and `:match` would help:
|
||||
|
||||
:highlight VendorPrefix guifg=#00ffff gui=bold
|
||||
:match VendorPrefix /-\(moz\|webkit\|o\|ms\)-[a-zA-Z-]\+/
|
||||
|
||||
These commands highlight vendor prefixed properties and functions instantly with
|
||||
cyan and bold (on gVim).
|
||||
|
||||
|
||||
### Media Queries
|
||||
|
||||
I drop Media Queries Level 3 support in v0.12.0. There is no easy way to support
|
||||
Media Queries properly with `after` syntax plugin like this one, sorry. If you
|
||||
want to highlight Media Queries correctly, you must update Vim to 8.0+.
|
||||
|
||||
|
||||
AUTHOR
|
||||
======
|
||||
------
|
||||
|
||||
* Kyo Namegashima <kyo@hail2u.net>
|
||||
Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)
|
||||
|
||||
|
||||
LICENSE
|
||||
-------
|
||||
|
||||
MIT License
|
||||
|
||||
|
||||
[1]: http://www.vim.org/
|
||||
|
||||
5
after/syntax/css/align-3.vim
Normal file
5
after/syntax/css/align-3.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn match cssFontProp contained "\<place-\(self\|content\|items\)\>"
|
||||
syn match cssFontProp contained "\<\(row-\)\=gap\>"
|
||||
syn keyword cssFontAttr contained safe unsafe legacy
|
||||
syn match cssFontAttr contained "\<self-\(start\|end\)\>"
|
||||
syn match cssFontAttr contained "\<space-evenly\>"
|
||||
0
after/syntax/css/animation-worklet-1.vim
Normal file
0
after/syntax/css/animation-worklet-1.vim
Normal file
0
after/syntax/css/animations-1.vim
Normal file
0
after/syntax/css/animations-1.vim
Normal file
0
after/syntax/css/backgrounds-3.vim
Normal file
0
after/syntax/css/backgrounds-3.vim
Normal file
7
after/syntax/css/backgrounds-4.vim
Normal file
7
after/syntax/css/backgrounds-4.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
syn keyword cssFontProp contained corners
|
||||
syn match cssFontProp contained "\<background-position-\(x\|y\|inline\|block\)\>"
|
||||
syn match cssFontProp contained "\<corner-shape\>"
|
||||
syn match cssFontProp contained "\<border-limit\>"
|
||||
syn match cssFontProp contained "\<border-clip\(-\(top\|right\|bottom\|left\)\)\=\>"
|
||||
syn keyword cssFontAttr contained bevel scoop notch
|
||||
syn match cssFontAttr contained "\<\(x\|y\)-\(start\|end\)\>"
|
||||
0
after/syntax/css/box-3.vim
Normal file
0
after/syntax/css/box-3.vim
Normal file
2
after/syntax/css/box-4.vim
Normal file
2
after/syntax/css/box-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssBoxProp contained "\<margin-trim\>"
|
||||
syn match cssBoxAttr contained "\<in-flow\>"
|
||||
1
after/syntax/css/break-3.vim
Normal file
1
after/syntax/css/break-3.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn keyword cssFontAttr contained recto verso
|
||||
2
after/syntax/css/break-4.vim
Normal file
2
after/syntax/css/break-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssBoxProp contained "\<margin-break\>"
|
||||
syn keyword cssFontAttr contained keep
|
||||
0
after/syntax/css/cascade-3.vim
Normal file
0
after/syntax/css/cascade-3.vim
Normal file
2
after/syntax/css/cascade-4.vim
Normal file
2
after/syntax/css/cascade-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssCommonAttr contained revert
|
||||
syn region cssURL contained matchgroup=cssFunctionName start="\<supports\s*(" end=")" oneline keepend
|
||||
0
after/syntax/css/color-3.vim
Normal file
0
after/syntax/css/color-3.vim
Normal file
4
after/syntax/css/color-4.vim
Normal file
4
after/syntax/css/color-4.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
syn keyword cssFontAttr contained perceptual
|
||||
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
1
after/syntax/css/color-5.vim
Normal file
1
after/syntax/css/color-5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-\(mix\|contrast\|adjust\)\|red\|green\|blue\|alpha\|hue\|saturation\|lightness\|whiteness\|blackness\|a\|b\|chroma\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||
3
after/syntax/css/color-adjust-1.vim
Normal file
3
after/syntax/css/color-adjust-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
||||
syn match cssColorProp contained "\<color-scheme\>"
|
||||
syn keyword cssFontAttr contained only economy exact
|
||||
3
after/syntax/css/compositing-1.vim
Normal file
3
after/syntax/css/compositing-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn keyword cssFontProp contained isolation
|
||||
syn match cssFontProp contained "\<\(mix\|background\)-blend-mode\>"
|
||||
syn keyword cssFontAttr contained multiply screen overlay darken lighten color-dodge color-burn hard-light soft-light difference exclusion hue saturation color luminosity
|
||||
0
after/syntax/css/conditional-3.vim
Normal file
0
after/syntax/css/conditional-3.vim
Normal file
0
after/syntax/css/conditional-4.vim
Normal file
0
after/syntax/css/conditional-4.vim
Normal file
2
after/syntax/css/contain-1.vim
Normal file
2
after/syntax/css/contain-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained contain
|
||||
syn keyword cssFontAttr contained layout paint size
|
||||
0
after/syntax/css/contain-2.vim
Normal file
0
after/syntax/css/contain-2.vim
Normal file
4
after/syntax/css/content-3.vim
Normal file
4
after/syntax/css/content-3.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
syn match cssGeneratedContentProp contained "\<string-set\>"
|
||||
syn match cssGeneratedContentProp contained "\<bookmark-\(label\|level\|state\)\>"
|
||||
syn keyword cssGeneratedContentAttr contained open closed
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(leader\|string\|target-\(counter\|counters\|text\)\)\s*(" end=")" oneline keepend
|
||||
13
after/syntax/css/counter-styles-3.vim
Normal file
13
after/syntax/css/counter-styles-3.vim
Normal file
@@ -0,0 +1,13 @@
|
||||
syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback
|
||||
syn match cssGeneratedContentProp contained "\<\(additive-\)\=symbols\>"
|
||||
syn match cssGeneratedContentProp contained "\<speak-as\>"
|
||||
syn keyword cssGeneratedContentAttr contained cyclic symbolic additive extends bullets numbers words bengali cambodian khmer devanagari gujarati gurmukhi kannada lao malayalam mongolian myanmar oriya persian tamil telugu thai tibetan
|
||||
syn match cssGeneratedContentAttr contained "\<\(ethiopic-\)\=numeric\>"
|
||||
syn match cssGeneratedContentAttr contained "\<arabic-indic\>"
|
||||
syn match cssGeneratedContentAttr contained "\<\(upper\|lower\)-armenian\>"
|
||||
syn match cssGeneratedContentAttr contained "\<cjk-\(decimal\|earthly-branch\|heavenly-stem\)\>"
|
||||
syn match cssGeneratedContentAttr contained "\<disclosure-\(open\|closed\)\>"
|
||||
syn match cssGeneratedContentAttr contained "\<\(japanese\|korean-hanja\|\(simp\|trad\)-chinese\)-\(in\)\=formal\>"
|
||||
syn match cssGeneratedContentAttr contained "\<korean-hangul-formal\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<symbols\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@counter-style\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -1 +0,0 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgba\|hsla\?\|calc\|\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
||||
@@ -1,15 +0,0 @@
|
||||
syn match cssBoxProp contained "\<border-\(color\|image\|radius\)\>"
|
||||
syn match cssBoxProp contained "\<box-shadow\>"
|
||||
|
||||
syn match cssColorProp contained "\<background-\(origin\|clip\|size\)\>"
|
||||
|
||||
syn keyword cssColorProp contained opacity
|
||||
|
||||
syn match cssTextProp contained "\<text-\(shadow\|overflow\)\>"
|
||||
syn match cssTextProp contained "\<word-wrap\>"
|
||||
|
||||
syn match cssBoxProp contained "\<box-sizing\>"
|
||||
syn keyword cssBoxProp contained resize
|
||||
syn match cssBoxProp contained "\<nav-\(up\|right\|down\|left\)"
|
||||
|
||||
syn match cssBoxProp contained "\<overflow-\(x\|y\)\>"
|
||||
0
after/syntax/css/cssom-1.vim
Normal file
0
after/syntax/css/cssom-1.vim
Normal file
2
after/syntax/css/cssom-view-1.vim
Normal file
2
after/syntax/css/cssom-view-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<scroll-behavior\>"
|
||||
syn keyword cssFontAttr contained smooth
|
||||
2
after/syntax/css/device-adapt-1.vim
Normal file
2
after/syntax/css/device-adapt-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>"
|
||||
syn match cssFontDescriptor "@viewport\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
2
after/syntax/css/display-3.vim
Normal file
2
after/syntax/css/display-3.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontAttr contained contents discard
|
||||
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"
|
||||
0
after/syntax/css/easing-1.vim
Normal file
0
after/syntax/css/easing-1.vim
Normal file
3
after/syntax/css/exclusions-3.vim
Normal file
3
after/syntax/css/exclusions-3.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
" TODO: create cssExclusionsProp group and cssExclusionsAttr group
|
||||
syn match cssFontProp contained "\<wrap-\(flow\|through\)\>"
|
||||
syn keyword cssFontAttr contained minimum maximum
|
||||
5
after/syntax/css/fill-stroke-3.vim
Normal file
5
after/syntax/css/fill-stroke-3.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn match cssFontProp contained "\<\(fill\|stroke\)\(-\(break\|color\|image\|origin\|position\|size\|repeat\|opacity\)\)\=\>"
|
||||
syn match cssFontProp contained "\<fill-rule\>"
|
||||
syn match cssFontProp contained "\<stroke-\(width\|align\|line\(cap\|join\)\|miterlimit\|dash\(array\|offset\)\|dash-\(corner\|justify\)\)\>"
|
||||
syn keyword cssFontAttr contained butt arcs stupid compress dashes gaps
|
||||
syn match cssFontAttr contained "\<bounding-box\>"
|
||||
5
after/syntax/css/filter-effects-1.vim
Normal file
5
after/syntax/css/filter-effects-1.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn match cssFontProp contained "\<flood-\(color\|opacity\)\>"
|
||||
syn match cssFontProp contained "\<color-interpolation-filters\>"
|
||||
syn match cssFontProp contained "\<lighting-color\>"
|
||||
syn keyword cssFontAttr sRGB linearRGB
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(blur\|brightness\|contrast\|drop-shadow\|grayscale\|hue-rotate\|invert\|opacity\|saturate\|sepia\)\s*(" end=")" oneline keepend
|
||||
0
after/syntax/css/flexbox-1.vim
Normal file
0
after/syntax/css/flexbox-1.vim
Normal file
0
after/syntax/css/font-loading-3.vim
Normal file
0
after/syntax/css/font-loading-3.vim
Normal file
10
after/syntax/css/fonts-3.vim
Normal file
10
after/syntax/css/fonts-3.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
syn keyword cssFontAttr contained unicase jis78 jis83 jis90 jis04 simplified traditional ordinal
|
||||
syn match cssFontAttr contained "\<\(no-\)\=\(common\|discretionary\|historical\)-ligatures\>"
|
||||
syn match cssFontAttr contained "\<\(no-\)\=contextual\>"
|
||||
syn match cssFontAttr contained "\<all-small-caps\>"
|
||||
syn match cssFontAttr contained "\<\(all-\)\=petite-caps\>"
|
||||
syn match cssFontAttr contained "\<titling-caps\>"
|
||||
syn match cssFontAttr contained "\<\(lining\|oldstyle\|proportional\|tabular\)-nums\>"
|
||||
syn match cssFontAttr contained "\<\(diagonal\|stacked\)-fractions\>"
|
||||
syn match cssFontAttr contained "\<proportional-width\>"
|
||||
syn match cssFontAttr contained "\<slashed-zero\>"
|
||||
16
after/syntax/css/fonts-4.vim
Normal file
16
after/syntax/css/fonts-4.vim
Normal file
@@ -0,0 +1,16 @@
|
||||
syn match cssFontProp contained "\<font-display\>"
|
||||
syn match cssFontProp contained "\<font-optical-sizing\>"
|
||||
syn match cssFontProp contained "\<font-variation-settings\>"
|
||||
syn match cssFontProp contained "\<font-palette\>"
|
||||
syn match cssFontProp contained "\<font-presentation\>"
|
||||
syn match cssFontProp contained "\<base-palette\>"
|
||||
syn match cssFontProp contained "\<override-color\>"
|
||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
||||
syn match cssFontAttr contained "\<system-ui\>"
|
||||
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
|
||||
syn match cssFontAttr contained "\<historical-forms\>"
|
||||
syn match cssFontAttr contained "\<xxx-large\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
||||
" syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
5
after/syntax/css/gcpm-3.vim
Normal file
5
after/syntax/css/gcpm-3.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn keyword cssGeneratedContentProp contained running
|
||||
syn match cssGeneratedContentProp contained "\<footnote-\(display\|policy\)\>"
|
||||
syn keyword cssGeneratedContentAttr contained footnote line
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(element\|running\)\s*(" end=")" oneline keepend
|
||||
syn match cssPseudoClassId contained "\<footnote-\(call\|marker\)\>"
|
||||
0
after/syntax/css/geometry-1.vim
Normal file
0
after/syntax/css/geometry-1.vim
Normal file
3
after/syntax/css/grid-1.vim
Normal file
3
after/syntax/css/grid-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn keyword cssFontAttr contained dense span
|
||||
syn match cssFontAttr contained "\<auto-flow\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend
|
||||
0
after/syntax/css/grid-2.vim
Normal file
0
after/syntax/css/grid-2.vim
Normal file
@@ -1,2 +0,0 @@
|
||||
" HTML5 new elements
|
||||
syn keyword section article aside hgroup header footer nav figure figcaption video audio source embed mark progress meter time ruby rt rp bdi wbr canvas command details summary datalist keygen output
|
||||
1
after/syntax/css/html5.vim
Normal file
1
after/syntax/css/html5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn keyword cssTagName picture rb rtc slot template
|
||||
6
after/syntax/css/images-3.vim
Normal file
6
after/syntax/css/images-3.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
||||
syn match cssFontProp contained "\<image-orientation\>"
|
||||
syn keyword cssFontAttr contained snap flip pixelated
|
||||
syn match cssFontAttr contained "\<scale-down\>"
|
||||
syn match cssFontAttr contained "\<from-image\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
||||
2
after/syntax/css/images-4.vim
Normal file
2
after/syntax/css/images-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<image-resolution\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(image\|element\|conic-gradient\)\s*(" end=")" oneline keepend
|
||||
5
after/syntax/css/inline-3.vim
Normal file
5
after/syntax/css/inline-3.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
|
||||
syn match cssFontProp contained "\<baseline-shift\>"
|
||||
syn match cssFontProp contained "\<inline-sizing\>"
|
||||
syn match cssFontProp contained "\<initial-letters\(-\(align\|wrap\)\)\="
|
||||
syn keyword cssFontAttr contained mathematical ideographic
|
||||
0
after/syntax/css/layout-api-1.vim
Normal file
0
after/syntax/css/layout-api-1.vim
Normal file
5
after/syntax/css/line-grid-1.vim
Normal file
5
after/syntax/css/line-grid-1.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn match cssFontProp contained "\<line-\(grid\|snap\)"
|
||||
syn match cssFontProp contained "\<box-snap\>"
|
||||
syn keyword cssFontAttr contained create
|
||||
syn match cssFontAttr contained "\<block-\(start\|end\)\>"
|
||||
syn match cssFontAttr contained "\<\(first\|last\)-baseline\>"
|
||||
7
after/syntax/css/lists-3.vim
Normal file
7
after/syntax/css/lists-3.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
" WD-css-lists-3-20190817
|
||||
syn match cssGeneratedContentProp contained "\<marker-side\>"
|
||||
syn match cssGeneratedContentProp contained "\<counter-set\>"
|
||||
syn keyword cssGeneratedContentAttr contained marker
|
||||
syn match cssGeneratedContentAttr contained "\<match-self\>"
|
||||
syn match cssGeneratedContentAttr contained "\<list-container\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend
|
||||
5
after/syntax/css/logical-1.vim
Normal file
5
after/syntax/css/logical-1.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>"
|
||||
syn match cssFontProp contained "\<\(margin\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
|
||||
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
|
||||
syn keyword cssFontAttr contained logical physical rotate
|
||||
7
after/syntax/css/masking-1.vim
Normal file
7
after/syntax/css/masking-1.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
syn match cssFontProp contained "\<clip-\(path\|rule\)\>"
|
||||
syn match cssFontProp contained "\<mask\(-\(image\|mode\|repeat\|position\|clip\|origin\|size\|composite\|type\)\)\=\>"
|
||||
syn match cssFontProp contained "\<mask-border\(-\(source\|mode\|slice\|width\|outset\|repeat\)\)\=\>"
|
||||
syn keyword cssFontAttr contained nonzero evenodd alpha luminance add subtract intersect exclude
|
||||
syn match cssFontAttr contained "\<\(fill\|stroke\|view\)-box\>"
|
||||
syn match cssFontAttr contained "\<no-clip\>"
|
||||
syn match cssTagName "\<mask\>"
|
||||
@@ -1,2 +0,0 @@
|
||||
syn region cssMediaType start='(' end=')' contains=css.*Attr,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape nextgroup=cssMediaComma,cssMediaAnd,cssMediaBlock skipwhite skipnl
|
||||
syn match cssMediaComma "and" nextgroup=cssMediaType skipwhite skipnl
|
||||
2
after/syntax/css/motion-1.vim
Normal file
2
after/syntax/css/motion-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<offset\(-\(path\|distance\|position\|anchor\|rotate\)\)\=\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend
|
||||
1
after/syntax/css/multicol-1.vim
Normal file
1
after/syntax/css/multicol-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontAttr contained "\<balance\(-all\)\=\>"
|
||||
0
after/syntax/css/namespace-3.vim
Normal file
0
after/syntax/css/namespace-3.vim
Normal file
2
after/syntax/css/nav-1.vim
Normal file
2
after/syntax/css/nav-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\|function\)\>"
|
||||
syn keyword cssFontAttr contained focus
|
||||
5
after/syntax/css/overflow-3.vim
Normal file
5
after/syntax/css/overflow-3.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn keyword cssFontProp contained continue
|
||||
syn match cssFontProp contained "\<block-overflow\>"
|
||||
syn match cssFontProp contained "\<line-clamp\>"
|
||||
syn match cssFontProp contained "\<max-lines\>"
|
||||
syn match cssFontProp contained "\<overflow-\(block\|inline\)\>"
|
||||
3
after/syntax/css/overflow-4.vim
Normal file
3
after/syntax/css/overflow-4.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||
syn keyword cssFontAttr contained stable force overflow paginate fragments
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline
|
||||
1
after/syntax/css/overscroll-1.vim
Normal file
1
after/syntax/css/overscroll-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<overscroll-behavior\(-\(block\|inline\|x\|y\)\)\=\>"
|
||||
1
after/syntax/css/page-3.vim
Normal file
1
after/syntax/css/page-3.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn keyword cssFontProp contained marks bleed
|
||||
4
after/syntax/css/page-floats-3.vim
Normal file
4
after/syntax/css/page-floats-3.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
syn match cssPositioningProp contained "\<float-\(reference\|defer\|offset\)\>"
|
||||
syn match cssPositioningAttr contained "\<inline-\(start\|end\)\>"
|
||||
syn match cssPositioningAttr contained "\<snap-\(block\|inline\)\>"
|
||||
syn region cssURL contained matchgroup=cssFunctionName start="\<snap-\(block\|inline\)\s*(" end=")" oneline keepend
|
||||
1
after/syntax/css/paint-api-1.vim
Normal file
1
after/syntax/css/paint-api-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssURL contained matchgroup=cssFunctionName start="\<paint\s*(" end=")" oneline keepend
|
||||
3
after/syntax/css/pointerevents.vim
Normal file
3
after/syntax/css/pointerevents.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssFontProp contained "\<touch-action\>"
|
||||
syn keyword cssFontAttr contained manipulation
|
||||
syn match cssFontAttr contained "\<pan-\(x\|y\)\>"
|
||||
2
after/syntax/css/position-3.vim
Normal file
2
after/syntax/css/position-3.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<inset\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||
syn keyword cssFontAttr contained sticky
|
||||
2
after/syntax/css/properties-values-api-1.vim
Normal file
2
after/syntax/css/properties-values-api-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained syntax inherits
|
||||
syn match cssFontProp contained "\<initial-value\>"
|
||||
2
after/syntax/css/pseudo-4.vim
Normal file
2
after/syntax/css/pseudo-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssPseudoClassId contained "\<inactive-selection\>"
|
||||
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
|
||||
6
after/syntax/css/regions-1.vim
Normal file
6
after/syntax/css/regions-1.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
" TODO: create cssRegionsProp group and cssRegionsAttr group
|
||||
syn match cssFontProp contained "\<flow-\(into\|from\)\>"
|
||||
syn match cssFontProp contained "\<region-fragment\>"
|
||||
syn keyword cssFontAttr contained element content break
|
||||
syn match cssFontAttr contained "\<\(avoid-\)\=region\>"
|
||||
syn keyword cssPseudoClassId contained region
|
||||
0
after/syntax/css/resize-observer-1.vim
Normal file
0
after/syntax/css/resize-observer-1.vim
Normal file
3
after/syntax/css/rhythm-1.vim
Normal file
3
after/syntax/css/rhythm-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssFontProp contained "\<line-height-step\>"
|
||||
syn match cssFontProp contained "\<block-step\(-\(size\|insert\|align\|round\)\)\=\>"
|
||||
syn keyword cssFontAttr contained margin up down nearest
|
||||
7
after/syntax/css/round-display-1.vim
Normal file
7
after/syntax/css/round-display-1.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
syn match cssFontProp contained "\<shape-inside\>"
|
||||
syn match cssFontProp contained "\<border-boundary\>"
|
||||
syn match cssFontProp contained "\<polar-\(angle\|distance\)\>"
|
||||
syn keyword cssFontAttr contained parent polar
|
||||
syn match cssFontAttr contained "\<outside-shape\>"
|
||||
syn match cssFontAttr contained "\<shape-box\>"
|
||||
syn match cssMediaProp contained /device-radius/
|
||||
3
after/syntax/css/ruby-1.vim
Normal file
3
after/syntax/css/ruby-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\|overhang\)"
|
||||
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
|
||||
syn match cssFontAttr contained "\<inter-character\>"
|
||||
5
after/syntax/css/scoping-1.vim
Normal file
5
after/syntax/css/scoping-1.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn keyword cssPseudoClassId contained host shadow content
|
||||
syn match cssPseudoClassId contained "\<\(scope\|host\)-context\>"
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(host\)(" end=")" oneline
|
||||
syn match cssSelectorOp2 "/deep/"
|
||||
syn match cssFontDescriptor "@scope\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
1
after/syntax/css/scroll-anchoring-1.vim
Normal file
1
after/syntax/css/scroll-anchoring-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<overflow-anchor\>"
|
||||
3
after/syntax/css/scroll-snap-1.vim
Normal file
3
after/syntax/css/scroll-snap-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssFontProp contained "\<scroll-snap-\(type\|align\|stop\)\>"
|
||||
syn match cssFontProp contained "\<scroll-\(padding\|margin\)\(-\(top\|bottom\|right\|left\|\(block\|inline\)\(-\(end\|start\)\)\=\)\)\=\>"
|
||||
syn keyword cssFontAttr contained x y mandatory proximity
|
||||
1
after/syntax/css/scrollbars-1.vim
Normal file
1
after/syntax/css/scrollbars-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<scrollbar-\(color\|width\)\>"
|
||||
2
after/syntax/css/selectors-3.vim
Normal file
2
after/syntax/css/selectors-3.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssPseudoClassId contained enabled indeterminate
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth\(-last\)\=-\(child\|of-type\)\|not\)(" end=")" oneline
|
||||
10
after/syntax/css/selectors-4.vim
Normal file
10
after/syntax/css/selectors-4.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
syn match cssSelectorOp "[|]"
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused
|
||||
syn match cssPseudoClassId contained "\<\(any\|local\)-link\>"
|
||||
syn match cssPseudoClassId contained "\<read-\(only\|write\)\>"
|
||||
syn match cssPseudoClassId contained "\<placeholder-shown\>"
|
||||
syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>"
|
||||
syn match cssPseudoClassId contained "\<user-invalid\>"
|
||||
syn match cssPseudoClassId contained "\<target-within\>"
|
||||
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
|
||||
1
after/syntax/css/shadow-parts-1.vim
Normal file
1
after/syntax/css/shadow-parts-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":part(" end=")" oneline
|
||||
4
after/syntax/css/shapes-1.vim
Normal file
4
after/syntax/css/shapes-1.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
" TODO: create cssShapesProp group and cssShapesAttr group
|
||||
syn match cssFontProp contained "\<shape-\(outside\|image-threshold\|margin\)\>"
|
||||
syn match cssFontAttr contained "\<margin-box\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend
|
||||
2
after/syntax/css/sizing-3.vim
Normal file
2
after/syntax/css/sizing-3.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontAttr contained "\<\(\(min\|max\)-content\)\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(fit-content\)\s*(" end=")" oneline keepend
|
||||
2
after/syntax/css/sizing-4.vim
Normal file
2
after/syntax/css/sizing-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<contain-intrinsic-size\>"
|
||||
syn match cssFontAttr contained "\<\fit-content\>"
|
||||
6
after/syntax/css/speech-1.vim
Normal file
6
after/syntax/css/speech-1.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
syn match cssAuralProp contained "\<voice-\(volume\|balance\|rate\|pitch\|range\|stress\|duration\)\>"
|
||||
syn match cssAuralProp contained "\<rest\(-\(before\|after\)\)\=\>"
|
||||
syn keyword cssAuralAttr contained young old neutral preserve moderate reduced
|
||||
syn match cssAuralAttr contained "\<\(literal\|no\)-punctuation\>"
|
||||
syn match cssAuralAttr contained "\<\(x-\)\=\(weak\|strong\)\>"
|
||||
syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)"
|
||||
0
after/syntax/css/style-attr.vim
Normal file
0
after/syntax/css/style-attr.vim
Normal file
15
after/syntax/css/svg2.vim
Normal file
15
after/syntax/css/svg2.vim
Normal file
@@ -0,0 +1,15 @@
|
||||
syn keyword cssTagName animate animateMotion animateTransform circle clipPath cursor defs desc discard ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter foreignObject g hatch hatchpath image line linearGradient marker mesh meshgradient meshpatch meshrow metadata mpath path pattern polygon polyline radialGradient rect set solidcolor stop switch symbol text textPath tspan unknown use view
|
||||
syn keyword cssFontProp contained cx cy d r rx ry x y
|
||||
syn match cssFontProp contained "\<color-\(interpolation\|rendering\)\>"
|
||||
syn match cssFontProp contained "\<marker-\(end\|mid\|start\)\>"
|
||||
syn match cssFontProp contained "\<shape-rendering\>"
|
||||
syn match cssFontProp contained "\<solid-\(color\|opacity\)\>"
|
||||
syn match cssFontProp contained "\<stop-\(color\|opacity\)\>"
|
||||
syn match cssFontProp contained "\<text-anchor\>"
|
||||
syn match cssFontProp contained "\<vector-effect\>"
|
||||
syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality viewport
|
||||
syn match cssFontAttr contained "\<context-\(fill\|stroke\)\>"
|
||||
syn match cssFontAttr contained "\<fixed-position\>"
|
||||
syn match cssFontAttr contained "\<miter\(-clip\)\=\>"
|
||||
syn match cssFontAttr contained "\<non-\(scaling-stroke\|scaling-size\|rotation\)\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(child\|icc-color\)\s*(" end=")" oneline keepend
|
||||
0
after/syntax/css/syntax-3.vim
Normal file
0
after/syntax/css/syntax-3.vim
Normal file
0
after/syntax/css/tables-3.vim
Normal file
0
after/syntax/css/tables-3.vim
Normal file
8
after/syntax/css/text-3.vim
Normal file
8
after/syntax/css/text-3.vim
Normal file
@@ -0,0 +1,8 @@
|
||||
syn match cssTextProp contained "\<tab-size\>"
|
||||
syn match cssTextProp contained "\<text-align-all\>"
|
||||
syn keyword cssTextAttr contained loose strict hanging anywhere
|
||||
syn match cssTextAttr contained "\<match-parent\>"
|
||||
syn match cssTextAttr contained "\<each-line\>"
|
||||
syn match cssTextAttr contained "\<full-width\>"
|
||||
syn match cssTextAttr contained "\<justify-all\>"
|
||||
syn match cssTextAttr contained "\<break-spaces\>"
|
||||
16
after/syntax/css/text-4.vim
Normal file
16
after/syntax/css/text-4.vim
Normal file
@@ -0,0 +1,16 @@
|
||||
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
|
||||
syn match cssTextProp contained "\<text-\(wrap\|spacing\|group-align\)\>"
|
||||
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
||||
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
||||
syn match cssTextProp contained "\<line-padding\>"
|
||||
syn keyword cssTextAttr contained spread punctuation
|
||||
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
|
||||
syn match cssTextAttr contained "\<trim-inner\>"
|
||||
syn match cssTextAttr contained "\<discard-\(before\|after\)\>"
|
||||
syn match cssTextAttr contained "\<avoid-\(line\|flex\)\>"
|
||||
syn match cssTextAttr contained "\<pre-wrap-auto\>"
|
||||
syn match cssTextAttr contained "\<no-limit\>"
|
||||
syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
||||
syn match cssTextAttr contained "\<space-first\>"
|
||||
syn match cssTextAttr contained "\<no-compress\>"
|
||||
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
||||
2
after/syntax/css/text-decor-3.vim
Normal file
2
after/syntax/css/text-decor-3.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssTextProp contained "\<text-\(decoration\(-\(color\|line\|style\)\)\=\|underline-position\|emphasis\(-\(color\|position\|style\)\)\=\)\>"
|
||||
syn keyword cssTextAttr contained wavy alphabetic ink under filled dot triangle sesame over
|
||||
6
after/syntax/css/text-decor-4.vim
Normal file
6
after/syntax/css/text-decor-4.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
syn match cssTextProp contained "\<text-\(decoration-\(thickness\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
|
||||
syn keyword cssTextAttr contained objects edges symbols narrow
|
||||
syn match cssTextAttr contained "\<\(spelling\|grammer\)-error\>"
|
||||
syn match cssTextAttr contained "\<from-font\>"
|
||||
syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>"
|
||||
syn match cssTextAttr contained "\<box-decoration\>"
|
||||
1
after/syntax/css/timing-1.vim
Normal file
1
after/syntax/css/timing-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<frames\s*(" end=")" oneline keepend
|
||||
1
after/syntax/css/transforms-1.vim
Normal file
1
after/syntax/css/transforms-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<transform-box\>"
|
||||
2
after/syntax/css/transforms-2.vim
Normal file
2
after/syntax/css/transforms-2.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained rotate scale translate
|
||||
syn keyword cssFontAttr contained flat
|
||||
0
after/syntax/css/transitions-1.vim
Normal file
0
after/syntax/css/transitions-1.vim
Normal file
0
after/syntax/css/typed-om-1.vim
Normal file
0
after/syntax/css/typed-om-1.vim
Normal file
2
after/syntax/css/ui-3.vim
Normal file
2
after/syntax/css/ui-3.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssUIProp contained "\<caret-color\>"
|
||||
syn keyword cssUIAttr contained grab grabbing
|
||||
3
after/syntax/css/ui-4.vim
Normal file
3
after/syntax/css/ui-4.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssUIProp contained "\<caret\(-shape\)\=\>"
|
||||
syn keyword cssUIAttr contained fade underscore
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<fade\s*(" end=")" oneline keepend
|
||||
2
after/syntax/css/unofficials.vim
Normal file
2
after/syntax/css/unofficials.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<backdrop-filter\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline keepend
|
||||
2
after/syntax/css/values-3.vim
Normal file
2
after/syntax/css/values-3.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|q\)"
|
||||
syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=turn"
|
||||
2
after/syntax/css/values-4.vim
Normal file
2
after/syntax/css/values-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|lh\|rlh\)"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\)\s*(" end=")" oneline keepend
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user