diff --git "a/\350\224\223\350\211\270/\347\267\221\350\241\243/\350\243\234.org" "b/\350\224\223\350\211\270/\347\267\221\350\241\243/\350\243\234.org" index b735ceb..122fbd1 100644 --- "a/\350\224\223\350\211\270/\347\267\221\350\241\243/\350\243\234.org" +++ "b/\350\224\223\350\211\270/\347\267\221\350\241\243/\350\243\234.org" @@ -517,6 +517,7 @@ https://github.com/zerolfx/copilot.el (:bind-into copilot-mode-map "C-" copilot-accept-completion "H-SPC" nasy/copilot-complete) + (:opt* copilot-install-dir (concat *nasy-var* "copilot")) (:opt copilot-idle-delay 0.8 copilot-indent-warning-suppress t) (:when-loaded diff --git "a/\350\224\223\350\211\270/\351\272\220\344\271\213\350\266\276/\347\257\207.org" "b/\350\224\223\350\211\270/\351\272\220\344\271\213\350\266\276/\347\257\207.org" index 532f245..512ed25 100644 --- "a/\350\224\223\350\211\270/\351\272\220\344\271\213\350\266\276/\347\257\207.org" +++ "b/\350\224\223\350\211\270/\351\272\220\344\271\213\350\266\276/\347\257\207.org" @@ -177,6 +177,8 @@ Emacs client/library for the Language Server Protocol (:hooks kill-emacs-hook (lambda () (setq lsp-restart 'ignore)) lsp-completion-mode-hook nasy/lsp-setup-completion) + (:mode-hook + (lsp-enable-which-key-integration t)) (:opts (( ;; lsp-auto-configure @@ -485,14 +487,16 @@ Emacs client/library for the Language Server Protocol (:custom parinfer-rust-auto-download nil parinfer-rust-library (concat *nasy-var* "parinfer-rust/parinfer-rust-darwin.so")) - (:init (lisp-modes-hooks-add parinfer-rust-mode)) + (:init + (lisp-modes-hooks-add (lambda () (indent-tabs-mode -1))) + (lisp-modes-hooks-add parinfer-rust-mode)) (:when-loaded ;; https://github.com/justinbarclay/parinfer-rust-mode/issues/53 (add-to-list 'parinfer-rust-treat-command-as '(quoted-insert . "paren")))) #+end_src -** TeX :tex: +** TeX :tex: TeX related works. @@ -769,6 +773,14 @@ TeX related works. . `((template . ,(concat *nasy-etc* "nasy-context.tex")))))) #+end_src +#+begin_src emacs-lisp + (setup ox + (:when-loaded + (nasy/sup '(ox-rst ox-pandoc)) + (require 'ox-rst) + (require 'ox-pandoc))) +#+end_src + **** org id #+begin_src emacs-lisp @@ -1049,10 +1061,6 @@ org latex (progn (require 'org-eldoc) (org-eldoc-load))) - (:after ox - (nasy/sup '(ox-rst ox-pandoc)) - (require 'ox-rst) - (require 'ox-pandoc)) (:advice org-refile :after (lambda (&rest _) (org-save-all-org-buffers))