AutoYADM commit: 2025-06-29 18:21:47
This commit is contained in:
parent
ad2efd241c
commit
6ebe474f8a
2 changed files with 20 additions and 7 deletions
|
@ -13,7 +13,20 @@ groups = [
|
|||
]
|
||||
|
||||
[language.bash]
|
||||
aliases = []
|
||||
aliases = ["sh"]
|
||||
filetype_hook = false
|
||||
|
||||
[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"]
|
||||
|
||||
[language.bash.queries.source.git]
|
||||
url = "https://github.com/helix-editor/helix"
|
||||
pin = "7275b7f85014aad7e15d4987ec4f2249572eecfb"
|
||||
|
||||
# mermaid
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
hook global WinSetOption tree_sitter_lang=sh %{
|
||||
set-option window tree_sitter_lang bash
|
||||
}
|
||||
# hook global WinSetOption tree_sitter_lang=sh %{
|
||||
# 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'
|
||||
# }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue