added c-mode config with LSP support, and added flymake to sh-mode

This commit is contained in:
2024-07-01 20:07:01 +02:00
parent c16659037c
commit 47eb117e9f
4 changed files with 25 additions and 6 deletions

View File

@@ -7,13 +7,15 @@
:custom
(flymake-no-changes-timeout nil)
(flymake-shellcheck-allow-external-files t)
:init
(defun tvd-flymake-install-hooks()
(add-hook 'before-save-hook #'flymake-start))
(defalias 'check-flymake 'consult-flymake)
:bind
("!" . consult-flymake)
;;; ("!" . consult-flymake)
:config
(add-hook 'shell-script-mode-hook #'tvd-flymake-install-hooks))