Organize Emacs configuration

This commit is contained in:
Fabio Scotto di Santolo
2025-12-24 15:56:55 +01:00
parent fa1928af8d
commit e0487c8e2e
8 changed files with 84 additions and 58 deletions

View File

@@ -58,6 +58,14 @@
("gopls.analyses.useany" t)
("gopls.env" ((GO111MODULE . "on"))))))
(with-eval-after-load 'flycheck
;; Usa golangci-lint in Go
(add-hook 'go-ts-mode-hook
(lambda ()
(setq-local flycheck-checker 'golangci-lint)
(setq-local flycheck-check-syntax-automatically '(save mode-enabled))
(flycheck-mode 1))))
(use-package dap-dlv-go
:after (dap-mode go-ts-mode))

View File

@@ -1,3 +1,6 @@
(with-eval-after-load 'flycheck
(add-hook 'bash-ts-mode-hook 'flycheck-mode))
(use-package reformatter
:ensure t
:config