Debian control file syntax highlighting (#13245)

File format described at
https://www.debian.org/doc/debian-policy/ch-controlfields.html

Co-authored-by: Wesley Hershberger <wesley.hershberger@gmail.com>
pull/13283/head
Wesley Hershberger 2025-04-06 12:05:43 -05:00 committed by GitHub
parent 5b72b59448
commit 6c42ed1bd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 0 deletions

View File

@ -36,6 +36,7 @@
| d | ✓ | ✓ | ✓ | `serve-d` |
| dart | ✓ | ✓ | ✓ | `dart` |
| dbml | ✓ | | | |
| debian | ✓ | | | |
| devicetree | ✓ | | | |
| dhall | ✓ | ✓ | | `dhall-lsp-server` |
| diff | ✓ | | | |

View File

@ -4261,3 +4261,18 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "werk"
source = { git = "https://github.com/little-bonsai/tree-sitter-werk", rev = "92b0f7fe98465c4c435794a58e961306193d1c1e" }
[[language]]
name = "debian"
scope = "text.debian"
file-types = [
"dsc",
"changes",
{ glob = "debian/**/control" },
{ glob = "etc/apt/sources.list.d/*.sources"}
]
comment-tokens = "#"
[[grammar]]
name = "debian"
source = { git = "https://gitlab.com/MggMuggins/tree-sitter-debian", rev = "9b3f4b78c45aab8a2f25a5f9e7bbc00995bc3dde" }

View File

@ -0,0 +1,2 @@
(comment) @comment
(field_name) @tag