Commit c6fa40a41511

Vincent Demeester <vincent@sbr.pm>
2020-12-01 18:43:12
tools/emacs: temporarly disable flycheck-golangci-lint
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 2a5b994
Changed files (3)
tools
users
vincent
tools/emacs/config/config-appearance.el
@@ -40,10 +40,13 @@
   (global-unset-key (kbd "C-h h"))
   ;; let's enable it for all programming major modes
   (add-hook 'prog-mode-hook #'hl-line-mode)
-  (add-hook 'prog-mode-hook #'hl-todo-mode)
   ;; and for all modes derived from text-mode
   (add-hook 'text-mode-hook #'hl-line-mode))
 
+(use-package hl-todo
+  :commands (hl-todo-mode)
+  :hook ((prog-mode . hl-todo-mode)))
+
 (use-package frame
   :unless noninteractive
   :commands vde/cursor-type-mode
tools/emacs/config/programming-go.el
@@ -20,10 +20,10 @@
   (setq-default company-go-show-annotation t)
   (push 'company-go company-backends))
 
-(use-package flycheck-golangci-lint
-  :commands (flycheck-golangci-lint-setup)
-  :hook (go-mode . flycheck-golangci-lint-setup)
-  :config (setq flycheck-golangci-lint-tests t))
+;; (use-package flycheck-golangci-lint
+;;   :commands (flycheck-golangci-lint-setup)
+;;   :hook (go-mode . flycheck-golangci-lint-setup)
+;;   :config (setq flycheck-golangci-lint-tests t))
 
 (use-package gotest
   :after go-mode)
users/vincent/dev/emacs.nix
@@ -65,6 +65,7 @@ let
     helpful
     highlight
     highlight-indentation
+    hl-todo
     htmlize
     ibuffer-vc
     icomplete-vertical