Compare commits

...

108 Commits

Author SHA1 Message Date
Kyo Nagashima
ddf0eb895b 1.2.1 2019-03-07 08:27:09 +09:00
Kyo Nagashima
c988c907b1 WD-css-color-4-20190305
See also: https://www.w3.org/TR/2019/WD-css-color-4-20190305/
2019-03-07 08:23:49 +09:00
Kyo Nagashima
bb5e83b87e WD-css-pseudo-4-20190225
No changes, see also: https://www.w3.org/TR/2019/WD-css-pseudo-4-20190225/
2019-02-27 09:33:13 +09:00
Kyo Nagashima
1c12bd23d3 CR-css-transforms-1-20190214
No changes, see also: https://www.w3.org/TR/2019/CR-css-transforms-1-20190214/
2019-02-16 09:04:36 +09:00
Kyo Nagashima
affd38a44b WD-css-values-4-20190131
No changes, see also: https://www.w3.org/TR/2019/WD-css-values-4-20190131/
2019-02-05 08:54:35 +09:00
Kyo Nagashima
f1717bf967 CR-css-values-3-20190131
No changes, see also: https://www.w3.org/TR/2019/CR-css-values-3-20190131/
2019-02-05 08:53:39 +09:00
Kyo Nagashima
3c2368b4ca CR-css-scroll-snap-1-20190131
No changes, see also: https://www.w3.org/TR/2019/CR-css-scroll-snap-1-20190131/
2019-02-05 08:52:18 +09:00
Kyo Nagashima
d7f0f43dfc Follow changes in WD-motion-1-20181218
See also: https://www.w3.org/TR/2018/WD-motion-1-20181218/
2018-12-27 15:31:34 +09:00
Kyo Nagashima
148d27c9d4 Follow changes in WD-filter-effects-1-20181218
No changes, see also: https://www.w3.org/TR/2018/WD-filter-effects-1-20181218/
2018-12-27 15:28:36 +09:00
Kyo Nagashima
1f314d95de Follow changes in WD-css-break-4-20181218
See also: https://www.w3.org/TR/2018/WD-css-break-4-20181218/
2018-12-27 15:28:18 +09:00
Kyo Nagashima
ef5b1c791a Follow changes in WD-css-box-3-20181218
See also: https://www.w3.org/TR/2018/WD-css-box-3-20181218/
2018-12-27 15:21:53 +09:00
Kyo Nagashima
119c13f32a Follow changes in WD-css-text-3-20181212
No changes, see also: https://www.w3.org/TR/2018/WD-css-text-3-20181212/
2018-12-14 08:18:59 +09:00
Kyo Nagashima
91840fcbcf Follow changes in WD-css-align-3-20181206
No changes, see also: https://www.w3.org/TR/2018/WD-css-align-3-20181206/
2018-12-07 09:09:05 +09:00
Kyo Nagashima
c6aba8159f Follow changes in WD-css-text-3-20181206
See also: https://www.w3.org/TR/2018/WD-css-text-3-20181206/
2018-12-07 09:02:26 +09:00
Kyo Nagashima
85a16304be Follow changes in CR-css-break-3-20181204
No changes, see also: https://www.w3.org/TR/2018/CR-css-break-3-20181204/
2018-12-06 08:51:38 +09:00
Kyo Nagashima
61cc3366f8 Follow changes in CR-geometry-1-20181204
No changes, see also: https://www.w3.org/TR/2018/CR-geometry-1-20181204/
2018-12-06 08:47:16 +09:00
Kyo Nagashima
4337a246ac Follow changes in WD-css-transforms-1-20181130
See also: https://www.w3.org/TR/2018/WD-css-transforms-1-20181130/

This commit includes changes in  previous draft (20171130).
2018-12-03 16:19:56 +09:00
Kyo Nagashima
0b516ea879 Follow changes in WD-filter-effects-1-20181124
No changes, see also: https://www.w3.org/TR/2018/WD-filter-effects-1-20181124/
2018-11-25 23:13:39 +09:00
Kyo Nagashima
03c1c9001d 1.2.0 2018-11-23 08:50:43 +09:00
Kyo Nagashima
feea4b6c25 Follow updates on WD-selectors-4-20181121
See also: https://www.w3.org/TR/2018/WD-selectors-4-20181121/
2018-11-23 08:47:59 +09:00
Kyo Nagashima
53eef9c64c Follow changes in CR-css-flexbox-1-20181119
No changes, see also: https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/
2018-11-22 07:41:58 +09:00
Kyo Nagashima
ef50fcbe7e Add shadow-parts-1.vim
This syntax is for CSS Shadow Parts spec.

See also: https://www.w3.org/TR/2018/WD-css-shadow-parts-1-20181115/
2018-11-17 08:46:55 +09:00
Kyo Nagashima
be717f2c70 Follow changes in CR-css-flexbox-1-20181108
No changes, see also: https://www.w3.org/TR/2018/CR-css-flexbox-1-20181108/
2018-11-10 08:48:24 +09:00
Kyo Nagashima
47b3ce2e5a Follow changes in CR-css-contain-1-20181108
No changes, see also: https://www.w3.org/TR/2018/CR-css-contain-1-20181108/
2018-11-10 08:46:15 +09:00
Kyo Nagashima
cf22db698e Follow chnages in REC-selectors-3-20181106
No changes, see also: https://www.w3.org/TR/2018/REC-selectors-3-20181106/
2018-11-08 08:50:24 +09:00
Kyo Nagashima
6ed54d346b Follow changes in WD-css-page-3-20181018
See also: https://www.w3.org/TR/2018/WD-css-page-3-20181018/

This commit also moves some values to `break-3.vim`.
2018-10-21 15:02:19 +09:00
Kyo Nagashima
b2d66799b7 Follow changes in WD-css-values-4-20181010
No changes, see also: https://www.w3.org/TR/2018/WD-css-values-4-20181010/
2018-10-19 09:37:37 +09:00
Kyo Nagashima
da0119205e Follow changes in WD-css-transitions-1-20181011
No changes, see also: https://www.w3.org/TR/2018/WD-css-transitions-1-20181011/
2018-10-19 09:36:49 +09:00
Kyo Nagashima
4e71c04913 Follow changes in WD-css-animations-1-20181011
No changes, see also: https://www.w3.org/TR/2018/WD-css-animations-1-20181011/
2018-10-19 09:34:26 +09:00
Kyo Nagashima
8c6b5eaf1f Follow changes in WD-web-animations-1-20181011
No changes, see also: https://www.w3.org/TR/2018/WD-web-animations-1-20181011/
2018-10-19 09:30:57 +09:00
Kyo Nagashima
afcbfc85a8 Add easing-1.vim
No new syntaxs, see also: https://www.w3.org/TR/2018/WD-css-easing-1-20181009/
2018-10-10 17:04:19 +09:00
Kyo Nagashima
3e40dde46c 1.1.1 2018-09-23 10:01:09 +09:00
Kyo Nagashima
087d9db240 Follow changes in PR-selectors-3-20180911
No changes, see also: https://www.w3.org/TR/2018/PR-selectors-3-20180911/
2018-09-23 09:59:48 +09:00
Kyo Nagashima
36900064ff Follow changes in WD-css-fonts-4-20180920
See also: https://www.w3.org/TR/2018/WD-css-fonts-4-20180920/
2018-09-23 09:58:00 +09:00
Kyo Nagashima
98cfdbf087 Follow changes in REC-css-fonts-3-20180920
No changes, see also: https://www.w3.org/TR/2018/REC-css-fonts-3-20180920/
2018-09-23 09:44:52 +09:00
Kyo Nagashima
de5a0e2dc2 Follow chnages in WD-css-text-3-20180920
No changes, see also: https://www.w3.org/TR/2018/WD-css-text-3-20180920/
2018-09-20 16:42:33 +09:00
Kyo Nagashima
af01de4490 Follow changes in WD-css-text-4-20180920
See also: https://www.w3.org/TR/2018/WD-css-text-4-20180920/
2018-09-20 16:33:22 +09:00
Kyo Nagashima
f18eabedc0 Follow changes in WD-css-align-3-20180830
No changes, see also: https://www.w3.org/TR/2018/WD-css-align-3-20180830/
2018-09-01 12:49:19 +09:00
Kyo Nagashima
51c5ee1f88 Follow changes in CR-css-display-3-20180828
No changes, see also: https://www.w3.org/TR/2018/CR-css-display-3-20180828/
2018-08-29 12:02:52 +09:00
Kyo Nagashima
77e3358574 Follow changes in CR-css-cascade-4-20180828
No changes, see also: https://www.w3.org/TR/2018/CR-css-cascade-4-20180828/
2018-08-29 11:59:06 +09:00
Kyo Nagashima
0aa17c3079 Follow changes in CR-css-cascade-3-20180828
No changes, see also: https://www.w3.org/TR/2018/CR-css-cascade-3-20180828/
2018-08-29 11:57:55 +09:00
Kyo Nagashima
928b94ea6c Follow changes in WD-css-logical-1-20180827
See also: https://www.w3.org/TR/2018/WD-css-logical-1-20180827/
2018-08-28 07:57:12 +09:00
Kyo Nagashima
123abe00c6 1.1.0 2018-08-16 09:29:11 +09:00
Kyo Nagashima
33d7eb1218 Add values-4.vim
This is a syntax file for CSS Values and Units Module Level 4.
See also: https://www.w3.org/TR/2018/CR-css-values-3-20180814/
2018-08-16 09:26:37 +09:00
Kyo Nagashima
d7d7f60fe8 Follow changes in CR-css-values-3-20180814
No changes, see also: https://www.w3.org/TR/2018/CR-css-values-3-20180814/
2018-08-16 09:15:15 +09:00
Kyo Nagashima
e09eb1d37a Follow changes in PR-css-fonts-3-20180814
This commit removes some functions taht differred to fonts-4.
See also: https://www.w3.org/TR/2018/PR-css-fonts-3-20180814/
2018-08-16 09:13:08 +09:00
Kyo Nagashima
4e6ef67e51 Follow changes in: CR-css-scroll-snap-1-20180814
No changes, see also: https://www.w3.org/TR/2018/CR-css-scroll-snap-1-20180814/
2018-08-16 08:53:24 +09:00
Kyo Nagashima
d8681a0d5e Follow changes in WD-css-box-3-20180809
The box-3 spec is rewrote completely. But properties defined in previous
spec is not ported anywhere. So keep them.

See also: https://www.w3.org/TR/2018/WD-css-box-3-20180809/
2018-08-10 22:22:47 +09:00
Kyo Nagashima
0ce5d19c35 Follow changes in CR-css-paint-api-1-20180809
No changes, see also: https://www.w3.org/TR/2018/CR-css-paint-api-1-20180809/
2018-08-10 22:10:39 +09:00
Kyo Nagashima
db86f3acd0 Follow changes in WD-css-display-3-20180809
See also: https://www.w3.org/TR/2018/WD-css-display-3-20180809/
2018-08-10 22:08:48 +09:00
Kyo Nagashima
56e9026121 Follow changes in WD-css-inline-3-20180808
See also: https://www.w3.org/TR/2018/WD-css-inline-3-20180808/
2018-08-10 22:00:14 +09:00
Kyo Nagashima
a1345ce338 Follow changes in WD-css-inline-3-20180802
See also: https://www.w3.org/TR/2018/WD-css-inline-3-20180802/
2018-08-03 23:39:11 +09:00
Kyo Nagashima
fca7100977 Follow changes in: WD-css-overflow-3-20180731
See also: https://www.w3.org/TR/2018/WD-css-overflow-3-20180731/
2018-08-01 20:40:43 +09:00
Kyo Nagashima
4832514608 Follow changes in WD-css3-box-20180731
See also: https://www.w3.org/TR/2018/WD-css3-box-20180731/

Note: This changes does not include `float-displace--alternative-*`
properties.
2018-08-01 09:46:51 +09:00
Kyo Nagashima
7caa7719df Follow changes in CR-css-text-decor-3-20180703
No changes, see also: https://www.w3.org/TR/2018/CR-css-text-decor-3-20180703/
2018-07-10 08:44:36 +09:00
Kyo Nagashima
31e5506234 Follow changes in WD-css-grid-2-20180628
No changes, see also: https://www.w3.org/TR/2018/WD-css-grid-2-20180628/
2018-06-28 18:42:48 +09:00
Kyo Nagashima
f2760f867c Follow changes in CR-css-fonts-3-20180626
No changes, see also: https://www.w3.org/TR/2018/CR-css-fonts-3-20180626/
2018-06-27 21:34:50 +09:00
Kyo Nagashima
4285ca74a3 Follow changes in REC-css-ui-3-20180621
No changes, see also: https://www.w3.org/TR/2018/REC-css-ui-3-20180621/
2018-06-22 08:30:18 +09:00
Kyo Nagashima
0862797623 Follow changes in REC-css-color-3-20180619
No changes, see also: https://www.w3.org/TR/2018/REC-css-color-3-20180619/
2018-06-20 22:52:15 +09:00
Kyo Nagashima
f71e26a0a4 1.0.0 2018-06-16 11:53:37 +09:00
Kyo Nagashima
2cc2be3afd Merge branch 'after-vim81' 2018-06-16 11:50:57 +09:00
Kyo Nagashima
8d36b7e632 Merge branch 'vim81' 2018-06-16 11:50:28 +09:00
Kyo Nagashima
34fadbd24a Follow changes in WD-css-multicol-1-20180528
No changes, see also: https://www.w3.org/TR/2018/WD-css-multicol-1-20180528/
2018-06-07 11:39:41 +09:00
Kyo Nagashima
ee365d3727 Follow changes in CR-css-contain-1-20180524
No changes, see also: https://www.w3.org/TR/2018/CR-css-contain-1-20180524/
2018-06-07 11:39:41 +09:00
Kyo Nagashima
f21174778a Follow changes in CR-css-writing-modes-4-20180524
No changes, see also: https://www.w3.org/TR/2018/CR-css-writing-modes-4-20180524/
2018-06-07 11:39:41 +09:00
Kyo Nagashima
3cf4415567 Follow changes in CR-css-writing-modes-3-20180524
No changes, see also: https://www.w3.org/TR/2018/CR-css-writing-modes-3-20180524/
2018-06-07 11:39:41 +09:00
Kyo Nagashima
912de28994 Remove css3-speech.vim
The status of this spec is changed to NOTE.
2018-06-07 11:35:32 +09:00
Kyo Nagashima
9ee9e64622 Remove duplicates to Vim 8.1 default runtime
This commit also changes file names and test code for maintainability.
2018-05-24 16:45:46 +09:00
Kyo Nagashima
22049b5f2c 0.28.0 2018-05-24 16:10:40 +09:00
Kyo Nagashima
d1319a93e4 Follow changes in WD-css-grid-2-20180427
See also: http://www.w3.org/TR/2018/WD-css-grid-2-20180427/
2018-04-29 19:03:12 +09:00
Kyo Nagashima
70ad423158 Follow changes in WD-css-align-3-20180423
No changes, see also: http://www.w3.org/TR/2018/WD-css-align-3-20180423/
2018-04-25 09:22:34 +09:00
Kyo Nagashima
c0aa0f3988 Follow changes in WD-css-display-3-20180420
No changes, see also: https://www.w3.org/TR/2018/WD-css-display-3-20180420/
2018-04-24 08:06:37 +09:00
Kyo Nagashima
3a2d8f6368 Add css-layout-api-1.vim
This syntax file is for CSS Layout API Level 1.

