diff options
| author | Kiyan Yazdani <yazdani.kiyan@protonmail.com> | 2020-05-01 23:58:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-01 23:58:39 +0200 |
| commit | 34c0b0cccb48f3db61c6fb561bb31b43cbfb1893 (patch) | |
| tree | c8368ef5d33def743b3352e7a27fe593be73dc23 /lua | |
| parent | Merge pull request #35 from kyazdani42/refacto/config-doc (diff) | |
| parent | Add some more community parsers (diff) | |
| download | nvim-treesitter-34c0b0cccb48f3db61c6fb561bb31b43cbfb1893.tar nvim-treesitter-34c0b0cccb48f3db61c6fb561bb31b43cbfb1893.tar.gz nvim-treesitter-34c0b0cccb48f3db61c6fb561bb31b43cbfb1893.tar.bz2 nvim-treesitter-34c0b0cccb48f3db61c6fb561bb31b43cbfb1893.tar.lz nvim-treesitter-34c0b0cccb48f3db61c6fb561bb31b43cbfb1893.tar.xz nvim-treesitter-34c0b0cccb48f3db61c6fb561bb31b43cbfb1893.tar.zst nvim-treesitter-34c0b0cccb48f3db61c6fb561bb31b43cbfb1893.zip | |
Merge pull request #36 from theHamsta/community-parsers
Add some more community parsers
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/configs.lua | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index 90ab92c4c..9363c9e68 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -145,6 +145,62 @@ parsers.tsx = { } } +parsers.scala = { + install_info = { + url = "https://github.com/tree-sitter/tree-sitter-scala", + files = { "src/parser.c", "src/scanner.c" }, + } +} + +parsers.haskell = { + install_info = { + url = "https://github.com/tree-sitter/tree-sitter-haskell", + files = { "src/parser.c", "src/scanner.cc" }, + } +} + +parsers.markdown = { + install_info = { + url = "https://github.com/ikatyang/tree-sitter-markdown", + files = { "src/parser.c", "src/scanner.cc" }, + } +} + +parsers.toml = { + install_info = { + url = "https://github.com/ikatyang/tree-sitter-toml", + files = { "src/parser.c", "src/scanner.c" }, + } +} + +parsers.vue = { + install_info = { + url = "https://github.com/ikatyang/tree-sitter-vue", + files = { "src/parser.c", "src/scanner.cc" }, + } +} + +parsers.elm = { + install_info = { + url = "https://github.com//razzeee/tree-sitter-elm", + files = { "src/parser.c", "src/scanner.cc" }, + } +} + +parsers.yaml = { + install_info = { + url = "https://github.com/ikatyang/tree-sitter-yaml", + files = { "src/parser.c", "src/scanner.cc" }, + } +} + +parsers.nix = { + install_info = { + url = "https://github.com/cstrahan/tree-sitter-nix", + files = { "src/parser.c", "src/scanner.cc" }, + } +} + -- @enable can be true or false -- @disable is a list of languages, only relevant if enable is true -- @keymaps list of user mappings for a given module if relevant |
