Commit
+1 -2 +/-1 browse
1 | diff --git a/grammar.js b/grammar.js |
2 | index 278ccee..588ac40 100644 |
3 | --- a/grammar.js |
4 | +++ b/grammar.js |
5 | @@ -64,8 +64,7 @@ module.exports = grammar({ |
6 | ) |
7 | ), |
8 | |
9 | - // FIXME: remove git assumption |
10 | - command: ($) => iseq("diff", "--git", $.filename), |
11 | + command: ($) => iseq("diff", /[-\w]+/, $.filename), |
12 | |
13 | file_change: ($) => |
14 | iseq( |