summaryrefslogtreecommitdiff
path: root/emacs/.doom.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.doom.d/init.el')
-rw-r--r--emacs/.doom.d/init.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el
index 4c04ad3..65390f7 100644
--- a/emacs/.doom.d/init.el
+++ b/emacs/.doom.d/init.el
@@ -13,7 +13,9 @@
;;
;; Alternatively, press 'gd' (or 'C-c g d') on a module to browse its
;; directory (for easy access to its source code).
-(load-file "~/.doom.d/init.local.el")
+(let ((local-config "~/.doom.d/init.local.el"))
+ (when (file-exists-p local-config)
+ (load-file local-config)))
(doom! :input
;;chinese
@@ -50,7 +52,7 @@
(window-select +numbers) ; visually switch windows
workspaces ; tab emulation, persistence & separate workspaces
zen ; distraction-free coding or writing
- (emoji +unicode) ; 😇
+ ;; (emoji +unicode) ; 😇
:editor
(evil +everywhere); come to the dark side, we have cookies
@@ -80,7 +82,7 @@
vterm ; the best terminal emulation in Emacs
:checkers
- syntax ; tasing you for every semicolon you forget
+ ;;syntax ; tasing you for every semicolon you forget
;;spell ; tasing you for misspelling mispelling
;;grammar ; tasing grammar mistake every you make
@@ -94,7 +96,7 @@
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
- ;;lsp
+ (lsp +eglot)
;;macos ; MacOS-specific commands
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
@@ -109,7 +111,7 @@
:lang
;;agda ; types of types of types of types...
- cc ; C/C++/Obj-C madness
+ (cc +lsp) ; C/C++/Obj-C madness
clojure ; java with a lisp
;;common-lisp ; if you've seen one lisp, you've seen them all
;;coq ; proofs-as-programs