mirror of
https://github.com/turtlebasket/env.git
synced 2026-03-04 19:44:26 -08:00
update doom config
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
;; `load-theme' function. This is the default:
|
||||
(setq doom-theme 'doom-dark+)
|
||||
(setq doom-theme 'doom-gruvbox)
|
||||
|
||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||
@@ -74,3 +74,16 @@
|
||||
;;
|
||||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||
;; they are implemented.
|
||||
|
||||
;; treemacs extension
|
||||
(setq treemacs-text-scale 1)
|
||||
(treemacs-git-mode 'deferred)
|
||||
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action) ;; single click to open tree nodes
|
||||
|
||||
;; code minimap
|
||||
(minimap-move-overlay-mouse [mouse-1])
|
||||
|
||||
;; Rust config
|
||||
;; https://github.com/doomemacs/doomemacs/blob/develop/modules/lang/rust/README.org#enable-rls-by-default
|
||||
(setq rustic-lsp-server 'rust-analyzer)
|
||||
(setq rustic-lsp-client 'eglot)
|
||||
|
||||
Reference in New Issue
Block a user