Skip to content

Commit d638c57

Browse files
committed
initial support for the paint() func
1 parent 302aae0 commit d638c57

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CSS3.sublime-syntax

+12
Original file line numberDiff line numberDiff line change
@@ -2472,6 +2472,17 @@ contexts:
24722472
- include: fill-rule
24732473
- include: string
24742474

2475+
func-paint:
2476+
- match: \b(paint)(\()
2477+
captures:
2478+
1: support.function.paint.css
2479+
2: punctuation.section.function.begin.css
2480+
push:
2481+
- meta_scope: meta.function.paint.css
2482+
- include: end-func
2483+
- include: func-var
2484+
- include: identifier
2485+
24752486
func-perspective:
24762487
- match: \b(perspective)(\()
24772488
captures:
@@ -2922,6 +2933,7 @@ contexts:
29222933
- include: func-element
29232934
- include: func-image-set
29242935
- include: func-image
2936+
- include: func-paint
29252937
- include: func-url
29262938

29272939
integer:

0 commit comments

Comments
 (0)