diff --git a/src/sloc.coffee b/src/sloc.coffee index f7f5bc3..3ebb3fa 100644 --- a/src/sloc.coffee +++ b/src/sloc.coffee @@ -38,7 +38,7 @@ getCommentExpressions = (lang) -> /\/{2}/ when "latex", "tex", "sty", "cls" - start = /\%{2}/ + start = /\%/ when "lua", "hs", "sql" /--/ when "erl"