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

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
Alexander Brevig 2022-08-20 02:16:54 +02:00 committed by GitHub
parent 9b0fd51318
commit aef00a3ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 0 deletions

View File

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

View File

@ -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" }

View File

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

View File

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