I was trying to create my own .sublime-completions
for CSS files and ran into the following problem. The completions only work for properties, but not for their values.
See the following two examples, with the pipe-symbol |
representing the cursor position.
i. Working:
body {
|
}
ii. Not working:
body {
color: |
}
My .sublime-completions
looks like this:
{
"scope": "source.css, source.sass, source.scss",
"completions":
[
{ "trigger": "foo", "contents": "bar" }
]
}
Apart from Sublime Text 3's default CSS package, I don't use any other packages working in the CSS scope.