diff --git a/ansible/roles/emacs/files/elisp/lang-bash.el b/ansible/roles/emacs/files/elisp/lang-bash.el index 8ae8b0f..bc3b1cc 100644 --- a/ansible/roles/emacs/files/elisp/lang-bash.el +++ b/ansible/roles/emacs/files/elisp/lang-bash.el @@ -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")) diff --git a/ansible/roles/emacs/tasks/linux.yaml b/ansible/roles/emacs/tasks/linux.yaml index 1b964f1..e9e9064 100644 --- a/ansible/roles/emacs/tasks/linux.yaml +++ b/ansible/roles/emacs/tasks/linux.yaml @@ -13,6 +13,7 @@ - pyright - gopls - typescript-language-server + - shellcheck state: present - name: Create directories