aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-05-01 13:31:05 +0200
committerStephan Seitz <stephan.seitz@fau.de>2020-05-01 23:38:17 +0200
commit56f4aef198d07940c901b2bce9bab6484e7ab38a (patch)
tree56a88d39ab8a3ab85e78360f7f90fb02e66b6b68 /lua
parentMerge pull request #34 from theHamsta/ensure_installed (diff)
downloadnvim-treesitter-56f4aef198d07940c901b2bce9bab6484e7ab38a.tar
nvim-treesitter-56f4aef198d07940c901b2bce9bab6484e7ab38a.tar.gz
nvim-treesitter-56f4aef198d07940c901b2bce9bab6484e7ab38a.tar.bz2
nvim-treesitter-56f4aef198d07940c901b2bce9bab6484e7ab38a.tar.lz
nvim-treesitter-56f4aef198d07940c901b2bce9bab6484e7ab38a.tar.xz
nvim-treesitter-56f4aef198d07940c901b2bce9bab6484e7ab38a.tar.zst
nvim-treesitter-56f4aef198d07940c901b2bce9bab6484e7ab38a.zip
Add some more community parsers
The haskell one really takes long to compile
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/configs.lua56
1 files changed, 56 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua
index eabe3e3bd..fc5a55758 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