initial commit

This commit is contained in:
Kyo Nagashima committed 2011-01-25 17:15:44 +09:00
commit 0ad97e152d
5 files changed
+57

No files matched your search

+1
View File
@@ -0,0 +1 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgba\|hsla\?\|calc\|\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
+15
View File
@@ -0,0 +1,15 @@
syn match cssBoxProp contained "\<border-\(color\|image\|radius\)\>"
syn match cssBoxProp contained "\<box-shadow\>"
syn match cssColorProp contained "\<background-\(origin\|clip\|size\)\>"
syn keyword cssColorProp contained opacity
syn match cssTextProp contained "\<text-\(shadow\|overflow\)\>"
syn match cssTextProp contained "\<word-wrap\>"
syn match cssBoxProp contained "\<box-sizing\>"
syn keyword cssBoxProp contained resize
syn match cssBoxProp contained "\<nav-\(up\|right\|down\|left\)"
syn match cssBoxProp contained "\<overflow-\(x\|y\)\>"
+2
View File
@@ -0,0 +1,2 @@
" HTML5 new elements
syn keyword section article aside hgroup header footer nav figure figcaption video audio source embed mark progress meter time ruby rt rp bdi wbr canvas command details summary datalist keygen output
+2
View File
@@ -0,0 +1,2 @@
syn region cssMediaType start='(' end=')' contains=css.*Attr,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape nextgroup=cssMediaComma,cssMediaAnd,cssMediaBlock skipwhite skipnl
syn match cssMediaComma "and" nextgroup=cssMediaType skipwhite skipnl