diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-07 13:38:36 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-07 13:38:36 -0500 |
commit | 7db8a813e0c239706aaf5b382f94529f62fff354 (patch) | |
tree | 7897aa66e07b63bded38b98d18f6b1989d285224 /emacs | |
parent | eb0ff7ed497f4cb20e505d35f8b66b1f71bb9a85 (diff) | |
download | rcm-7db8a813e0c239706aaf5b382f94529f62fff354.tar.gz rcm-7db8a813e0c239706aaf5b382f94529f62fff354.tar.bz2 rcm-7db8a813e0c239706aaf5b382f94529f62fff354.zip |
Emacs: Temp. get rid of typescript-ts-mode
Crashing due to treesitter bug
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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" |