summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs7
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs b/emacs
index caf60f3..9f4657b 100644
--- a/emacs
+++ b/emacs
@@ -313,7 +313,7 @@
(lambda ()
(add-hook 'before-save-hook 'eglot-format nil t)))
-(add-hook 'typescript-ts-mode-hook 'eglot-ensure)
+(add-hook 'typescript-mode-hook 'eglot-ensure)
(setq-default indent-tabs-mode nil
tab-stop-list ()
tab-width 2)
@@ -356,6 +356,7 @@
(add-to-list 'auto-mode-alist '("\\.json\\'" . json-mode))
(add-to-list 'auto-mode-alist '("\\.ml\\'" . tuareg-mode))
(add-to-list 'auto-mode-alist '("\\.mli\\'" . tuareg-mode))
+(add-to-list 'auto-mode-alist '("emacs" . emacs-lisp-mode))
'(eglot-extend-to-xref t)
'(eglot-autoreconnect t)
@@ -554,6 +555,8 @@
(require 'org)
(transient-mark-mode 1)
(add-hook 'org-mode-hook 'variable-pitch-mode)
+;; Use with aspell
+(setq ispell-list-command "--list")
(add-hook 'org-mode-hook 'flyspell-mode)
(add-hook 'org-mode-hook 'visual-line-mode)
@@ -576,7 +579,7 @@
(expand-file-name fpath)))
(setq org-capture-templates
- `(("t" "Todo" entry (file+headline "~/marcvault/todo.org" "Tasks")
+ `(("t" "Todo" entry (file "~/marcvault/todo.org" )
"* TODO %?\n %i\n %a")
("u" "Usage" entry (file "~/marcvault/usage-tips.org")
"* %?\n"