fixing
This commit is contained in:
parent
635842d7cb
commit
00d79d6edf
3 changed files with 118 additions and 33 deletions
27
init.el
27
init.el
|
@ -461,9 +461,9 @@
|
|||
"tt" '(consult-theme :which-key "choose theme")
|
||||
"tl" '(toggle-truncate-lines :which-key "truncate lines")
|
||||
"ts" '(ispell :which-key "spell check")
|
||||
"tb" '(org-bible-select :which-key "Select bible version")
|
||||
"ff" '(find-file :which-key "find file")
|
||||
"fv" '(chris/find-videos :which-key "find file")
|
||||
"fb" '(chris/open-bible :which-key "find bible book")
|
||||
"fr" '(consult-recent-file :which-key "recent file")
|
||||
"fs" '(save-buffer :which-key "save")
|
||||
"ft" '(chris/find-todo :which-key "open todo file")
|
||||
|
@ -479,7 +479,7 @@
|
|||
"ss" '(consult-line :which-key "consult search")
|
||||
"sr" '(consult-ripgrep :which-key "consult ripgrep")
|
||||
"sd" '(dictionary-search :which-key "search the dictionary")
|
||||
"sv" '(org-bible-jump :which-key "imenu")
|
||||
"sv" '(org-bible-jump :which-key "Find Bible verse")
|
||||
"oP" '(proced :which-key "proced")
|
||||
"ov" '(vterm :which-key "vterm")
|
||||
"wo" '(other-window :which-key "other window")
|
||||
|
@ -1728,11 +1728,11 @@ Optional BACKEND must be `re-reveal' or a backend derived from it."
|
|||
|
||||
(use-package ox-hugo)
|
||||
|
||||
;; (use-package ox-zola
|
||||
;; :load-path "ox-zola/"
|
||||
;; :config
|
||||
;; (setq org-hugo-base-dir "/home/chris/dev/cochrun.xyz"
|
||||
;; org-hugo-section "blog"))
|
||||
(use-package ox-zola
|
||||
:load-path "ox-zola/"
|
||||
:config
|
||||
(setq org-hugo-base-dir "/home/chris/dev/cochrun.xyz"
|
||||
org-hugo-section "blog"))
|
||||
|
||||
(defun chris/window-delete-popup-frame (&rest _)
|
||||
"Kill selected selected frame if it has parameter `chris/window-popup-frame'.
|
||||
|
@ -2900,13 +2900,6 @@ current buffer's, reload dir-locals."
|
|||
(rust-ts-mode . eglot-ensure)
|
||||
:config
|
||||
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(text-mode . ("harper-ls" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(org-mode . ("harper-ls" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
'((english-prose-mode :language-id "plaintext") . ("harper-ls" "--stdio")))
|
||||
|
||||
(setq eglot-autoshutdown t)
|
||||
|
||||
(defun chris/eglot-capf ()
|
||||
|
@ -2920,6 +2913,12 @@ current buffer's, reload dir-locals."
|
|||
(add-to-list 'eglot-server-programs '(wgsl-mode "wgsl-analyzer"))
|
||||
(add-to-list 'eglot-server-programs '(qml-mode "qmlls"))
|
||||
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(text-mode . ("harper-ls" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(org-mode . ("harper-ls" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
'((english-prose-mode :language-id "plaintext") . ("harper-ls" "--stdio")))
|
||||
:general
|
||||
(general-def 'normal eglot-mode-map
|
||||
"ga" 'eglot-code-actions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue