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-scroll-margin 5) ;; Use scroll margin
:init
(corfu-global-mode))
(global-corfu-mode))
(use-package deadgrep
:straight t
@ -426,7 +426,7 @@
((inferior-scheme-mode . gambit-inferior-mode))
:config
(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")))
(when tags (visit-tags-table tags)))
@ -787,6 +787,7 @@
(citar-format-reference-function 'citar-citeproc-format-reference)
(citar-citeproc-csl-styles-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-@
:bind
(: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-preview-extension "svg"))
(use-package company-graphviz-dot)
(use-package hledger-mode
:straight t
:mode ("\\.journal\\'" "\\.hledger\\'")