Skip to content

Commit cb6f429

Browse files
committed
1 parent 5ea57b4 commit cb6f429

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

after/syntax/css/scroll-snap-2.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
syn keyword cssFontProp contained scroll-start-target
2+
syn keyword cssPseudoClassId contained snapped snapped-x snapped-y snapped-block snapped-inline

test/test.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,15 @@ mask {
904904
display: proximity;
905905
}
906906

907+
.scroll-snap-2,
908+
.scroll-snap-2:snapped-x,
909+
.scroll-snap-2:snapped-y,
910+
.scroll-snap-3:snapped-inline,
911+
.scroll-snap-2:snapped-block,
912+
.scroll-snap-2:snapped {
913+
scroll-start-target: auto;
914+
}
915+
907916
.scrollbars-1 {
908917
scrollbar-color: auto;
909918
scrollbar-width: auto;

0 commit comments

Comments
 (0)