Misc improvements

- Corfu: fix function name
- Gerbil: do not depend on PATH to find the interpreter
- Citar: specify notes path
- Remove company-graphviz since I don't use company anymore
This commit is contained in:
Dimitri Lozeve 2022-05-13 15:58:01 +02:00
parent 20a8e9a9b7
commit 797a168ad3

View file

@ -228,7 +228,7 @@
;; (corfu-echo-documentation nil) ;; Disable documentation in the echo area ;; (corfu-echo-documentation nil) ;; Disable documentation in the echo area
;; (corfu-scroll-margin 5) ;; Use scroll margin ;; (corfu-scroll-margin 5) ;; Use scroll margin
:init :init
(corfu-global-mode)) (global-corfu-mode))
(use-package deadgrep (use-package deadgrep
:straight t :straight t
@ -426,7 +426,7 @@
((inferior-scheme-mode . gambit-inferior-mode)) ((inferior-scheme-mode . gambit-inferior-mode))
:config :config
(require 'gambit (concat gambit "/misc/gambit.el")) (require 'gambit (concat gambit "/misc/gambit.el"))
(setf scheme-program-name "gxi") (setf scheme-program-name (concat gerbil "/bin/gxi"))
(let ((tags (locate-dominating-file default-directory "TAGS"))) (let ((tags (locate-dominating-file default-directory "TAGS")))
(when tags (visit-tags-table tags))) (when tags (visit-tags-table tags)))
@ -787,6 +787,7 @@
(citar-format-reference-function 'citar-citeproc-format-reference) (citar-format-reference-function 'citar-citeproc-format-reference)
(citar-citeproc-csl-styles-dir "~/notes/bibliography/") (citar-citeproc-csl-styles-dir "~/notes/bibliography/")
(citar-citeproc-csl-locales-dir "~/notes/bibliography/") (citar-citeproc-csl-locales-dir "~/notes/bibliography/")
(citar-notes-paths '("~/notes/notes"))
;; optional: org-cite-insert is also bound to C-c C-x C-@ ;; optional: org-cite-insert is also bound to C-c C-x C-@
:bind :bind
(:map org-mode-map :package org ("C-c b" . #'org-cite-insert))) (:map org-mode-map :package org ("C-c b" . #'org-cite-insert)))
@ -852,8 +853,6 @@
(setq graphviz-dot-indent-width 4) (setq graphviz-dot-indent-width 4)
(setq graphviz-dot-preview-extension "svg")) (setq graphviz-dot-preview-extension "svg"))
(use-package company-graphviz-dot)
(use-package hledger-mode (use-package hledger-mode
:straight t :straight t
:mode ("\\.journal\\'" "\\.hledger\\'") :mode ("\\.journal\\'" "\\.hledger\\'")