From 44f0a74d54923d063e2bd9c74aa6b56fa0e8b98c Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Sat, 24 Jul 2021 21:35:15 +0200 Subject: [PATCH] Update Pandoc and Zig language server config Recent versions of Pandoc do not need pandoc-citeproc as a filter in a separate package, the option --citeproc is now builtin. --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 6c093c7..cd0d193 100644 --- a/init.el +++ b/init.el @@ -276,7 +276,7 @@ (setq gc-cons-threshold 100000000) (setq lsp-completion-provider :capf) (setq lsp-file-watch-threshold nil) - (setq lsp-zig-zls-executable (expand-file-name "~/build/zls/zig-out/bin/zls"))) + (setq lsp-zig-zls-executable "zls")) (use-package lsp-ui :commands lsp-ui-mode @@ -670,7 +670,7 @@ (kill-new (shell-command-to-string (format - "echo cite:%s | pandoc --filter=pandoc-citeproc --bibliography=%s --csl=%s -f org -t markdown_strict | tail -n +3 | tr '\n' ' '" + "echo cite:%s | pandoc --citeproc --bibliography=%s --csl=%s -f org -t markdown_strict | tail -n +3 | tr '\n' ' '" (org-ref-get-bibtex-key-under-cursor) bibfile cslfile)))))