support in-line comments

This commit is contained in:
Alex Leferry 2 2017-02-01 13:56:24 +01:00
parent 30d8641e78
commit 1fecb99a4d

View File

@ -13,11 +13,14 @@ hook global BufCreate .*[.](scss) %{
# Highlighters # Highlighters
# ‾‾‾‾‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾‾‾‾‾
add-highlighter -group / group scss add-highlighter -group / regions -default core scss \
comment // $ ''
add-highlighter -group /scss ref css add-highlighter -group /scss/comment fill comment
add-highlighter -group /scss regex @[A-Za-z][A-Za-z0-9_-]* 0:meta add-highlighter -group /scss/core ref css
add-highlighter -group /scss/core regex @[A-Za-z][A-Za-z0-9_-]* 0:meta
# Commands # Commands
# ‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