See also: https://www.w3.org/TR/css-layout-api-1/
2018-04-13 22:26:34 +09:00
Kyo Nagashima
1a2eb7cffa Add missing tests 2018-04-13 22:22:55 +09:00
Kyo Nagashima
2a3742c83e Follow changes in WD-css-typed-om-1-20180410
No changes, see also: http://www.w3.org/TR/2018/WD-css-typed-om-1-20180410/
2018-04-13 08:52:41 +09:00
Kyo Nagashima
64938abead Follow changes in WD-css-paint-api-1-20180410
No changes, see also: http://www.w3.org/TR/2018/WD-css-paint-api-1-20180410/
2018-04-13 08:51:35 +09:00
Kyo Nagashima
dce15d69ed Follow changes in WD-css-fonts-4-20180410
See also: http://www.w3.org/TR/2018/WD-css-fonts-4-20180410/
2018-04-13 08:50:24 +09:00
Kyo Nagashima
5ded300c0d 0.27.0 2018-03-17 12:55:47 +09:00
Kyo Nagashima
7a4aafada4 Follow changes in CR-css-fonts-3-20180315
See also: https://www.w3.org/TR/2018/CR-css-fonts-3-20180315/
2018-03-16 08:58:22 +09:00
Kyo Nagashima
a5900d0a83 Remove unnecessary tests 2018-03-16 08:52:42 +09:00
Kyo Nagashima
9483a44248 Follow changes in PR-css-color-3-20180315
No changes, see also: https://www.w3.org/TR/2018/PR-css-color-3-20180315/
2018-03-16 08:50:53 +09:00
Kyo Nagashima
8863961356 Add css-text-decor-4.vim
See also: http://www.w3.org/TR/2018/WD-css-text-decor-4-20180313/

This commit also moves some properties and values from
`css-text-decor-3.vim`.
2018-03-15 14:37:13 +09:00
Kyo Nagashima
b81a10086d Follow changes in WD-css-sizing-3-20180304
See also: http://www.w3.org/TR/2018/WD-css-sizing-3-20180304/

This commit also moves `fit-content()` from `css-grid-1.vim`.
2018-03-06 11:50:48 +09:00
Kyo Nagashima
216d6d7300 Follow changes in CR-css-variables-1-20151203
Forget to update syntax, see also: http://www.w3.org/TR/2015/CR-css-variables-1-20151203/
2018-03-04 19:38:39 +09:00
Kyo Nagashima
18ef46ae16 Remove link to JulesWang/css.vim
This repository is marked as deprecated by the maintainer.
2018-02-26 09:38:34 +09:00
Kyo Nagashima
c957187e2d Add css-grid-2.vim
This new syntax file is for CSS Grid Layout Module Level 2.

See also: https://www.w3.org/TR/2018/WD-css-grid-2-20180206/
2018-02-08 09:28:42 +09:00
Kyo Nagashima
dac9bf02f8 Update filenames
A filename should be matched to a spec name.
2018-02-08 09:27:12 +09:00
Kyo Nagashima
95ea1660d1 0.26.1 2018-02-06 12:34:32 +09:00
Kyo Nagashima
b581d37345 Follow changes in WD-selectors-4-20180202
See also: https://www.w3.org/TR/2018/WD-selectors-4-20180202/
2018-02-06 12:30:37 +09:00
Kyo Nagashima
73292c6213 Follow changes in CR-selectors-3-20180130
No changes, see also: https://www.w3.org/TR/2018/CR-selectors-3-20180130/
2018-02-01 19:33:58 +09:00
Kyo Nagashima
2ed61056a8 Follow changes in WD-css-ui-4-20171222
See also: http://www.w3.org/TR/2017/WD-css-ui-4-20171222/
2017-12-26 09:46:16 +09:00
Kyo Nagashima
ddbb38a194 Follow changes in CR-css-grid-1-20171214
See also: http://www.w3.org/TR/2017/CR-css-grid-1-20171214/
2017-12-14 22:36:23 +09:00
Kyo Nagashima
65ebb1fec8 Follow changes in CR-css-scroll-snap-1-20171214
See also: http://www.w3.org/TR/2017/CR-css-scroll-snap-1-20171214/
2017-12-14 22:36:12 +09:00
Kyo Nagashima
4f2cae25b2 Follow changes in CR-css-counter-styles-3-20171214
No changes, see also: http://www.w3.org/TR/2017/CR-css-counter-styles-3-20171214/
2017-12-14 22:36:12 +09:00
Kyo Nagashima
b0166696d4 Follow changes in PR-css-ui-3-20171214
No changes, see also: http://www.w3.org/TR/2017/PR-css-ui-3-20171214/
2017-12-14 22:35:45 +09:00
Kyo Nagashima
f8a7f80019 0.26.0 2017-12-12 13:15:29 +09:00
Kyo Nagashima
aed0768408 Add css-writing-modes-4.vim
This syntax is for new spec WD-css-writing-modes-4-20171207.

