AutoYADM commit: 2025-06-16 14:45:37
This commit is contained in:
parent
df0d6e097e
commit
d9fe2a642e
3 changed files with 38 additions and 0 deletions
|
@ -140,3 +140,26 @@ pin = "d8afa2ddcf2f97d29f495eccc08ad9ccff8d9199"
|
||||||
[language.typescript.queries]
|
[language.typescript.queries]
|
||||||
path = "runtime/queries/typescript"
|
path = "runtime/queries/typescript"
|
||||||
|
|
||||||
|
# taskwarrior
|
||||||
|
|
||||||
|
[language.task.grammar.source.git]
|
||||||
|
url = "https://github.com/alexanderbrevig/tree-sitter-task"
|
||||||
|
pin = "f2cb435c5dbf3ee19493e224485d977cb2d36d8b"
|
||||||
|
|
||||||
|
[language.task.grammar]
|
||||||
|
path = "src"
|
||||||
|
compile = "cc"
|
||||||
|
compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."]
|
||||||
|
compile_flags = ["-O3"]
|
||||||
|
link = "cc"
|
||||||
|
link_args = ["-shared", "-fpic", "parser.o", "-o", "task.so"]
|
||||||
|
link_flags = ["-O3"]
|
||||||
|
|
||||||
|
[language.task.queries.source.git]
|
||||||
|
url = "https://github.com/helix-editor/helix"
|
||||||
|
pin = "aeded3c10b41508c2d044cb8bcf728f9b5138d89"
|
||||||
|
|
||||||
|
[language.task.queries]
|
||||||
|
path = "runtime/queries/task"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -115,6 +115,10 @@ hook global WinSetOption filetype=mail %~
|
||||||
}
|
}
|
||||||
~
|
~
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=ini %{
|
||||||
|
set-option window comment_line '#'
|
||||||
|
}
|
||||||
|
|
||||||
hook global BufCreate .*[.](conf) %{
|
hook global BufCreate .*[.](conf) %{
|
||||||
set-option buffer filetype ini
|
set-option buffer filetype ini
|
||||||
}
|
}
|
||||||
|
|
11
.config/kak/autoload/filetype/task.kak
Normal file
11
.config/kak/autoload/filetype/task.kak
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
hook global BufCreate .*[.]taskrc %{
|
||||||
|
set-option buffer filetype ini
|
||||||
|
}
|
||||||
|
|
||||||
|
hook global BufCreate .*[.]task %{
|
||||||
|
set-option buffer filetype task
|
||||||
|
}
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=task %{
|
||||||
|
set-option window comment_line '#'
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue