diff options
author | Baitinq <30861839+Baitinq@users.noreply.github.com> | 2024-03-01 00:31:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 00:31:33 +0100 |
commit | f23d94541bb008c0dfb7827d6b72d9daa517d17a (patch) | |
tree | bd48cc7e84397ef392d8745a519de77ca3978e2b /dotfiles/.emacs | |
parent | Dotfiles: Emacs: Use kind-icon for corfu (diff) | |
download | nixos-config-f23d94541bb008c0dfb7827d6b72d9daa517d17a.tar.gz nixos-config-f23d94541bb008c0dfb7827d6b72d9daa517d17a.tar.bz2 nixos-config-f23d94541bb008c0dfb7827d6b72d9daa517d17a.zip |
Dotfiles: Emacs: Add file watchers
Diffstat (limited to 'dotfiles/.emacs')
-rw-r--r-- | dotfiles/.emacs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs index 3beb5f3..0c973a2 100644 --- a/dotfiles/.emacs +++ b/dotfiles/.emacs @@ -65,6 +65,9 @@ (setq warning-minimum-level :error) (setq inhibit-startup-screen t) +;; Refresh buffers if underlying file changes +(setq globa-auto-revert-mode 1) + ;; Disable toolbar, menubar and scrollbar (menu-bar-mode -1) (tool-bar-mode -1) @@ -149,12 +152,19 @@ (use-package kind-icon :ensure t :after corfu + ;:custom :config (add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter)) +(use-package flymake + :ensure t + :config + (setq flymake-show-diagnostics-at-end-of-line t)) + (use-package eglot :ensure t :config + (add-to-list 'eglot-ignored-server-capabilites :hoverProvider) (setq read-process-output-max (* 1024 1024)) (setq gc-cons-threshold 100000000)) @@ -193,5 +203,3 @@ (eval-after-load 'dired '(evil-define-key 'normal dired-mode-map [mouse-2] 'dired-mouse-find-file) ) - -(setq flymake-show-diagnostics-at-end-of-line t) |