diff options
author | Baitinq <30861839+Baitinq@users.noreply.github.com> | 2024-03-01 11:18:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 11:18:12 +0100 |
commit | 9795e025edc836cd11010aac5842d3b96576cff1 (patch) | |
tree | 9d3bfd91fdae2f7302445cb52cbc546b1a6de10b /dotfiles/.emacs | |
parent | Dotfiles: Emacs: Add treesit-auto (diff) | |
download | nixos-config-9795e025edc836cd11010aac5842d3b96576cff1.tar.gz nixos-config-9795e025edc836cd11010aac5842d3b96576cff1.tar.bz2 nixos-config-9795e025edc836cd11010aac5842d3b96576cff1.zip |
Dotfiles: Emacs: Dont show flymake in popup
Diffstat (limited to 'dotfiles/.emacs')
-rw-r--r-- | dotfiles/.emacs | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs index 0d4b12b..0a8f4a7 100644 --- a/dotfiles/.emacs +++ b/dotfiles/.emacs @@ -158,10 +158,13 @@ :config (add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter)) -(use-package flymake +(use-package treesit-auto :ensure t + :custom + (treesit-auto-install 'prompt) :config - (setq flymake-show-diagnostics-at-end-of-line t)) + (treesit-auto-add-to-auto-mode-alist 'all) + (global-treesit-auto-mode)) (use-package eglot :ensure t @@ -187,12 +190,14 @@ :ensure t :config (setq rustic-format-on-save t) - (setq rustic-lsp-client 'eglot)) + (setq rustic-lsp-client 'eglot) + (delete 'rust treesit-auto-langs)) (use-package go-mode :ensure t :init - (add-hook 'go-mode-hook 'eglot-ensure)) + (add-hook 'go-mode-hook 'eglot-ensure) + (delete 'go treesit-auto-langs)) (use-package dired-sidebar :ensure t @@ -205,11 +210,3 @@ (eval-after-load 'dired '(evil-define-key 'normal dired-mode-map [mouse-2] 'dired-mouse-find-file) ) - -(use-package treesit-auto - :ensure t - :custom - (treesit-auto-install 'prompt) - :config - (treesit-auto-add-to-auto-mode-alist 'all) - (global-treesit-auto-mode)) |