AutoYADM commit: 2025-06-29 18:52:01

This commit is contained in:
Daniel Fichtinger 2025-06-29 18:52:01 -04:00
parent b986beb862
commit 5468c94f67
2 changed files with 22 additions and 21 deletions

View file

@ -12,29 +12,28 @@ groups = [
"markup.list",
]
# [language.sh]
# grammar = "bash"
[language.sh]
grammar = "bash"
# [language.sh.queries]
# source.git.url = "https://github.com/helix-editor/helix"
# source.git.pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
# path = "runtime/queries/bash"
[language.sh.queries]
source.git.url = "https://github.com/helix-editor/helix"
source.git.pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
path = "runtime/queries/bash"
# [language.bash]
# aliases = []
# filetype_hook = false
[language.bash]
aliases = []
# [grammar.bash.source.git]
# url = "https://github.com/tree-sitter/tree-sitter-bash"
# pin = "f8fb3274f72a30896075585b32b0c54cad65c086"
[grammar.bash.source.git]
url = "https://github.com/tree-sitter/tree-sitter-bash"
pin = "f8fb3274f72a30896075585b32b0c54cad65c086"
# [grammar.bash]
# compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."]
# link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "bash.so"]
[grammar.bash]
compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."]
link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "bash.so"]
# [language.bash.queries.source.git]
# url = "https://github.com/helix-editor/helix"
# pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
[language.bash.queries.source.git]
url = "https://github.com/helix-editor/helix"
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
# mermaid

View file

@ -2,6 +2,8 @@
# set-option window tree_sitter_lang bash
# }
# hook global WinSetOption filetype=(bash|sh) %{
# set-option window formatcmd 'shfmt -i 4 -ln=auto -ci -bn'
# }
hook global WinSetOption filetype=(bash|sh) %{
set-option window formatcmd 'shfmt -i 4 -ln=auto -ci -bn'
declare-filetype-mode sh
map window sh x ':sh $kak_buffile<ret>' -docstring 'execute current shell script'
}