diff options
| author | gbprod <contact@gb-prod.fr> | 2022-10-18 13:15:07 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-10-19 16:22:58 -0700 |
| commit | 1e4b23c26678bd36e3da638183996eaa30e7fba8 (patch) | |
| tree | 2c71583e213c61e84f33abfb4a941c3644de561a /queries/diff | |
| parent | fix(modules): allow non-registered langs to use modules (diff) | |
| download | nvim-treesitter-1e4b23c26678bd36e3da638183996eaa30e7fba8.tar nvim-treesitter-1e4b23c26678bd36e3da638183996eaa30e7fba8.tar.gz nvim-treesitter-1e4b23c26678bd36e3da638183996eaa30e7fba8.tar.bz2 nvim-treesitter-1e4b23c26678bd36e3da638183996eaa30e7fba8.tar.lz nvim-treesitter-1e4b23c26678bd36e3da638183996eaa30e7fba8.tar.xz nvim-treesitter-1e4b23c26678bd36e3da638183996eaa30e7fba8.tar.zst nvim-treesitter-1e4b23c26678bd36e3da638183996eaa30e7fba8.zip | |
feat(diff): add diff parser
This commit introduce diff parser.
Diffstat (limited to 'queries/diff')
| -rw-r--r-- | queries/diff/highlights.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/diff/highlights.scm b/queries/diff/highlights.scm new file mode 100644 index 000000000..4b9cbad60 --- /dev/null +++ b/queries/diff/highlights.scm @@ -0,0 +1,6 @@ +[(addition) (new_file)] @text.diff.add +[(deletion) (old_file)] @text.diff.delete + +(commit) @constant +(location) @attribute +(command) @function |
