mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
feat(caddy): add tree-sitter for caddyfile
This commit is contained in:
parent
652da0b40f
commit
86f4c19081
3 changed files with 18 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ We are looking for maintainers to add more parsers and to write query files for
|
|||
- [x] [bp](https://github.com/ambroisie/tree-sitter-bp) (maintained by @ambroisie)
|
||||
- [x] [c](https://github.com/tree-sitter/tree-sitter-c) (maintained by @amaanq)
|
||||
- [x] [c_sharp](https://github.com/tree-sitter/tree-sitter-c-sharp) (maintained by @amaanq)
|
||||
- [x] [caddy](https://github.com/opa-oz/tree-sitter-caddy) (maintained by @opa-oz)
|
||||
- [x] [cairo](https://github.com/amaanq/tree-sitter-cairo) (maintained by @amaanq)
|
||||
- [x] [capnp](https://github.com/amaanq/tree-sitter-capnp) (maintained by @amaanq)
|
||||
- [x] [chatito](https://github.com/ObserverOfTime/tree-sitter-chatito) (maintained by @ObserverOfTime)
|
||||
|
|
|
|||
|
|
@ -59,6 +59,9 @@
|
|||
"c_sharp": {
|
||||
"revision": "b5eb5742f6a7e9438bee22ce8026d6b927be2cd7"
|
||||
},
|
||||
"caddy": {
|
||||
"revision": "6f860e7c0527b293439f5f96a1adac043e3ec18e"
|
||||
},
|
||||
"cairo": {
|
||||
"revision": "6238f609bea233040fe927858156dee5515a0745"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -38,6 +38,12 @@ for ft, lang in pairs {
|
|||
ts.language.register(lang, ft)
|
||||
end
|
||||
|
||||
vim.filetype.add {
|
||||
filename = {
|
||||
["Caddyfile"] = "caddy",
|
||||
},
|
||||
}
|
||||
|
||||
---@class InstallInfo
|
||||
---@field url string
|
||||
---@field branch string|nil
|
||||
|
|
@ -233,6 +239,14 @@ list.c_sharp = {
|
|||
maintainers = { "@amaanq" },
|
||||
}
|
||||
|
||||
list.caddy = {
|
||||
install_info = {
|
||||
url = "https://github.com/opa-oz/tree-sitter-caddy",
|
||||
files = { "src/parser.c", "src/scanner.c" },
|
||||
},
|
||||
maintainers = { "@opa-oz" },
|
||||
}
|
||||
|
||||
list.cairo = {
|
||||
install_info = {
|
||||
url = "https://github.com/amaanq/tree-sitter-cairo",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue