From 18e992f50d6ae34b574413799f8c37f7690b11fb Mon Sep 17 00:00:00 2001 From: junhuihuang Date: Mon, 20 Nov 2017 23:53:34 +0800 Subject: [PATCH] golang indent issue https://github.com/syl20bnr/spacemacs/issues/6520 --- spacemacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spacemacs.el b/spacemacs.el index 66d2432..01012f3 100644 --- a/spacemacs.el +++ b/spacemacs.el @@ -473,6 +473,9 @@ you should place your code here." (evil-leader/set-key "w p f" 'popup-which-function) + ;; https://github.com/syl20bnr/spacemacs/issues/6520 + (clean-aindent-mode -1) + (define-key evil-hybrid-state-map (kbd "M-n") 'evil-complete-next) (define-key evil-hybrid-state-map (kbd "M-p") 'evil-complete-previous) (define-key evil-hybrid-state-map (kbd "M-y") 'evil-copy-from-above)