diff options
Diffstat (limited to 'data/plugins/language_css.lua')
| -rw-r--r-- | data/plugins/language_css.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/plugins/language_css.lua b/data/plugins/language_css.lua index 722b9adc..fa69ac8f 100644 --- a/data/plugins/language_css.lua +++ b/data/plugins/language_css.lua @@ -7,7 +7,7 @@ syntax.add { block_comment = { "/*", "*/" }, patterns = { { pattern = "\\.", type = "normal" }, - { pattern = "//.-\n", type = "comment" }, + { pattern = "//.*$", type = "comment" }, { pattern = { "/%*", "%*/" }, type = "comment" }, { pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { "'", "'", '\\' }, type = "string" }, |
