changes from Scorch on Fri 19 Jan 16:32:18 GMT 2024

This commit is contained in:
Evie Litherland-Smith 2024-01-19 16:32:18 +00:00
parent 23cfe7a1c2
commit cd381b015c

View file

@ -33,7 +33,7 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
scroll-margin 0 scroll-margin 0
scroll-preserve-screen-position 1) scroll-preserve-screen-position 1)
; Bind normal forward/back buttons on mouse to next/previous buffer respectively ;; Bind normal forward/back buttons on mouse to next/previous buffer respectively
(keymap-global-set "<mouse-8>" #'previous-buffer) (keymap-global-set "<mouse-8>" #'previous-buffer)
(keymap-global-set "<mouse-9>" #'next-buffer) (keymap-global-set "<mouse-9>" #'next-buffer)
@ -779,18 +779,20 @@ Set treesit to fontify all elements, default was 3 (out of 4)
(eglot-autoreconnect nil) (eglot-autoreconnect nil)
:config :config
(add-to-list 'eglot-server-programs (add-to-list 'eglot-server-programs
`((nix-mode) . ("nil" `((nix-mode)
:initializationOptions . ("nil"
(:nil (:nix ( :maxMemoryMB 3000 :initializationOptions
:flake ( :autoArchive t (:nil (:nix ( :maxMemoryMB 3000
:autoEvalInputs t))))))) :flake ( :autoArchive t
:autoEvalInputs t)))))))
(add-to-list 'eglot-server-programs (add-to-list 'eglot-server-programs
`((rust-ts-mode rust-mode) . ("rust-analyzer" `((rust-ts-mode rust-mode)
:initializationOptions . ("rust-analyzer"
( :check (:command "clippy") :initializationOptions
:procMacro (:enable t) ( :check (:command "clippy")
:cargo ( :buildScripts (:enable t) :procMacro (:enable t)
:features "all")))))) :cargo ( :buildScripts (:enable t)
:features "all"))))))
#+end_src #+end_src
** Apheleia formatting ** Apheleia formatting