Skip to content

Commit 0ef7a71

Browse files
authored
fix grammar and caps of outlier err msgs (#42)
1 parent 8f64bed commit 0ef7a71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/vimparser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ VimLParser.prototype.parse_cmd_call = function() {
17961796
}
17971797
node.left = this.parse_expr();
17981798
if (node.left.type != NODE_CALL) {
1799-
throw Err("Not an function call", node.left.pos);
1799+
throw Err("Not a function call", node.left.pos);
18001800
}
18011801
this.add_node(node);
18021802
}
@@ -5504,7 +5504,7 @@ RegexpParser.prototype.get_token_backslash_common = function() {
55045504
else if (c == "[") {
55055505
return this.get_token_sq("\\_[");
55065506
}
5507-
throw Err("E63: invalid use of \\_", epos);
5507+
throw Err("E63: Invalid use of \\_", epos);
55085508
}
55095509
else if (viml_stridx("etrb", c) != -1) {
55105510
return ["\\" + c, "\\" + c];

0 commit comments

Comments
 (0)