remove flymake and add go extension to fg42.user.el

This commit is contained in:
amirrezaask 2020-02-23 20:07:19 +03:30
parent 3c7273b6ea
commit ff702e6144
2 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,7 @@
'clojure 'clojure
'haskell 'haskell
'php 'php
'go
'common-lisp 'common-lisp
'python 'python
'arduino 'arduino

View File

@ -5,7 +5,6 @@
(defun fg42-go-hook () (defun fg42-go-hook ()
"""Setup emacs hooks and turn necessary modes on.""" """Setup emacs hooks and turn necessary modes on."""
(lsp) (lsp)
(flymake-mode-on)
(yas-minor-mode-on) (yas-minor-mode-on)
(add-hook 'before-save-hook #'lsp-format-buffer t t) (add-hook 'before-save-hook #'lsp-format-buffer t t)
(add-hook 'before-save-hook #'lsp-organize-imports t t) (add-hook 'before-save-hook #'lsp-organize-imports t t)