Config update: pylint, graphviz, elfeed text width

This commit is contained in:
Dimitri Lozeve 2021-03-02 18:36:51 +01:00
parent 166f2b7da2
commit 389dc82548

17
init.el
View file

@ -286,7 +286,8 @@
(require 'lsp-pyright) (require 'lsp-pyright)
(lsp))) ; or lsp-deferred (lsp))) ; or lsp-deferred
:config :config
(setq lsp-pyright-use-library-code-for-types nil)) (setq lsp-pyright-use-library-code-for-types nil)
(flycheck-add-next-checker 'lsp 'python-pylint))
(use-package julia-mode (use-package julia-mode
:ensure t) :ensure t)
@ -408,7 +409,9 @@
(use-package elfeed (use-package elfeed
:ensure t :ensure t
:bind ("C-c f" . elfeed)) :bind ("C-c f" . elfeed)
:config
(setq shr-width 100))
(use-package elfeed-org (use-package elfeed-org
:ensure t :ensure t
@ -611,7 +614,7 @@
(setq bibtex-autokey-year-length 4)) (setq bibtex-autokey-year-length 4))
(defun formatted-citation-at-point () (defun dl/formatted-citation-at-point ()
"Kill the formatted citation for the reference at point using Pandoc." "Kill the formatted citation for the reference at point using Pandoc."
(interactive) (interactive)
(let* ((bibfile (expand-file-name (car (org-ref-find-bibliography)))) (let* ((bibfile (expand-file-name (car (org-ref-find-bibliography))))
@ -669,6 +672,14 @@
(eval-after-load "org" (eval-after-load "org"
'(require 'ox-gfm nil t))) '(require 'ox-gfm nil t)))
(use-package graphviz-dot-mode
:ensure t
:config
(setq graphviz-dot-indent-width 4)
(setq graphviz-dot-preview-extension "svg"))
(use-package company-graphviz-dot)
(use-package mu4e (use-package mu4e
:load-path "~/build/mu-1.4.13/mu4e" :load-path "~/build/mu-1.4.13/mu4e"
:bind ("C-c m" . mu4e) :bind ("C-c m" . mu4e)