Enable shellcheck in bash-ts-mode.

This commit is contained in:
Tom Alexander
2023-09-14 14:25:42 -04:00
parent 25c2f2753b
commit 35709eb06a
2 changed files with 5 additions and 0 deletions

View File

@@ -3,6 +3,10 @@
(use-package bash-ts-mode
:ensure nil
:commands (bash-ts-mode)
:hook (
(bash-ts-mode . (lambda ()
(flymake-mode +1)
)))
:init
(add-to-list 'major-mode-remap-alist '(sh-mode . bash-ts-mode))
(add-to-list 'treesit-language-source-alist '(bash "https://github.com/tree-sitter/tree-sitter-bash"))