fix(lang): disable duplicate before-save hooks for go-mode

Those hooks are already defined in the setup for lsp-go.
This commit is contained in:
2021-03-15 22:59:55 +00:00
parent 98b4e800f5
commit bc4328c6d5

View File

@@ -37,8 +37,6 @@
company-minimum-prefix-length 1
whitespace-style (delete 'indentation whitespace-style))
(add-hook 'before-save-hook #'lsp-format-buffer t t)
(add-hook 'before-save-hook #'lsp-organize-imports t t)
(when (fboundp 'highlight-symbol-mode)
(highlight-symbol-mode -1))