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.
This commit is contained in:
parent
428d452e3d
commit
44f0a74d54
1 changed files with 2 additions and 2 deletions
4
init.el
4
init.el
|
@ -276,7 +276,7 @@
|
||||||
(setq gc-cons-threshold 100000000)
|
(setq gc-cons-threshold 100000000)
|
||||||
(setq lsp-completion-provider :capf)
|
(setq lsp-completion-provider :capf)
|
||||||
(setq lsp-file-watch-threshold nil)
|
(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
|
(use-package lsp-ui
|
||||||
:commands lsp-ui-mode
|
:commands lsp-ui-mode
|
||||||
|
@ -670,7 +670,7 @@
|
||||||
(kill-new
|
(kill-new
|
||||||
(shell-command-to-string
|
(shell-command-to-string
|
||||||
(format
|
(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)
|
(org-ref-get-bibtex-key-under-cursor)
|
||||||
bibfile
|
bibfile
|
||||||
cslfile)))))
|
cslfile)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue