From 797a168ad32206ec0c615b4a731e4e1d1fbb0656 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Fri, 13 May 2022 15:58:01 +0200 Subject: [PATCH] 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 --- init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index a339d30..51f2edd 100644 --- a/init.el +++ b/init.el @@ -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\\'")