Skip to content

Commit

Permalink
Fixed wrong delimeter for Lua (#17)
Browse files Browse the repository at this point in the history
Lua uses `--`, not `//`
  • Loading branch information
theRustyKnife authored and aaron-bond committed Dec 13, 2017
1 parent c8347c3 commit 4bb1e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export class Parser {
case "java":
case "javascript":
case "less":
case "lua":
case "php":
case "rust":
case "swift":
Expand All @@ -166,6 +165,7 @@ export class Parser {
break;

case "sql":
case "lua":
this.delimiter = "--";
break;
}
Expand Down

0 comments on commit 4bb1e2f

Please sign in to comment.