File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 7
7
" Nikolai Weibull (Add CSS2 support)
8
8
" URL: https://github.com/vim-language-dept/css-syntax.vim
9
9
" Maintainer: Jay Sitter <[email protected] >
10
- " Last Change: 2021 Oct 20
10
+ " Last Change: 2024 Nov 12
11
11
12
12
" quit when a syntax file was already loaded
13
13
if ! exists (" main_syntax" )
@@ -160,7 +160,7 @@ syn keyword cssAnimationAttr contained infinite
160
160
" ------------------------------------------------
161
161
" CSS Backgrounds and Borders Module Level 3
162
162
" http://www.w3.org/TR/css3-background/
163
- syn match cssBackgroundProp contained " \< background\( -\( attachment\| clip\| color\| image\| origin\| position\| repeat\| size\)\)\=\> "
163
+ syn match cssBackgroundProp contained " \< background\( -\( attachment\| clip\| color\| image\| origin\| position\( -[xy] \)\=\ | repeat\| size\)\)\=\> "
164
164
" background-attachment attributes
165
165
syn keyword cssBackgroundAttr contained scroll fixed local
166
166
Original file line number Diff line number Diff line change @@ -337,3 +337,9 @@ and (max-device-width:1024px)
337
337
margin-end : 0px ; /* property shouldn't be highlighted */
338
338
padding-end : 0px ; /* property shouldn't be highlighted */
339
339
}
340
+
341
+ /* Vim issue #15968 */
342
+ # issue-vim-15968 {
343
+ background-position-x : 20px ;
344
+ background-position-y : 20px ;
345
+ }
You can’t perform that action at this time.
0 commit comments