Skip to content

Commit

Permalink
简单修正
Browse files Browse the repository at this point in the history
* 蔓艸/緑衣/補.org: copilot-install-dir
* 蔓艸/麐之趾/篇.org: lsp, lisp, org-ox, typo
  • Loading branch information
nasyxx committed Apr 18, 2024
1 parent 59e853c commit 907f773
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
1 change: 1 addition & 0 deletions 蔓艸/緑衣/補.org
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ https://github.com/zerolfx/copilot.el
(:bind-into copilot-mode-map
"C-<tab>" 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
Expand Down
20 changes: 14 additions & 6 deletions 蔓艸/麐之趾/篇.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 907f773

Please sign in to comment.