Skip to content

Commit 9a3be67

Browse files
committed
Add var() to wide_keywords
1 parent 6d84247 commit 9a3be67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/csscomplete.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function! csscomplete#CompleteCSS(findstart, base)
113113
" Get name of property
114114
let prop = tolower(matchstr(line, '\zs[a-zA-Z-]*\ze\s*:[^:]\{-}$'))
115115

116-
let wide_keywords = ["initial", "inherit", "unset"]
116+
let wide_keywords = ["initial", "inherit", "unset", "var("]
117117
let color_values = ["transparent", "rgb(", "rgba(", "hsl(", "hsla(", "#"] + s:named_colors
118118
let border_style_values = ["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"]
119119
let border_width_values = ["thin", "thick", "medium"]

0 commit comments

Comments
 (0)