mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
added c-mode config with LSP support, and added flymake to sh-mode
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user