See also: http://www.w3.org/TR/2017/WD-css-writing-modes-4-20171207/

This commit also removes deferred properties and values from
`css-writing-modes-3.vim`.
2017-12-08 12:11:01 +09:00
Kyo Nagashima
f52a441267 Follow changes in CR-css-color-3-20171205
No changes, see also: http://www.w3.org/TR/2017/CR-css-color-3-20171205/
2017-12-06 09:42:58 +09:00
Kyo Nagashima
1ea88056c1 Follow changes in WD-css-transitions-1-20171130
No changes, see also: http://www.w3.org/TR/2017/WD-css-transitions-1-20171130/
2017-12-01 14:29:01 +09:00
Kyo Nagashima
f622f42d14 Follow changes in WD-css-transforms-1-20171130
No changes, see also: http://www.w3.org/TR/2017/WD-css-transforms-1-20171130/
2017-12-01 14:27:19 +09:00
Kyo Nagashima
f638e6c30b Follow changes in WD-css-animations-1-20171130
No changes, see also: http://www.w3.org/TR/2017/WD-css-animations-1-20171130/
2017-12-01 14:26:34 +09:00
Kyo Nagashima
9f4e52e66a 0.25.0 2017-11-23 23:26:31 +09:00
Kyo Nagashima
14394d15df Merge pull request #53 from hail2u/only-css
Drop support HTML and SCSS
2017-11-23 23:24:58 +09:00
Kyo Nagashima
1321f220ea Drop support HTML and SCSS 2017-11-11 22:23:48 +09:00
Kyo Nagashima
7d50b906d8 Follow changes in WD-css-properties-values-api-1-20171109
No changes, see also: http://www.w3.org/TR/2017/WD-css-properties-values-api-1-20171109/
2017-11-11 22:22:11 +09:00
Kyo Nagashima
99583cc304 Follow changes in CR-css-backgrounds-3-20171017
No changes, but renamed, see also: http://www.w3.org/TR/2017/CR-css-backgrounds-3-20171017/
2017-10-18 09:00:26 +09:00
Kyo Nagashima
af135857ec Merge pull request #56 from hail2u/issue55
Add webvtt1.vim
2017-10-17 19:02:19 +09:00
Kyo Nagashima
289619aa56 Add webvtt1.vim
This syntax file is for WebVTT: The Web Video Text Tracks Format.

This resolves part of #55. `:past` and `:future` is not support, because
they are used only in parentheses of `cue()`, and current CSS syntax
does not support a highlighting in parentheses of pseudo functions.
2017-10-17 18:53:00 +09:00
118 changed files with 743 additions and 1848 deletions

View File

@@ -8,7 +8,7 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for
INSTALLATION
------------
I **strongly** recommend to install this plugin on *Vim 7.4 or higher with
I **strongly** recommend to install this plugin on *Vim 8.1 or higher with
default runtime files*.
@@ -37,8 +37,8 @@ NOTES
### Highlighting problems on: `vertical-align`, `box-shadow`, and others
Some properties do not highlight correctly by default. This is a limitation of
Vims highlight priority mechanism. To fix this problems, put following lines in
your `~/.vim/after/css.vim`:
Vims highlight priority mechanism. To fix this problems, put following lines
in your `~/.vim/after/css.vim`:
setlocal iskeyword+=-
@@ -62,9 +62,9 @@ such as `-webkit-` or `-moz-`, etc. These are hard to maintain because they are:
* Changed unexpectedly
* Removed silently
These must be supported by separate syntax plugins (Vim 7.4s default CSS syntax
file supports this). If you want to highlight prefixed properties or functions
manually, `:highlight` and `:match` would help:
These must be supported by separate syntax plugins (Vim 7.4s 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-]\+/
@@ -73,19 +73,11 @@ These commands highlight vendor prefixed properties and functions instantly with
cyan and bold (on gVim).
### CSS Preprocessors: [Sass][2], [LESS][3], and [Stylus][4]
`vim-css3-syntax` supports Sasss SCSS syntax only. If you want to use this
plugin with LESS, install [VIM-LESS][5]. Sasss indent syntax and Stylus are not
supported.
### 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 7.4+ or
install [JulesWang/css.vim][6].
want to highlight Media Queries correctly, you must update Vim to 8.0+.
AUTHOR
@@ -101,8 +93,3 @@ MIT: http://hail2u.mit-license.org/2011
[1]: http://www.vim.org/
[2]: http://sass-lang.com/
[3]: http://lesscss.org/
[4]: http://learnboost.github.io/stylus/
[5]: https://github.com/groenewege/vim-less
[6]: https://github.com/JulesWang/css.vim

View 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\>"

View File

View File

View File

@@ -0,0 +1,9 @@
syn match cssBoxProp contained "\<margin-trim\>"
syn match cssBoxAttr contained "\<in-flow\>"
" These will be moved to block-3
syn match cssBoxProp contained "\<clear-after\>"
syn match cssBoxProp contained "\<float-displace\>"
syn match cssBoxProp contained "\<indent-edge-reset\>"
syn keyword cssBoxAttr contained scrollbar panner marquee decendants
syn match cssBoxAttr contained "\<block-within-page\>"
syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>"

View File

@@ -0,0 +1 @@
syn keyword cssFontAttr contained recto verso

View File

@@ -0,0 +1,2 @@
syn match cssBoxProp contained "\<margin-break\>"
syn keyword cssFontAttr contained keep

View File

View File

@@ -0,0 +1,3 @@
syn match cssColorProp contained "\<color-adjust\>"
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

View File

@@ -1,4 +1,3 @@
" TODO: create cssCompositingProp and cssCompositingAttr
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

View File

View File

@@ -1,5 +1,3 @@
" TODO: create cssCounterStyleDescriptor for `@counter-style` descriptors
syn region cssInclude start=/@counter-style\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback
syn match cssGeneratedContentProp contained "\<\(additive-\)\=symbols\>"
syn match cssGeneratedContentProp contained "\<speak-as\>"
@@ -12,3 +10,4 @@ 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

View File

@@ -1,5 +0,0 @@
syn match cssFontProp contained "\<\(justify\|align\|place\)-\(self\|content\|items\)\>"
syn match cssFontProp contained "\<\(grid-\)\=\(\(row\|column\)-\)\=gap\>"
syn keyword cssFontAttr contained safe unsafe legacy
syn match cssFontAttr contained "\<\(self\|flex\)-\(start\|end\)\>"
syn match cssFontAttr contained "\<space-\(between\|around\|evenly\)\>"

View File

@@ -1,3 +0,0 @@
syn match cssFontProp contained "\<break-\(after\|before\|inside\)\>"
syn match cssFontProp contained "\<box-decoration-break\>"
syn match cssFontAttr contained "\<\(avoid-\)\=column\>"

View File

@@ -1,5 +0,0 @@
syn match cssColorProp contained "\<color-adjust\>"
syn keyword cssColor contained rebeccapurple
syn match cssColor contained "#[0-9A-Fa-f]\{8\}\>" contains=cssUnitDecorators
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\|color-mod\=\)\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -1,2 +0,0 @@
syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>"
syn region cssInclude start=/@viewport\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock

View File

@@ -1,5 +0,0 @@
syn keyword cssFontProp order
syn match cssFontProp contained "\<flex\(-\(basis\|direction\|flow\|grow\|shrink\|wrap\)\)\=\>"
syn keyword cssFontAttr contained flex row wrap
syn match cssFontAttr contained "\<inline-flex\>"
syn match cssFontAttr contained "\<\(row\|column\|wrap\)-reverse\>"

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -1,17 +0,0 @@
syn match cssFontProp contained "\<font-feature-settings\>"
syn match cssFontProp contained "\<font-kerning\>"
syn match cssFontProp contained "\<font-language-override\>"
syn match cssFontProp contained "\<font-synthesis\>"
syn match cssFontProp contained "\<font-variant-\(alternates\|caps\|east-asian\|ligatures\|numeric\|position\)\>"
syn keyword cssFontAttr contained unicase ordinal jis78 jis83 jis90 jis04 simplified traditional
syn match cssFontAttr contained "\<\(no-\)\=\(common\|discretionary\|historical\)-ligatures\>"
syn match cssFontAttr contained "\<\(no-\)\=contextual\>"
syn match cssFontAttr contained "\<historical-forms\>"
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 "\<slashed-zero\>"
syn match cssFontAttr contained "\<proportional-width\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend

View File

@@ -1,10 +0,0 @@
syn match cssFontProp contained "\<font-\(min\|max\)-size\>"
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 keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
syn match cssFontAttr contained "\<system-ui\>"
syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock

View File

@@ -1,9 +0,0 @@
syn match cssFontProp contained "\<grid-template\(-\(columns\|rows\|areas\)\)\=\>"
syn match cssFontProp contained "\<grid-auto-\(columns\|rows\|flow\)\>"
syn match cssFontProp contained "\<grid-\(row\|column\)\(-\(start\|end\)\)\=\>"
syn match cssFontProp contained "\<grid-area\>"
syn keyword cssFontAttr contained grid dense span
syn match cssFontAttr contained "\<inline-grid\>"
syn match cssFontAttr contained "\<auto-flow\>"
syn match cssValueNumber contained "[01]\(.\d\+\)\=fr"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|fit-content\|repeat\)\s*(" end=")" oneline keepend

View File

@@ -1,3 +0,0 @@
syn keyword cssFontProp contained columns
syn match cssFontProp contained "\<column-\(count\|fill\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>"
syn match cssFontAttr contained "\<balance\(-all\)\=\>"

View File

@@ -1 +0,0 @@
syn match cssFontProp contained "\<max-lines\>"

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -1,3 +0,0 @@
syn match cssFontProp contained "\<scroll-snap-\(type\|align\|stop\)\>"
syn match cssFontProp contained "\<scroll-\(padding\|snap-margin\)\(-\(top\|bottom\|right\|left\|\(block\|inline\)\(-\(end\|start\)\)\=\)\)\=\>"
syn keyword cssFontAttr contained x y mandatory proximity

View File

@@ -1 +0,0 @@
syn match cssFontAttr contained "\<\(\(min\|max\|fit\)-content\)\>"

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -1,3 +0,0 @@
syn match cssTextProp contained "\<text-\(decoration\(-\(color\|line\|skip\|style\)\)\=\|underline-position\|emphasis\(-\(color\|position\|style\)\)\=\)\>"
syn keyword cssTextAttr contained wavy objects alphabetic spaces edges ink under filled dot triangle sesame over
syn match cssTextAttr contained "\<box-decoration\>"

View File

@@ -1,7 +0,0 @@
" TODO: create cssTransformsProp group and cssTransformsAttr group
syn match cssFontProp contained "\<backface-visibility\>"
syn match cssFontProp contained "\<perspective\(-origin\)\=\>"
syn match cssFontProp contained "\<transform\(-\(origin\|style\)\)\=\>"
syn keyword cssFontAttr contained flat
syn match cssFontAttr contained "\<preserve-3d\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(matrix\(3d\)\=\|translate\(3d\|X\|Y\|Z\)\=\|scale\(3d\|X\|Y\|Z\)\=\|rotate\(3d\|X\|Y\|Z\)\=\|skew\(X\|Y\)\=\|perspective\)\s*(" end=")" oneline keepend

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -1,3 +0,0 @@
" TODO: create cssVariableProp group
syn match cssFontProp contained "\<var-[A-Za-z_][A-Za-z0-9_-]\+\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<var\s*(" end=")" oneline keepend

View File

@@ -1,4 +0,0 @@
" TODO: create cssAnimationsProp group and cssAnimationsAttr group
syn match cssFontProp contained "\<animation\(-\(name\|duration\|timing-function\|iteration-count\|direction\|play-state\|delay\|fill-mode\)\)\=\>"
syn keyword cssFontAttr contained forwards backwards running paused
syn match cssFontAttr contained "\<alternate-reverse\>"

View File

@@ -1,7 +0,0 @@
" TODO: create cssBackgroundProp group and cssBackgroundAttr group
syn match cssFontProp contained "\<background-\(clip\|origin\|size\)\>"
syn match cssFontProp contained "\<border-image\(-\(source\|slice\|width\|outset\|repeat\)\)\=\>"
syn match cssFontProp contained "\<border-\(\(top-right\|bottom-right\|bottom-left\|top-left\)-\)\=radius\>"
syn match cssFontProp contained "\<box-shadow\>"
syn keyword cssFontAttr contained space round local fill stretch clone slice
syn match cssFontAttr contained "\<\(padding\|border\|content\)-box\>"

View File

@@ -1,5 +0,0 @@
syn match cssBoxProp contained "\<overflow-\(style\|x\|y\)\>"
syn match cssBoxProp contained "\<rotation\(-point\)\=\>"
syn keyword cssBoxAttr contained scrollbar panner marquee
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"
syn match cssBoxAttr contained "\<no-\(display\|content\)\>"

View File

@@ -1,3 +0,0 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgba\|hsla\=\)\s*(" end=")" oneline keepend
syn keyword cssColorProp contained opacity
syn match cssColor contained "\<currentcolor\>"

View File

@@ -1 +0,0 @@
syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -1,3 +0,0 @@
" TODO: Create cssPageAttr group
syn keyword cssFontAttr contained recto verso
syn match cssFontAttr contained "\<\(avoid-\)\=page\>"

View File

@@ -1,6 +0,0 @@
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\)"

View File

@@ -1,6 +0,0 @@
" TODO: create cssTransitionsProp group and cssTransitionsAttr group
syn match cssFontProp contained "\<transition\(-\(property\|duration\|timing-function\|delay\)\)\=\>"
syn keyword cssFontAttr contained linear
syn match cssFontAttr contained "\<ease\(-\(in\|out\|in-out\)\)\=\>"
syn match cssFontAttr contained "\<step-\(start\|end\)\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(steps\|cubic-bezier\)\s*(" end=")" oneline keepend

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -0,0 +1,2 @@
syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>"
syn match cssFontDescriptor "@viewport\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -1,2 +1,3 @@
syn keyword cssFontAttr contained contents discard
syn match cssFontAttr contained "\<flow\(-root\)\=\>"
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"

View File

View File

View File

View 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\>"

View File

@@ -0,0 +1,15 @@
syn match cssFontProp contained "\<font-\(min\|max\)-size\>"
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 "\<historical-forms\>"
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

View File

@@ -1 +0,0 @@
" N/A

View File

@@ -0,0 +1,5 @@
syn match cssFontProp contained "\<grid-template\>"
syn keyword cssFontAttr contained dense span
syn match cssFontAttr contained "\<auto-flow\>"
syn match cssValueNumber contained "[01]\(.\d\+\)\=fr"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend

View File

@@ -0,0 +1 @@
syn match cssValueNumber contained "\d\(.\d\+\)\=ar"

View File

@@ -1,6 +1,6 @@
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
syn match cssFontProp contained "\<image-orientation\>"
syn keyword cssFontAttr contained contain cover snap
syn match cssFontAttr contained "\<from-image\>"
syn keyword cssFontAttr contained snap
syn match cssFontAttr contained "\<scale-down\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(repeating-\)\=\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
syn match cssFontAttr contained "\<from-image\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend

View File

@@ -1,4 +1,5 @@
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
syn match cssFontProp contained "\<baseline-shift\>"
syn match cssFontProp contained "\<initial-letter\(-\(align\|wrap\)\)\="
syn match cssFontProp contained "\<inline-sizing\>"
syn match cssFontProp contained "\<initial-letters\(-\(align\|wrap\)\)\="
syn keyword cssFontAttr contained mathematical ideographic

View File

View File

@@ -1,4 +1,3 @@
" TODO: create cssLineGridProp and cssLineGridAttr
syn match cssFontProp contained "\<line-\(grid\|snap\)"
syn match cssFontProp contained "\<box-snap\>"
syn keyword cssFontAttr contained create

View File

@@ -1,5 +1,5 @@
syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>"
syn match cssFontProp contained "\<\(margin\|inset\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
syn match cssFontProp contained "\<\(background\|border\)-image-transform\>"
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
syn keyword cssFontAttr contained logical physical rotate

View File

@@ -1,10 +1,7 @@
" TODO: create cssMaskingProp group and cssMaskingValue group
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\>"
" http://www.w3.org/TR/css-masking/#MaskElement
syn keyword cssTagName mask
syn match cssTagName "\<mask\>"

View File

@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<offset\(-\(path\|distance\|anchor\|rotate\)\)\=\>"
syn match cssFontProp contained "\<offset\(-\(path\|distance\|position\|anchor\|rotate\)\)\=\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend

View File

@@ -0,0 +1 @@
syn match cssFontAttr contained "\<balance\(-all\)\=\>"

View File

View 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\)\>"

View File

@@ -1,4 +1,3 @@
syn keyword cssFontProp contained continue
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

View File

@@ -0,0 +1 @@
syn keyword cssFontProp contained marks bleed

View File

@@ -1,5 +1,5 @@
syn region cssInclude start=/@scope\>/ end=/\ze{/ skipwhite skipnl nextgroup=cssMediaBlock
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

View 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

View 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

View File

@@ -1,9 +1,10 @@
syn match cssSelectorOp "[|]"
syn keyword cssPseudoClassId contained scope current past future default valid invalid required optional blank
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-error\>"
syn match cssPseudoClassId contained "\<\(active\|valid\|invalid\)-drop-target\>"
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(matches\|dir\|local-link\|current\|nth\(-last\)\=-\(match\|column\)\|column\)(" end=")" oneline
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

View File

@@ -1,5 +0,0 @@
syn keyword cssPseudoClassId contained target enabled disabled checked indeterminate root empty
syn match cssPseudoClassId contained "\<last-\(child\|of-type\)\>"
syn match cssPseudoClassId contained "\<first-of-type\>"
syn match cssPseudoClassId contained "\<only-\(child\|of-type\)\>"
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth\(-last\)\=-\(child\|of-type\)\|not\)(" end=")" oneline

View File

@@ -0,0 +1 @@
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":part(" end=")" oneline

View 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

View File

View File

@@ -1,20 +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 "\<image-rendering\>"
syn match cssFontProp contained "\<marker-\(end\|mid\|start\)\>"
syn match cssFontProp contained "\<pointer-events\>"
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 painted stroke viewport visibleFill visiblePainted visibleStroke
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

View File

View File

View File

@@ -7,3 +7,5 @@ syn keyword cssTextAttr contained manual 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\>"

View File

@@ -1,14 +1,16 @@
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
syn match cssTextProp contained "\<text-\(wrap\|spacing\)\>"
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-\(auto\|trim\|breaks\|spaces\)\>"
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\)\>"

View 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

View File

@@ -0,0 +1,4 @@
syn match cssTextProp contained "\<text-\(decoration-\(width\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
syn keyword cssTextAttr contained objects edges symbols narrow
syn match cssTextAttr contained "\<box-decoration\>"
syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>"

Some files were not shown because too many files have changed in this diff Show More