AutoYADM commit: 2025-06-29 18:52:01
This commit is contained in:
parent
b986beb862
commit
5468c94f67
2 changed files with 22 additions and 21 deletions
|
@ -12,29 +12,28 @@ groups = [
|
||||||
"markup.list",
|
"markup.list",
|
||||||
]
|
]
|
||||||
|
|
||||||
# [language.sh]
|
[language.sh]
|
||||||
# grammar = "bash"
|
grammar = "bash"
|
||||||
|
|
||||||
# [language.sh.queries]
|
[language.sh.queries]
|
||||||
# source.git.url = "https://github.com/helix-editor/helix"
|
source.git.url = "https://github.com/helix-editor/helix"
|
||||||
# source.git.pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
|
source.git.pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
|
||||||
# path = "runtime/queries/bash"
|
path = "runtime/queries/bash"
|
||||||
|
|
||||||
# [language.bash]
|
[language.bash]
|
||||||
# aliases = []
|
aliases = []
|
||||||
# filetype_hook = false
|
|
||||||
|
|
||||||
# [grammar.bash.source.git]
|
[grammar.bash.source.git]
|
||||||
# url = "https://github.com/tree-sitter/tree-sitter-bash"
|
url = "https://github.com/tree-sitter/tree-sitter-bash"
|
||||||
# pin = "f8fb3274f72a30896075585b32b0c54cad65c086"
|
pin = "f8fb3274f72a30896075585b32b0c54cad65c086"
|
||||||
|
|
||||||
# [grammar.bash]
|
[grammar.bash]
|
||||||
# compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."]
|
compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."]
|
||||||
# link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "bash.so"]
|
link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "bash.so"]
|
||||||
|
|
||||||
# [language.bash.queries.source.git]
|
[language.bash.queries.source.git]
|
||||||
# url = "https://github.com/helix-editor/helix"
|
url = "https://github.com/helix-editor/helix"
|
||||||
# pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
|
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
|
||||||
|
|
||||||
# mermaid
|
# mermaid
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
# set-option window tree_sitter_lang bash
|
# set-option window tree_sitter_lang bash
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# hook global WinSetOption filetype=(bash|sh) %{
|
hook global WinSetOption filetype=(bash|sh) %{
|
||||||
# set-option window formatcmd 'shfmt -i 4 -ln=auto -ci -bn'
|
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'
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue