diff --git a/.config/kak-tree-sitter/config.toml b/.config/kak-tree-sitter/config.toml index 506340dc..90b8ef62 100644 --- a/.config/kak-tree-sitter/config.toml +++ b/.config/kak-tree-sitter/config.toml @@ -12,6 +12,9 @@ groups = [ "markup.list", ] +[language.bash] +aliases = [] + # mermaid [grammar.mermaid.source.git] @@ -206,12 +209,10 @@ pin = "fed3edcab70b31b416eb31c2ccf4a979c120d640" [language.bibtex.queries] path = "runtime/queries/bibtex" -# latex # latex [grammar.latex.source.git] url = "https://github.com/latex-lsp/tree-sitter-latex" pin = "8c75e93cd08ccb7ce1ccab22c1fbd6360e3bcea6" -# pin = "8c75e93cd08ccb7ce1ccab22c1fbd6360e3bcea6" [grammar.latex] path = "src" diff --git a/.config/kak/autoload/filetype/sh.kak b/.config/kak/autoload/filetype/sh.kak index e8c3992d..02fa58b3 100644 --- a/.config/kak/autoload/filetype/sh.kak +++ b/.config/kak/autoload/filetype/sh.kak @@ -1,6 +1,6 @@ -# 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'