Compare commits

..

116 Commits

Author SHA1 Message Date
Kyo Nagashima adbc12f2ee Add gaps-1.vim
https://www.w3.org/TR/2025/WD-css-gaps-1-20250417/
2025-04-19 09:07:43 +09:00
Kyo Nagashima 2a04f2d27c 2.7.0 2025-04-10 06:32:15 +09:00
Kyo Nagashima b0bc65e6f8 Add forms-1.vim
https://www.w3.org/TR/2025/WD-css-forms-1-20250325/
2025-03-27 08:11:25 +09:00
Kyo Nagashima a6133ac2ff Update grid-3.vim
https://www.w3.org/TR/2025/WD-css-grid-3-20250207/
2025-02-11 07:34:59 +09:00
Kyo Nagashima cc35f339d8 2.6.0 2025-01-05 08:03:07 +09:00
Kyo Nagashima 4f8d08e82b Add multicol-2.vim
https://www.w3.org/TR/2024/WD-css-multicol-2-20241219/
2024-12-21 07:53:44 +09:00
Kyo Nagashima 8d496ec664 Add display-4.vim
https://www.w3.org/TR/2024/WD-css-display-4-20241219/
2024-12-21 07:48:27 +09:00
Kyo Nagashima 349772545f Add overflow-5.vim
https://www.w3.org/TR/2024/WD-css-overflow-5-20241217/
2024-12-19 08:05:16 +09:00
Kyo Nagashima 000f04273c Add color-hdr-1.vim
https://www.w3.org/TR/2024/WD-css-color-hdr-1-20241217/
2024-12-19 07:56:46 +09:00
Kyo Nagashima b7778bc209 Update values-5.vim
https://www.w3.org/TR/2024/WD-css-values-5-20241111/
2024-11-13 07:22:02 +09:00
Kyo Nagashima 089f388a9e 2.5.0 2024-10-06 14:47:16 +09:00
Kyo Nagashima 02dd66a1d0 Format 2024-10-06 14:46:48 +09:00
Kyo Nagashima 857f1af752 Update anchor-position-1.vim
https://www.w3.org/TR/2024/WD-css-anchor-position-1-20241004/
2024-10-06 07:24:05 +09:00
Kyo Nagashima f99c2ee07e Add grid-3.vim
https://www.w3.org/TR/2024/WD-css-grid-3-20240919/
2024-09-21 07:39:19 +09:00
Kyo Nagashima e154d38c2d Update values-5.vim
https://www.w3.org/TR/2024/WD-css-values-5-20240913/
2024-09-17 07:52:39 +09:00
Kyo Nagashima e8202fbb7d Add values-5.vim
https://www.w3.org/TR/2024/WD-css-values-5-20240903/
2024-09-09 07:24:45 +09:00
Kyo Nagashima 17624f5993 Add easing-2.vim
https://www.w3.org/TR/2024/WD-css-easing-2-20240829/
2024-08-30 07:32:21 +09:00
Kyo Nagashima cd2dc6b9f7 Update inline-3.vim 2024-08-08 17:57:24 +09:00
Kyo Nagashima d066e83f01 Update conditional-5.vim
https://www.w3.org/TR/2024/WD-css-conditional-5-20240723/
2024-07-25 07:01:25 +09:00
Kyo Nagashima cb6f429561 Add scroll-snap-2.vim
https://www.w3.org/TR/2024/WD-css-scroll-snap-2-20240723/
2024-07-25 06:52:24 +09:00
Kyo Nagashima 5ea57b4b51 Fix a test 2024-07-08 06:31:45 +09:00
Kyo Nagashima a56bcb6df4 2.4.0 2024-07-08 06:28:19 +09:00
Kyo Nagashima 43e817811d Update text-4.vim
https://www.w3.org/TR/2024/WD-css-text-4-20240529/
2024-05-30 23:35:09 +09:00
Kyo Nagashima d79ca2faae Add view-transitions-2.vim
https://www.w3.org/TR/2024/WD-css-view-transitions-2-20240516/
2024-05-18 07:19:58 +09:00
Kyo Nagashima 44dd2e6bad 2.3.0 2024-04-08 07:21:07 +09:00
Kyo Nagashima af20714f72 Update anchor-position-1.vim
https://www.w3.org/TR/2024/WD-css-anchor-position-1-20240326/
2024-03-27 07:37:49 +09:00
Kyo Nagashima f136721a00 Add anchor-position-1.vim
https://www.w3.org/TR/2024/WD-css-anchor-position-1-20240314/
2024-03-15 21:54:10 +09:00
Kyo Nagashima ba8002926e Update color-5.vim
https://www.w3.org/TR/2024/WD-css-color-5-20240229/
2024-03-02 07:38:23 +09:00
Kyo Nagashima d8ad25fdb6 Update fonts-4.vim
https://www.w3.org/TR/2024/WD-css-fonts-4-20240201/
2024-02-03 08:11:57 +09:00
Kyo Nagashima b73d5028a8 2.2.1 2024-01-08 07:58:28 +09:00
Kyo Nagashima 3cd856659d Update values-4.vim
https://www.w3.org/TR/2023/WD-css-values-4-20231027/
2023-10-29 07:14:58 +09:00
Kyo Nagashima 3bc2e593b7 Update text-4.vim
https://www.w3.org/TR/2023/WD-css-text-4-20231020/
2023-10-23 07:27:12 +09:00
Kyo Nagashima 30ef43aed3 2.2.0 2023-10-02 07:34:43 +09:00
Kyo Nagashima e06bde335f Update page-3.vim
https://www.w3.org/TR/2023/WD-css-page-3-20230914/
2023-09-22 16:54:27 +09:00
Kyo Nagashima b7a3c55721 Add transitions-2.vim
https://www.w3.org/TR/2023/WD-css-transitions-2-20230905/
2023-09-07 07:16:44 +09:00
Kyo Nagashima ab6d5e11e5 2.1.1 2023-07-02 06:45:18 +09:00
Kyo Nagashima f933340233 Remove FUNDING.yml 2023-06-26 20:11:30 +09:00
Kyo Nagashima 60ff15a81e Update scroll-animations-1.vim
https://www.w3.org/TR/2023/WD-scroll-animations-1-20230606/
2023-06-08 14:39:55 +09:00
Kyo Nagashima 61bc815f2b Update scroll-animations-1.vim
https://www.w3.org/TR/2023/WD-scroll-animations-1-20230428/
2023-04-28 18:33:00 +09:00
Kyo Nagashima d858def9c1 Update inline-3.vim
https://www.w3.org/TR/2023/WD-css-inline-3-20230401/
2023-04-04 07:14:53 +09:00
Kyo Nagashima f0df5f02f3 2.1.0 2023-04-02 09:07:26 +09:00
Kyo Nagashima acfbaf8302 Update display-3.vim
https://www.w3.org/TR/2023/CR-css-display-3-20230330/
2023-03-31 18:09:33 +09:00
Kyo Nagashima 539eaac21a Add web-animations-2.vim
https://www.w3.org/TR/2023/WD-web-animations-2-20230221/
2023-03-30 20:50:46 +09:00
Kyo Nagashima 262749f063 Update overflow-3.vim
https://www.w3.org/TR/2023/WD-css-overflow-3-20230329/
2023-03-30 20:48:52 +09:00
Kyo Nagashima ed79b7a86b Update text-4.vim
https://www.w3.org/TR/2023/WD-css-text-4-20230329/
2023-03-30 19:13:33 +09:00
Kyo Nagashima 0a0b8ded19 Update overflow-4.vim 2023-03-24 12:00:38 +09:00
Kyo Nagashima 5a208f54d6 Update overflow-3.vim
https://www.w3.org/TR/2023/WD-css-overflow-3-20230321/
2023-03-24 11:52:57 +09:00
Kyo Nagashima 2169136247 Update cascade-6.vim
https://www.w3.org/TR/2023/WD-css-cascade-6-20230321/
2023-03-24 11:51:48 +09:00
Kyo Nagashima 0d6855dbe4 Update display-3.vim
https://www.w3.org/TR/2023/CRD-css-display-3-20230316/
2023-03-17 18:24:24 +09:00
Kyo Nagashima c8e71253f9 Update animations-1.vim
https://www.w3.org/TR/2023/WD-css-animations-1-20230302/
2023-03-04 07:38:44 +09:00
Kyo Nagashima b27f324d6d Update animations-2.vim
https://www.w3.org/TR/2023/WD-css-animations-2-20230302/
2023-03-04 07:36:18 +09:00
Kyo Nagashima 3482b4608c Update text-4
https://www.w3.org/TR/2023/WD-css-text-4-20230301/
2023-03-01 18:43:27 +09:00
Kyo Nagashima 17a022b528 Add animations-2.vim
https://www.w3.org/TR/2023/WD-web-animations-2-20230221/
2023-02-23 07:56:14 +09:00
Kyo Nagashima be78408dea Update speech-1.vim
https://www.w3.org/TR/2023/CRD-css-speech-1-20230214/
2023-02-18 07:58:36 +09:00
Kyo Nagashima c0495f80bb 2.0.0 2023-01-09 12:15:40 +09:00
Kyo Nagashima 36520507f8 Add compatibility section 2023-01-09 12:12:54 +09:00
Kyo Nagashima 44212d3833 Update installation guidance 2023-01-09 12:12:54 +09:00
Kyo Nagashima f53a72ed1a Update pseudo-4.vim
https://www.w3.org/TR/2022/WD-css-pseudo-4-20221230/
2023-01-09 12:12:54 +09:00
Kyo Nagashima 9aaa434b28 Update text-4.vim
https://www.w3.org/TR/2022/WD-css-text-4-20221231/
2023-01-09 12:12:54 +09:00
Kyo Nagashima e20dc6170d Update test 2023-01-09 12:12:54 +09:00
Kyo Nagashima 86a79595b8 Update view-transitions-1.vim
https://www.w3.org/TR/2022/WD-css-view-transitions-1-20221124/
2023-01-09 12:12:54 +09:00
Kyo Nagashima da942b9a9f Use cssFont* 2023-01-09 12:12:54 +09:00
Kyo Nagashima 56a598ef5d Update display-3.vim
https://www.w3.org/TR/2022/CRD-css-display-3-20221118/

This commit also moves ruby specific values to ruby-1.vim.
2023-01-09 12:12:54 +09:00
Kyo Nagashima 1fbc03d791 Update selectors-4.vim
https://www.w3.org/TR/2022/WD-selectors-4-20221111/
2023-01-09 12:12:54 +09:00
Kyo Nagashima 5dc940911d Update color-4.vim and color-5.vim
https://www.w3.org/TR/2022/CRD-css-color-4-20221101/
2023-01-09 12:12:54 +09:00
Kyo Nagashima 803765eb47 Add view-transitions-1.vim
https://www.w3.org/TR/2022/WD-css-view-transitions-1-20221025/
2023-01-09 12:12:54 +09:00
Kyo Nagashima f4925aa8e4 Add scroll-animations-1.vim
https://www.w3.org/TR/2022/WD-scroll-animations-1-20221025/
2023-01-09 12:12:54 +09:00
Kyo Nagashima 0148041aac Update README 2023-01-09 12:12:54 +09:00
Kyo Nagashima 4ad0cb7d7c Follow runtime changes
Vim 9.0 added a `-` to CSS keyword list.
2023-01-09 12:12:54 +09:00
Kyo Nagashima f6dde98e89 1.10.2 2022-10-10 08:14:03 +09:00
Kyo Nagashima b9a3a6df3e Update contain-2.vim
https://www.w3.org/TR/2022/WD-css-contain-2-20220917/
2022-09-19 18:37:53 +09:00
Kyo Nagashima 25d1b40347 Update web-animations-1.vim
https://www.w3.org/TR/2022/WD-web-animations-1-20220908/
2022-09-09 06:40:15 +09:00
Kyo Nagashima ef6498403d Update position-3.vim
https://www.w3.org/TR/2022/WD-css-position-3-20220901/
2022-09-06 06:31:07 +09:00
Kyo Nagashima 124ed746cf Update contain-3.vim
https://www.w3.org/TR/2022/WD-css-contain-3-20220818/
2022-08-20 06:17:03 +09:00
Kyo Nagashima 5ad8dc0270 Update color-4.vim
https://www.w3.org/TR/2022/CR-css-color-4-20220705/
2022-08-20 06:15:47 +09:00
Kyo Nagashima 2cbb2ddada Update color-5.vim
https://www.w3.org/TR/2022/WD-css-color-5-20220628/
2022-06-30 05:49:28 +09:00
Kyo Nagashima 3409476ae0 Update colot-4.vim
https://www.w3.org/TR/2022/WD-css-color-4-20220628/
2022-06-30 05:48:02 +09:00
Kyo Nagashima 60da01e45f Update variables-1.vim
https://www.w3.org/TR/2022/CR-css-variables-1-20220616/
2022-06-21 18:19:32 +09:00
Kyo Nagashima 158c39b3ee 1.10.1 2022-05-11 10:46:02 +09:00
Kyo Nagashima 5c104fcfee Update text-decor-4.vim
https://www.w3.org/TR/2022/WD-css-text-decor-4-20220504/
2022-05-11 10:44:46 +09:00
Kyo Nagashima bbf675f5fd Update will-change-1.vim
https://www.w3.org/TR/2022/CRD-css-will-change-1-20220505/
2022-05-11 10:41:56 +09:00
Kyo Nagashima 87283273b0 Update selectors-4.vim
https://www.w3.org/TR/2022/WD-selectors-4-20220507/
2022-05-09 06:35:42 +09:00
Kyo Nagashima 329a8f8bdf Update text-4.vim
https://www.w3.org/TR/2022/WD-css-text-4-20220505/
2022-05-05 19:26:38 +09:00
Kyo Nagashima 529d0f5c5a Update text-decor-3.vim
https://www.w3.org/TR/2022/CRD-css-text-decor-3-20220505/
2022-05-05 19:21:12 +09:00
Kyo Nagashima 77022dc970 Update text-3.vim
https://www.w3.org/TR/2022/CRD-css-text-3-20220505/
2022-05-05 19:19:51 +09:00
Kyo Nagashima 0318de664c Update colors-5.vim
https://www.w3.org/TR/2022/WD-css-color-5-20220428/
2022-04-30 06:53:52 +09:00
Kyo Nagashima 090a873101 Update colors-4.vim
https://www.w3.org/TR/2022/WD-css-color-4-20220428/
2022-04-30 06:53:37 +09:00
Kyo Nagashima 9a24ae3c6f Update text-4.vim
https://www.w3.org/TR/2022/WD-css-text-4-20220318/
2022-03-22 08:01:24 +09:00
Kyo Nagashima cb69880032 Update color-3.vim
https://www.w3.org/TR/2022/REC-css-color-3-20220118/
2022-03-03 15:47:03 +09:00
Kyo Nagashima 0e04cfbb09 Update conditional-4.vim
https://www.w3.org/TR/2022/CR-css-conditional-4-20220217/
2022-02-19 07:47:51 +09:00
Kyo Nagashima 3c4f1d2057 Update color-adjust-1.vim
https://www.w3.org/TR/2022/CR-css-color-adjust-1-20220210/
2022-02-12 07:55:42 +09:00
Kyo Nagashima a60106e39b Update conditional-3.vim
https://www.w3.org/TR/2022/CR-css-conditional-3-20220113/
2022-01-14 08:09:32 +09:00
Kyo Nagashima ba1986d07d Update cascade-5.vim
https://www.w3.org/TR/2022/CR-css-cascade-5-20220113/
2022-01-14 08:09:16 +09:00
Kyo Nagashima 671f8ea579 Update cascade-4.vim
https://www.w3.org/TR/2022/CR-css-cascade-4-20220113/
2022-01-14 08:09:08 +09:00
Kyo Nagashima 3d98523278 1.10.0 2021-12-30 08:04:46 +09:00
Kyo Nagashima b8c1fa4623 Update align-3.vim
https://www.w3.org/TR/2021/WD-css-align-3-20211224/
2021-12-28 12:14:03 +09:00
Kyo Nagashima 05b11eb4a0 Update syntax-3.vim
https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/
2021-12-28 12:12:33 +09:00
Kyo Nagashima b9921e5062 Update conditional-4.vim
https://www.w3.org/TR/2021/WD-css-conditional-4-20211225/
2021-12-28 12:11:47 +09:00
Kyo Nagashima 90c47814cb Update overflow-3.vim
https://www.w3.org/TR/2021/WD-css-overflow-3-20211223/
2021-12-24 06:58:55 +09:00
Kyo Nagashima b3e6a86d9d Add cascade-6.vim
https://www.w3.org/TR/2021/WD-css-cascade-6-20211221/
2021-12-23 07:56:56 +09:00
Kyo Nagashima 9d7741a59f Add conditional-5.vim
https://www.w3.org/TR/2021/WD-css-conditional-5-20211221/
2021-12-23 07:54:01 +09:00
Kyo Nagashima 479dc522a7 Update fonts-5.vim
https://www.w3.org/TR/2021/WD-css-fonts-5-20211221/
2021-12-23 07:46:11 +09:00
Kyo Nagashima 052c7459d0 Update fonts-4.vim
https://www.w3.org/TR/2021/WD-css-fonts-4-20211221/
2021-12-23 07:45:37 +09:00
Kyo Nagashima ea7a9a2325 Add contain-3.vim
https://www.w3.org/TR/2021/WD-css-contain-3-20211221/
2021-12-23 07:42:58 +09:00
Kyo Nagashima 52a53e3fe6 position-3.vim
https://www.w3.org/TR/2021/WD-css-position-3-20211216/
2021-12-18 07:55:58 +09:00
Kyo Nagashima 8c32514b04 paint-api-1.vim
https://www.w3.org/TR/2021/CRD-css-paint-api-1-20211216/
2021-12-18 07:55:21 +09:00
Kyo Nagashima 308b231f79 Update values-4.vim
https://www.w3.org/TR/2021/WD-css-values-4-20211216/
2021-12-18 07:54:34 +09:00
Kyo Nagashima 3d1487297d Update sizing-3.vim
https://www.w3.org/TR/2021/WD-css-sizing-3-20211217/
2021-12-18 07:51:55 +09:00
Kyo Nagashima a9eba379a1 Update highlight-api-1.vim
https://www.w3.org/TR/2021/WD-css-highlight-api-1-20211215/
2021-12-16 07:02:42 +09:00
Kyo Nagashima efdac10d73 Update scrollbars-1.vim
https://www.w3.org/TR/2021/CR-css-scrollbars-1-20211209/
2021-12-11 07:05:09 +09:00
Kyo Nagashima c19f58b453 Update cascade-5.vim
https://www.w3.org/TR/2021/WD-css-cascade-5-20211203/
2021-12-06 07:16:01 +09:00
Kyo Nagashima 9de844a6a8 Update cascade-4.vim
https://www.w3.org/TR/2021/WD-css-cascade-4-20211203/
2021-12-06 07:14:38 +09:00
Kyo Nagashima 13469ac58b Update overflow-3.vim
https://www.w3.org/TR/2021/WD-css-overflow-3-20211202/
2021-12-03 07:28:50 +09:00
Kyo Nagashima 851fad4f69 Update ruby-1.vim
https://www.w3.org/TR/2021/WD-css-ruby-1-20211202/
2021-12-03 07:24:40 +09:00
Kyo Nagashima 1f1f2b252a Update variable-1.vim
https://www.w3.org/TR/2021/CRD-css-variables-1-20211111/
2021-11-16 07:29:08 +09:00
Kyo Nagashima 565790d45d Update transforms-2.vim
https://www.w3.org/TR/2021/WD-css-transforms-2-20211109/
2021-11-10 18:31:54 +09:00
94 changed files with 1266 additions and 1113 deletions
-1
View File
@@ -1 +0,0 @@
github: [hail2u]
+15 -22
View File
@@ -5,12 +5,21 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for
[Vim][1]s built-in `syntax/css.vim`
COMPATIBILITY
-------------
This syntax files are compatible with the default runtime files that come with
**Vim 9.0 or higher**. If you still use Vim 8.x or lower, you must:
- Copy [latest CSS syntax file][2] to your `~/.vim/` directory (recommended)
- Update runtime files
- Use [older version][3]
- Switch to [`vim80` branch][4]
INSTALLATION
------------
I **strongly** recommend to install this plugin on *Vim 8.2 or higher with
default runtime files*.
### Vim package
@@ -34,25 +43,6 @@ 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
Vims 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,
@@ -93,3 +83,6 @@ MIT
[1]: http://www.vim.org/
[2]: https://github.com/vim/vim/blob/master/runtime/syntax/css.vim
[3]: https://github.com/hail2u/vim-css3-syntax/releases/tag/v1.10.2
[4]: https://github.com/hail2u/vim-css3-syntax/tree/vim80
+2 -5
View File
@@ -1,5 +1,2 @@
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\>"
syn keyword cssFontProp contained place-self place-content place-items row-gap
syn keyword cssFontAttr contained safe unsafe legacy self-start self-end
+4
View File
@@ -0,0 +1,4 @@
syn keyword cssFontProp contained anchor-name anchor-scope position-area position-anchor position-try position-try-fallbacks position-try-order position-visibility
syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start
syn region cssFunction contained matchgroup=cssFunctionName start="\<anchor\(-size\)\=\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@position-try\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
+2
View File
@@ -0,0 +1,2 @@
syn keyword cssFontProp contained animation-composition animation-timeline
syn keyword cssFontAttr contained replace accumulate
+2 -7
View File
@@ -1,7 +1,2 @@
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\)\>"
syn keyword cssFontProp contained background-position-x background-position-y background-position-inline background-position-block corners corner-shape border-limit border-clip border-clip-top border-clip-right border-clip-bottom border-clip-left
syn keyword cssFontAttr contained x-start x-end y-start y-end bevel scoop notch
+2 -2
View File
@@ -1,2 +1,2 @@
syn match cssBoxProp contained "\<margin-trim\>"
syn match cssBoxAttr contained "\<in-flow\>"
syn keyword cssFontProp contained margin-trim
syn keyword cssFontAttr contained in-flow
+1 -1
View File
@@ -1,2 +1,2 @@
syn match cssBoxProp contained "\<margin-break\>"
syn keyword cssFontProp contained margin-break
syn keyword cssFontAttr contained keep
+1 -1
View File
@@ -1,2 +1,2 @@
syn keyword cssCommonAttr contained revert
syn keyword cssFontAttr contained revert
syn region cssURL contained matchgroup=cssFunctionName start="\<supports\s*(" end=")" oneline keepend
+1 -1
View File
@@ -1 +1 @@
syn match cssFontAttr contained "\<revert-layer\>"
syn keyword cssFontAttr contained revert-layer
View File
+2 -4
View File
@@ -1,4 +1,2 @@
syn keyword cssFontAttr contained perceptual
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
syn keyword cssFontAttr contained accentcolor accentcolortext
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|oklab\|oklch\|color\=\)\s*(" end=")" oneline keepend
+4 -1
View File
@@ -1 +1,4 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<color-\(mix\|contrast\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
syn keyword cssFontProp contained components
syn keyword cssFontAttr contained relative-colorimetric absolute-colorimetric perceptual
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-mix\|device-cmyk\|light-dark\|contrast-color\)\>\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
+1 -2
View File
@@ -1,3 +1,2 @@
syn match cssColorProp contained "\<\(forced-\|print-\)\=color-adjust\>"
syn match cssColorProp contained "\<color-scheme\>"
syn keyword cssFontProp contained forced-color-adjust print-color-adjust color-adjust color-scheme
syn keyword cssFontAttr contained economy exact
+3
View File
@@ -0,0 +1,3 @@
syn keyword cssFontProp contained dynamic-range-limit
syn keyword cssFontAttr contained standard constrained-high
syn region cssFunction contained matchgroup=cssFunctionName start="\<dynamic-range-limit-mix\s*(" end=")" oneline keepend
+1 -2
View File
@@ -1,3 +1,2 @@
syn keyword cssFontProp contained isolation
syn match cssFontProp contained "\<\(mix\|background\)-blend-mode\>"
syn keyword cssFontProp contained isolation mix-blend-mode 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
+3
View File
@@ -0,0 +1,3 @@
syn keyword cssFontProp contained container-type container-name container
syn keyword cssFontAttr contained inline-size
syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
+1 -1
View File
@@ -1 +1 @@
syn match cssFontProp contained "\<content-visibility\>"
syn keyword cssFontProp content-visibility
View File
+2 -3
View File
@@ -1,4 +1,3 @@
syn match cssGeneratedContentProp contained "\<string-set\>"
syn match cssGeneratedContentProp contained "\<bookmark-\(label\|level\|state\)\>"
syn keyword cssGeneratedContentAttr contained open closed
syn keyword cssFontProp contained string-set bookmark-label bookmark-level bookmark-state
syn keyword cssFontAttr contained open closed
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(leader\|string\|target-\(counter\|counters\|text\)\)\s*(" end=")" oneline keepend
+2 -11
View File
@@ -1,13 +1,4 @@
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 keyword cssFontProp contained system negative prefix suffix range pad fallback additive-symbols symbols speak-as
syn keyword cssFontAttr 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 ethiopic-numeric numeric arabic-indic upper-armenian lower-armenian cjk-decimal cjk-earthly-branch cjk-heavenly-stem disclosure-open disclosure-closed japanese-formal korean-hanja-formal simp-chinese-formal trad-chinese-formal japanese-informal korean-hanja-informal simp-chinese-informal trad-chinese-informal 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 -1
View File
@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<scroll-behavior\>"
syn keyword cssFontProp contained scroll-behavior
syn keyword cssFontAttr contained smooth
+1 -1
View File
@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>"
syn keyword cssFontProp contained min-zoom max-zoom user-zoom
syn match cssFontDescriptor "@viewport\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
+1 -3
View File
@@ -1,3 +1 @@
syn keyword cssFontAttr contained contents discard
syn match cssBoxAttr contained "\<run-in\>"
syn match cssBoxAttr contained "\<ruby\(-\(base\|text\)\)\=\>"
syn keyword cssFontAttr contained contents run-in
+2
View File
@@ -0,0 +1,2 @@
syn keyword cssFontProp contained reading-flow
syn keyword cssFontAttr contained flex-visual flex-flow grid-rows grid-columns
+1
View File
@@ -0,0 +1 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<linear\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma
+1 -2
View File
@@ -1,3 +1,2 @@
" TODO: create cssExclusionsProp group and cssExclusionsAttr group
syn match cssFontProp contained "\<wrap-\(flow\|through\)\>"
syn keyword cssFontProp contained wrap-flow wrap-through
syn keyword cssFontAttr contained minimum maximum
+2 -5
View File
@@ -1,5 +1,2 @@
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\>"
syn keyword cssFontProp contained fill stroke fill-break fill-color fill-image fill-origin fill-position fill-size fill-repeat fill-opacity stroke-break stroke-color stroke-image stroke-origin stroke-position stroke-size stroke-repeat stroke-opacity fill-rule stroke-width stroke-align stroke-linecap stroke-linejoin stroke-miterlimit stroke-dasharray stroke-dashoffset stroke-dash-corner stroke-dash-justify
syn keyword cssFontAttr contained butt arcs stupid compress dashes gaps bounding-box
+1 -4
View File
@@ -1,5 +1,2 @@
syn match cssFontProp contained "\<flood-\(color\|opacity\)\>"
syn match cssFontProp contained "\<color-interpolation-filters\>"
syn match cssFontProp contained "\<lighting-color\>"
syn keyword cssFontProp contained flood-color flood-opacity color-interpolation-filters 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
+1 -10
View File
@@ -1,10 +1 @@
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\>"
syn keyword cssFontAttr contained unicase jis78 jis83 jis90 jis04 simplified traditional ordinal no-common-ligatures no-discretionary-ligatures no-historical-ligatures common-ligatures discretionary-ligatures historical-ligatures no-contextual contextual all-small-caps all-petite-caps petite-caps titling-caps lining-nums oldstyle-nums proportional-nums tabular-nums diagonal-fractions stacked-fractions proportional-width slashed-zero
+2 -16
View File
@@ -1,19 +1,5 @@
syn match cssFontProp contained "\<font-synthesis\(-\(weight\|style\|small-caps\|settings\)\)\=\>"
syn match cssFontProp contained "\<font-named-instance\>"
syn match cssFontProp contained "\<font-display\>"
syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>"
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-variant-emoji\>"
syn match cssFontProp contained "\<font-presentation\>"
syn match cssFontProp contained "\<base-palette\>"
syn match cssFontProp contained "\<override-color\>"
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark
syn match cssFontAttr contained "\<system-ui\>"
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
syn match cssFontAttr contained "\<xxx-large\>"
syn match cssFontAttr contained "\<historical-forms\>"
syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-position font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark contained system-ui contained ui-sans-serif ui-serif ui-monospace ui-rounded contained xxx-large 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
+5
View File
@@ -0,0 +1,5 @@
syn keyword cssFontProp contained slider-orientation
syn keyword cssFontAttr contained base left-to-right right-to-left top-to-bottom bottom-to-top
syn keyword cssPseudoClassId contained picker-icon file-selector-button checkmark thumb track fill field-text clear-icon placeholder step-control step-up step-down field-component field-separator color-swatch low-value high-value optimal-value
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<picker(" end=")" contains=cssStringQ,cssStringQQ
syn region cssFunction contained matchgroup=cssFunctionName start="\<control-value\s*(" end=")" oneline keepend
+2
View File
@@ -0,0 +1,2 @@
syn keyword cssFontProp contained column-rule-break row-rule-break rule-break column-rule-outset row-rule-outset rule-outset rule-paint-order row-rule-color row-rule-style row-rule-width row-rule rule-color rule-style rule-width rule
syn keyword cssFontAttr contained spanning-item intersection row-over-column column-over-row
+3 -4
View File
@@ -1,5 +1,4 @@
syn keyword cssGeneratedContentProp contained running
syn match cssGeneratedContentProp contained "\<footnote-\(display\|policy\)\>"
syn keyword cssGeneratedContentAttr contained footnote line
syn keyword cssFontProp contained running footnote-display footnote-policy
syn keyword cssFontAttr contained footnote line
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(element\|running\)\s*(" end=")" oneline keepend
syn match cssPseudoClassId contained "\<footnote-\(call\|marker\)\>"
syn keyword cssPseudoClassId contained footnote-call footnote-marker
+1 -2
View File
@@ -1,3 +1,2 @@
syn keyword cssFontAttr contained dense span
syn match cssFontAttr contained "\<auto-flow\>"
syn keyword cssFontAttr contained dense span auto-flow
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend
+2
View File
@@ -0,0 +1,2 @@
syn keyword cssFontProp contained masonry-direction masonry-fill masonry-flow masonry masonry-template-tracks masonry-template-areas masonry-auto-tracks masonry-track-start masonry-track-end masonry-track masonry-slack item-track item-direction item-wrap item-cross item-pack item-slack item-flow
syn keyword cssFontAttr contained masonry inline-masonry
+1 -1
View File
@@ -1 +1 @@
syn keyword cssTagName picture rb rtc slot template
syn keyword cssTagName rb rtc slot template
+2 -5
View File
@@ -1,6 +1,3 @@
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 keyword cssFontProp contained image-orientation
syn keyword cssFontAttr contained snap flip pixelated from-image
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
+2 -2
View File
@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<image-resolution\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(image\|element\|conic-gradient\)\s*(" end=")" oneline keepend
syn keyword cssFontProp contained image-resolution
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(image\|element\)\s*(" end=")" oneline keepend
+2 -8
View File
@@ -1,8 +1,2 @@
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
syn match cssFontProp contained "\<baseline-\(shift\|source\)\>"
syn match cssFontProp contained "\<text-edge\>"
syn match cssFontProp contained "\<leading-trim\>"
syn match cssFontProp contained "\<inline-sizing\>"
syn match cssFontProp contained "\<initial-letter\(-\(align\|wrap\)\)\=\>"
syn keyword cssFontAttr contained central mathematical leading cap ex drop raise
syn match cssFontAttr contained "\<ideographic\(-ink\)\=\>"
syn keyword cssFontProp contained dominant-baseline alignment-baseline baseline-shift baseline-source line-fit-edge text-box text-box-edge text-box-trim inline-sizing initial-letter initial-letter-align initial-letter-wrap
syn keyword cssFontAttr contained central mathematical leading cap ex drop raise ideographic ideographic-ink trim-start trim-end
+2 -5
View File
@@ -1,5 +1,2 @@
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\>"
syn keyword cssFontProp contained line-grid line-snap box-snap
syn keyword cssFontAttr contained create block-start block-end first-baseline last-baseline
+2 -6
View File
@@ -1,7 +1,3 @@
" 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 keyword cssFontProp contained marker-side counter-set
syn keyword cssFontAttr contained marker contained match-self contained list-container
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend
+1 -4
View File
@@ -1,5 +1,2 @@
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 cssFontProp contained block-size inline-size min-block-size min-inline-size max-block-size max-inline-size margin-block padding-block margin-block-start padding-block-start margin-block-end padding-block-end margin-inline padding-inline margin-inline-start padding-inline-start margin-inline-end padding-inline-end border-block border-inline border-block-start border-block-end border-inline-start border-inline-end border-block-width border-inline-width border-block-start-width border-block-end-width border-inline-start-width border-inline-end-width border-block-style border-inline-style border-block-start-style border-block-end-style border-inline-start-style border-inline-end-style border-block-color border-inline-color border-block-start-color border-block-end-color border-inline-start-color border-inline-end-color border-start-start-radius border-start-end-radius border-end-start-radius border-end-end-radius
syn keyword cssFontAttr contained logical physical rotate
+3 -7
View File
@@ -1,7 +1,3 @@
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\>"
syn keyword cssFontProp contained clip-path clip-rule mask mask-image mask-mode mask-repeat mask-position mask-clip mask-origin mask-size mask-composite mask-type mask-border mask-border-source mask-border-mode mask-border-slice mask-border-width mask-border-outset mask-border-repeat
syn keyword cssFontAttr contained nonzero evenodd alpha luminance add subtract intersect exclude fill-box stroke-box view-box no-clip
syn keyword cssTagName mask
+1 -1
View File
@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<offset\(-\(path\|distance\|position\|anchor\|rotate\)\)\=\>"
syn keyword cssFontProp contained offset offset-path offset-distance offset-position offset-anchor offset-rotate
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend
+1 -1
View File
@@ -1 +1 @@
syn match cssFontAttr contained "\<balance\(-all\)\=\>"
syn keyword cssFontAttr contained balance balance-all
+1
View File
@@ -0,0 +1 @@
syn keyword cssPseudoClassId contained column
+1 -1
View File
@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\|function\)\>"
syn keyword cssFontProp contained spatial-navigation-action spatial-navigation-contain spatial-navigation-function
syn keyword cssFontAttr contained focus
+1 -5
View File
@@ -1,5 +1 @@
syn keyword cssFontProp contained continue
syn match cssFontProp contained "\<overflow-\(clip-margin\|block\|inline\)\>"
syn match cssFontProp contained "\<block-ellipsis\>"
syn match cssFontProp contained "\<line-clamp\>"
syn match cssFontProp contained "\<max-lines\>"
syn keyword cssFontProp contained continue overflow-clip-margin overflow-block overflow-inline scrollbar-gutter block-ellipsis line-clamp max-lines
+1 -1
View File
@@ -1,3 +1,3 @@
syn match cssFontProp contained "\<scrollbar-gutter\>"
syn keyword cssFontProp contained overflow-clip-margin-block overflow-clip-margin-block-start overflow-clip-margin-block-end overflow-clip-margin-inline overflow-clip-margin-inline-start overflow-clip-margin-inline-end overflow-clip-margin-top overflow-clip-margin-right overflow-clip-margin-bottom overflow-clip-margin-left
syn keyword cssFontAttr contained stable force overflow paginate fragments
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline
+2
View File
@@ -0,0 +1,2 @@
syn keyword cssFontProp contained scroll-marker-group
syn keyword cssPseudoClassId contained scroll-marker-group scroll-marker target-current
+1 -1
View File
@@ -1 +1 @@
syn match cssFontProp contained "\<overscroll-behavior\(-\(block\|inline\|x\|y\)\)\=\>"
syn keyword cssFontProp contained overscroll-behavior overscroll-behavior-block overscroll-behavior-inline overscroll-behavior-x overscroll-behavior-y
+1 -1
View File
@@ -1 +1 @@
syn keyword cssFontProp contained marks bleed
syn keyword cssFontProp contained marks bleed page-orientation
+2 -3
View File
@@ -1,4 +1,3 @@
syn match cssPositioningProp contained "\<float-\(reference\|defer\|offset\)\>"
syn match cssPositioningAttr contained "\<inline-\(start\|end\)\>"
syn match cssPositioningAttr contained "\<snap-\(block\|inline\)\>"
syn keyword cssFontProp contained float-reference float-defer float-offset
syn keyword cssFontAttr contained inline-start inline-end snap-block snap-inline
syn region cssURL contained matchgroup=cssFunctionName start="\<snap-\(block\|inline\)\s*(" end=")" oneline keepend
+2 -3
View File
@@ -1,3 +1,2 @@
syn match cssFontProp contained "\<touch-action\>"
syn keyword cssFontAttr contained manipulation
syn match cssFontAttr contained "\<pan-\(x\|y\)\>"
syn keyword cssFontProp contained touch-action
syn keyword cssFontAttr contained manipulation pan-x pan-y
+1 -2
View File
@@ -1,2 +1 @@
syn match cssFontProp contained "\<inset\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
syn keyword cssFontAttr contained sticky
syn keyword cssFontProp contained inset inset-block inset-inline inset-block-start inset-block-end inset-inline-start inset-inline-end
+1 -2
View File
@@ -1,2 +1 @@
syn keyword cssFontProp contained syntax inherits
syn match cssFontProp contained "\<initial-value\>"
syn keyword cssFontProp contained syntax inherits initial-value
+1 -3
View File
@@ -1,3 +1 @@
syn match cssPseudoClassId contained "\<target-text\>"
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
syn match cssPseudoClassId contained "\<file-selectors-button\>"
syn keyword cssPseudoClassId contained prefix postfix target-text spelling-error grammer-error file-selectors-button
+2 -5
View File
@@ -1,6 +1,3 @@
" 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 cssFontProp contained flow-into flow-from region-fragment
syn keyword cssFontAttr contained element content break avoid-region region
syn keyword cssPseudoClassId contained region
+1 -2
View File
@@ -1,3 +1,2 @@
syn match cssFontProp contained "\<line-height-step\>"
syn match cssFontProp contained "\<block-step\(-\(size\|insert\|align\|round\)\)\=\>"
syn keyword cssFontProp contained line-height-step block-step block-step-size block-step-insert block-step-align block-step-round
syn keyword cssFontAttr contained margin up down nearest
+2 -7
View File
@@ -1,7 +1,2 @@
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/
syn keyword cssFontProp contained shape-inside border-boundary polar-angle polar-distance device-radius
syn keyword cssFontAttr contained parent polar contained outside-shape contained shape-box
+2 -3
View File
@@ -1,3 +1,2 @@
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\|overhang\)"
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
syn match cssFontAttr contained "\<inter-character\>"
syn keyword cssFontProp contained ruby-position ruby-merge ruby-align ruby-overhang
syn keyword cssFontAttr contained ruby ruby-base ruby-text ruby-base-container ruby-text-container inter-character merge
+1 -2
View File
@@ -1,5 +1,4 @@
syn keyword cssPseudoClassId contained host shadow content
syn match cssPseudoClassId contained "\<\(scope\|host\)-context\>"
syn keyword cssPseudoClassId contained host shadow content scope-context host-context
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(host\)(" end=")" oneline
syn match cssSelectorOp2 "/deep/"
syn match cssFontDescriptor "@scope\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
+1 -1
View File
@@ -1 +1 @@
syn match cssFontProp contained "\<overflow-anchor\>"
syn keyword cssFontProp contained overflow-anchor
+2
View File
@@ -0,0 +1,2 @@
syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline animation-range animation-delay-start animation-delay-end timeline-scope
syn keyword cssFontAttr contained entry exit defer ancestor
+1 -2
View File
@@ -1,3 +1,2 @@
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 cssFontProp contained scroll-snap-type scroll-snap-align scroll-snap-stop scroll-padding scroll-margin scroll-padding-top scroll-padding-right scroll-padding-bottom scroll-padding-left scroll-padding-inline-start scroll-padding-block-start scroll-padding-inline-end scroll-padding-block-end scroll-padding-block scroll-padding-inline scroll-margin-top scroll-margin-right scroll-margin-bottom scroll-margin-left scroll-margin-inline-start scroll-margin-block-start scroll-margin-inline-end scroll-margin-block-end scroll-margin-block scroll-margin-inline
syn keyword cssFontAttr contained x y mandatory proximity
+2
View File
@@ -0,0 +1,2 @@
syn keyword cssFontProp contained scroll-start-target
syn keyword cssPseudoClassId contained snapped snapped-x snapped-y snapped-block snapped-inline
+1 -1
View File
@@ -1 +1 @@
syn match cssFontProp contained "\<scrollbar-\(color\|width\)\>"
syn keyword cssFontProp contained scrollbar-color scrollbar-width
+1 -1
View File
@@ -1,2 +1,2 @@
syn keyword cssPseudoClassId contained enabled indeterminate
syn keyword cssPseudoClassId contained indeterminate
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth\(-last\)\=-\(child\|of-type\)\|not\)(" end=")" oneline
+2 -9
View File
@@ -1,10 +1,3 @@
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
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused any-link local-link read-only read-write placeholder-shown in-range out-of-range user-invalid user-valid target-within defined modal fullscreen picture-in-picture seeking buffering stalled muted volume-locked autofill open closed
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
+2 -3
View File
@@ -1,4 +1,3 @@
" TODO: create cssShapesProp group and cssShapesAttr group
syn match cssFontProp contained "\<shape-\(outside\|image-threshold\|margin\)\>"
syn match cssFontAttr contained "\<margin-box\>"
syn keyword cssFontProp contained shape-outside shape-image-threshold shape-margin
syn keyword cssFontAttr contained margin-box
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend
-2
View File
@@ -1,2 +0,0 @@
syn match cssFontAttr contained "\<\(\(min\|max\)-content\)\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(fit-content\)\s*(" end=")" oneline keepend
+2 -3
View File
@@ -1,3 +1,2 @@
syn match cssFontProp contained "\<contain-intrinsic-size\>"
syn match cssFontProp contained "\<min-intrinsic-sizing\>"
syn match cssFontAttr contained "\<zero-if-\(scroll\|extrinsic\)\>"
syn keyword cssFontProp contained contain-intrinsic-size min-intrinsic-sizing
syn keyword cssFontAttr contained zero-if-scroll zero-if-extrinsic
+2 -5
View File
@@ -1,6 +1,3 @@
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 keyword cssFontProp contained voice-volume voice-balance voice-rate voice-pitch voice-range voice-stress voice-duration rest rest-before rest-after
syn keyword cssFontAttr contained young old neutral preserve moderate reduced literal-punctuation no-punctuation weak x-weak strong x-strong never
syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)"
+2 -13
View File
@@ -1,15 +1,4 @@
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 keyword cssFontProp contained cx cy d r rx ry x y color-interpolation color-rendering marker-end marker-mid marker-start shape-rendering solid-color solid-opacity stop-color stop-opacity text-anchor vector-effect
syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality viewport context-fill context-stroke fixed-position miter miter-clip non-scaling-stroke non-scaling-size non-rotation
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(child\|icc-color\)\s*(" end=")" oneline keepend
+2 -8
View File
@@ -1,8 +1,2 @@
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\>"
syn keyword cssFontProp contained tab-size text-align-all
syn keyword cssFontAttr contained loose strict hanging anywhere match-parent each-line full-width justify-all break-spaces
+2 -16
View File
@@ -1,16 +1,2 @@
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\)\>"
syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-space-transform
syn keyword cssFontAttr contained math-auto spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit space-all trim-both space-first trim-all no-compress ideograph-alpha ideograph-numeric ideographic-space
+2 -2
View File
@@ -1,2 +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
syn keyword cssFontProp contained text-decoration-color text-decoration-line text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style
syn keyword cssFontAttr contained wavy alphabetic ink under filled dot triangle sesame over
+2 -6
View File
@@ -1,6 +1,2 @@
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\>"
syn keyword cssFontProp contained text-decoration-thickness text-underline-offset text-decoration-skip text-decoration-skip-ink text-emphasis-skip
syn keyword cssFontAttr contained objects edges symbols narrow spelling-error grammer-error from-font spaces leading-spaces trailing-spaces box-decoration
+1 -1
View File
@@ -1 +1 @@
syn match cssFontProp contained "\<transform-box\>"
syn keyword cssFontProp contained transform-box
+1
View File
@@ -0,0 +1 @@
syn match cssFontDescriptor "@\(starting-style\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
+2 -2
View File
@@ -1,2 +1,2 @@
syn match cssUIProp contained "\<caret-color\>"
syn keyword cssUIAttr contained grab grabbing
syn keyword cssFontProp contained caret-color
syn keyword cssFontAttr contained grab grabbing
+2 -2
View File
@@ -1,3 +1,3 @@
syn match cssUIProp contained "\<caret\(-shape\)\=\>"
syn keyword cssUIAttr contained fade underscore
syn keyword cssFontProp contained caret caret-shape
syn keyword cssFontAttr contained fade underscore
syn region cssFunction contained matchgroup=cssFunctionName start="\<fade\s*(" end=")" oneline keepend
+4 -1
View File
@@ -1,2 +1,5 @@
syn match cssFontProp contained "\<backdrop-filter\>"
" https://drafts.fxtf.org/filter-effects-2/
syn keyword cssFontProp contained backdrop-filter
" https://drafts.csswg.org/css-env-1/
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline keepend
+1 -1
View File
@@ -1,2 +1,2 @@
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|q\)"
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(q\)"
syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=turn"
+1 -1
View File
@@ -1,3 +1,3 @@
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)"
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
+3
View File
@@ -0,0 +1,3 @@
syn keyword cssFontProp contained interpolate-size
syn keyword cssFontAttr contained numeric-only allow-keyword
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|first-valid\|toggle\|if\|inherit\|random\(-item\)\=\|sibling-\(count\|index\)\|calc-size\)\s*(" end=")" oneline keepend
+3
View File
@@ -0,0 +1,3 @@
syn keyword cssFontProp contained view-transition-name
syn keyword cssPseudoClassId contained view-transition
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<view-transition-\(group\|image-pair\|old\|new\)(" end=")" contains=cssStringQ,cssStringQQ
+3
View File
@@ -0,0 +1,3 @@
syn keyword cssFontProp contained view-transition-class navigation types
syn keyword cssPseudoClassId contained active-view-transition
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<active-view-transition-type(" end=")" contains=cssStringQ,cssStringQQ
+2 -3
View File
@@ -1,3 +1,2 @@
" TODO: create cssWillChangeProp group and cssWillChangeAttr group
syn match cssFontProp contained "\<will-change\>"
syn match cssFontAttr contained "\<scroll-position\>"
syn keyword cssFontProp contained will-change
syn keyword cssFontAttr contained scroll-position
+2 -7
View File
@@ -1,7 +1,2 @@
syn match cssFontProp contained "\<writing-mode\>"
syn match cssFontProp contained "\<text-\(orientation\|combine-upright\)\>"
syn match cssFontProp contained "\<glyph-orientation-vertical\>"
syn keyword cssFontAttr contained before after mixed upright plaintext sideways
syn match cssFontAttr contained "\<isolate\(-override\)\=\>"
syn match cssFontAttr contained "\<horizontal-tb\>"
syn match cssFontAttr contained "\<vertical-\(rl\|lr\)\>"
syn keyword cssFontProp contained writing-mode text-orientation text-combine-upright glyph-orientation-vertical
syn keyword cssFontAttr contained before after mixed upright plaintext sideways isolate isolate-override horizontal-tb vertical-rl vertical-lr
+1 -1
View File
@@ -1 +1 @@
syn match cssFontAttr contained "\<sideways-\(rl\|lr\)\>"
syn keyword cssFontAttr contained sideways-rl sideways-lr
+1099 -829
View File
File diff suppressed because it is too large Load Diff