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 /lua | |
| 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 'lua')
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 0f2bdffce..85485aa55 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1238,6 +1238,16 @@ list.twig = { filetype = "twig", } +list.diff = { + install_info = { + url = "https://github.com/the-mikedavis/tree-sitter-diff", + branch = "main", + files = { "src/parser.c" }, + }, + maintainers = { "@gbprod" }, + filetype = "gitdiff", +} + local M = { list = list, filetype_to_parsername = filetype_to_parsername, |
