summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.config/emacs-kj/development.el6
-rw-r--r--emacs/.config/emacs-kj/init.el12
2 files changed, 11 insertions, 7 deletions
diff --git a/emacs/.config/emacs-kj/development.el b/emacs/.config/emacs-kj/development.el
index 8e02091..702dad8 100644
--- a/emacs/.config/emacs-kj/development.el
+++ b/emacs/.config/emacs-kj/development.el
@@ -2,6 +2,11 @@
(use-package eglot)
+;; Only used to get better eglot snippets.
+(use-package yasnippet
+ :config
+ (yas-global-mode))
+
(use-package rustic
:after eglot
:bind (("C-c C-r C-s" . rustic-popup)
@@ -69,4 +74,3 @@
(use-package graphviz-dot-mode
:ensure t)
-
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index b278de5..a8e1c2e 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -19,7 +19,7 @@
(setq startup-time (current-time))
(setq initial-scratch-message
- (format ";; Emacs startup %s."
+ (format ";; Emacs startup %s.\n\n"
(format-time-string "%F %T %z" startup-time)))
(setq inhibit-startup-message t)
@@ -101,7 +101,7 @@
(use-package rainbow-delimiters
:defer t
- :hook (prog-mode-hook . #'rainbow-delimiters-mode))
+ :hook (prog-mode-hook . rainbow-delimiters-mode))
(column-number-mode)
(set-fringe-mode 10)
@@ -372,7 +372,7 @@
(set-face-attribute 'default nil :font "Iosevka" :height 150)
(unless (equal system-name "minideck")
(set-face-attribute 'fixed-pitch nil :font "Iosevka" :height 150)
- (set-face-attribute 'variable-pitch nil :font "Iosevka Etoile"))
+ (set-face-attribute 'variable-pitch nil :font "Noto Serif"))
(setq compilation-ask-about-save nil)
(use-package ob-async)
@@ -883,6 +883,6 @@
(calendar-absolute-from-gregorian (list month day year)))))
'font-lock-face 'calendar-iso-week-face))
-(setq ispell-local-dictionary "en_US")
-(add-hook 'text-mode-hook flyspell-mode)
-(add-hook 'prog-mode-hook flyspell-prog-mode)
+;; (setq ispell-local-dictionary "en_US")
+;; (add-hook 'text-mode-hook flyspell-mode)
+;; (add-hook 'prog-mode-hook flyspell-prog-mode)