feat: add taskwarrior to languages so `task N edit` is nice (#3468)

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
imgbot
Alexander Brevig 2 years ago committed by GitHub
parent 9b0fd51318
commit aef00a3ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -99,6 +99,7 @@
| svelte | ✓ | | ✓ | `svelteserver` |
| swift | ✓ | | | `sourcekit-lsp` |
| tablegen | ✓ | ✓ | ✓ | |
| task | ✓ | | | |
| tfvars | | | | `terraform-ls` |
| toml | ✓ | | | `taplo` |
| tsq | ✓ | | | |

@ -1640,3 +1640,16 @@ language-server = { command = "slint-lsp", args = [] }
[[grammar]]
name = "slint"
source = { git = "https://github.com/jrmoulton/tree-sitter-slint", rev = "0d4dda94f96623302dfc234e06be62a5717f47da" }
[[language]]
name = "task"
scope = "source.task"
injection-regex = "task"
file-types = ["task"]
roots = []
comment-token = "#"
indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "task"
source = { git = "https://github.com/alexanderbrevig/tree-sitter-task", rev = "f2cb435c5dbf3ee19493e224485d977cb2d36d8b" }

@ -0,0 +1,4 @@
(comment) @comment
(datetime) @type
(identifier) @variable
(keyword) @keyword

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))
Loading…
Cancel
Save