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-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-9>" #'next-buffer)
@ -779,18 +779,20 @@ Set treesit to fontify all elements, default was 3 (out of 4)
(eglot-autoreconnect nil)
:config
(add-to-list 'eglot-server-programs
`((nix-mode) . ("nil"
:initializationOptions
(:nil (:nix ( :maxMemoryMB 3000
:flake ( :autoArchive t
:autoEvalInputs t)))))))
`((nix-mode)
. ("nil"
:initializationOptions
(:nil (:nix ( :maxMemoryMB 3000
:flake ( :autoArchive t
:autoEvalInputs t)))))))
(add-to-list 'eglot-server-programs
`((rust-ts-mode rust-mode) . ("rust-analyzer"
:initializationOptions
( :check (:command "clippy")
:procMacro (:enable t)
:cargo ( :buildScripts (:enable t)
:features "all"))))))
`((rust-ts-mode rust-mode)
. ("rust-analyzer"
:initializationOptions
( :check (:command "clippy")
:procMacro (:enable t)
:cargo ( :buildScripts (:enable t)
:features "all"))))))
#+end_src
** Apheleia formatting