home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c6fa40a41511a9f8c02f983cecd60baff7f412ca
parent 2a5b994b797c6c82c4106a592d3f312703366ba1
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue,  1 Dec 2020 18:43:12 +0100

tools/emacs: temporarly disable flycheck-golangci-lint

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-appearance.el | 5++++-
Mtools/emacs/config/programming-go.el | 8++++----
Musers/vincent/dev/emacs.nix | 1+
3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/tools/emacs/config/config-appearance.el b/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 diff --git a/tools/emacs/config/programming-go.el b/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) diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -65,6 +65,7 @@ let helpful highlight highlight-indentation + hl-todo htmlize ibuffer-vc icomplete-vertical