Add some emacs settings from https://idiomdrottning.org/bad-emacs-defaults .
This commit is contained in:
parent
68139849f6
commit
b94e13d63e
@ -55,6 +55,12 @@
|
||||
package-native-compile t
|
||||
;; Confirm when opening a file that does not exist
|
||||
confirm-nonexistent-file-or-buffer t
|
||||
;; Do not require double space to end a sentence.
|
||||
sentence-end-double-space nil
|
||||
;; Show trailing whitespace
|
||||
show-trailing-whitespace t
|
||||
;; Remove the line when killing it with ctrl-k
|
||||
kill-whole-line t
|
||||
)
|
||||
|
||||
;; (setq-default fringes-outside-margins t)
|
||||
|
@ -48,8 +48,7 @@
|
||||
(add-to-list 'eglot-server-programs `(rust-ts-mode . (,rust-analyzer-command :initializationOptions (:imports (:granularity (:enforce t :group "item")
|
||||
:merge (:glob nil)
|
||||
:prefix "self")
|
||||
:inlayHints (:maxLength nil)
|
||||
:workspace (:symbol (:search (:limit 1024)))))))
|
||||
))))
|
||||
)
|
||||
)
|
||||
(add-hook 'before-save-hook 'eglot-format-buffer nil 'local)
|
||||
|
Loading…
x
Reference in New Issue
Block a user