Add Diff language (#19129)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
name = "Diff"
|
||||
grammar = "diff"
|
||||
path_suffixes = ["diff", "patch"]
|
||||
brackets = []
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
(addition)
|
||||
(new_file)
|
||||
] @diff.plus
|
||||
|
||||
[
|
||||
(deletion)
|
||||
(old_file)
|
||||
] @diff.minus
|
||||
|
||||
(commit) @constant
|
||||
|
||||
(location) @attribute
|
||||
|
||||
(command) @function
|
||||
Reference in New Issue
Block a user