mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
Merge pull request #36 from theHamsta/community-parsers
Add some more community parsers
This commit is contained in:
commit
34c0b0cccb
1 changed files with 56 additions and 0 deletions
|
|
@ -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
|
-- @enable can be true or false
|
||||||
-- @disable is a list of languages, only relevant if enable is true
|
-- @disable is a list of languages, only relevant if enable is true
|
||||||
-- @keymaps list of user mappings for a given module if relevant
|
-- @keymaps list of user mappings for a given module if relevant
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue