diff --git a/data/plugins/language_js.lua b/data/plugins/language_js.lua index cf1b124a..af650655 100644 --- a/data/plugins/language_js.lua +++ b/data/plugins/language_js.lua @@ -6,6 +6,7 @@ syntax.add { patterns = { { pattern = "//.-\n", type = "comment" }, { pattern = { "/%*", "%*/" }, type = "comment" }, + { pattern = { '/', '/', '\\' }, type = "string" }, { pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { "'", "'", '\\' }, type = "string" }, { pattern = { "`", "`", '\\' }, type = "string" },