Remove yamllint, eslint, julia-mode and pandoc-mode
Remove eglot-workspace-configuration for pylsp since I switched to pyright
This commit is contained in:
parent
82db7539d7
commit
480ccc268c
52
init.el
52
init.el
|
@ -1159,30 +1159,7 @@
|
||||||
(eglot-autoreconnect (* 60 5))
|
(eglot-autoreconnect (* 60 5))
|
||||||
(eglot-events-buffer-config '(:size 0))
|
(eglot-events-buffer-config '(:size 0))
|
||||||
:init
|
:init
|
||||||
(setq eglot-stay-out-of '(flymake))
|
(setq eglot-stay-out-of '(flymake)))
|
||||||
:config
|
|
||||||
(setq-default eglot-workspace-configuration
|
|
||||||
'( :pylsp ( :plugins
|
|
||||||
( :autopep8 (:enabled nil)
|
|
||||||
:flake8 (:enabled nil)
|
|
||||||
:jedi_completion ( :enabled t
|
|
||||||
:include_params t
|
|
||||||
:include_class_objects t
|
|
||||||
:include_function_objects t
|
|
||||||
:fuzzy t)
|
|
||||||
:jedi_definition (:enabled t)
|
|
||||||
:jedi_hover (:enabled t)
|
|
||||||
:mccabe (:enabled nil)
|
|
||||||
:preload (:enabled nil)
|
|
||||||
:pycodestyle (:enabled nil)
|
|
||||||
:pydocstyle (:enabled nil)
|
|
||||||
:pyflakes (:enabled nil)
|
|
||||||
:pylint (:enabled nil)
|
|
||||||
:rope_autoimport ( :completions (:enabled t)
|
|
||||||
:code_actions (:enabled t))
|
|
||||||
:rope_completion (:enabled t)
|
|
||||||
:yapf (:enabled nil)))))
|
|
||||||
)
|
|
||||||
|
|
||||||
(use-package apheleia
|
(use-package apheleia
|
||||||
:if (package-installed-p 'apheleia)
|
:if (package-installed-p 'apheleia)
|
||||||
|
@ -1210,13 +1187,6 @@
|
||||||
:hook (sh-mode . (lambda () (if (executable-find "shellcheck" t)
|
:hook (sh-mode . (lambda () (if (executable-find "shellcheck" t)
|
||||||
(flymake-shellcheck-load)))))
|
(flymake-shellcheck-load)))))
|
||||||
|
|
||||||
(use-package flymake-yamllint
|
|
||||||
:if (package-installed-p 'flymake-yamllint)
|
|
||||||
:functions flymake-yamllint-setup
|
|
||||||
:after flymake
|
|
||||||
:hook (yaml-ts-mode . (lambda () (if (executable-find "yamllint" t)
|
|
||||||
(flymake-yamllint-setup)))))
|
|
||||||
|
|
||||||
(use-package flymake-clippy
|
(use-package flymake-clippy
|
||||||
:if (package-installed-p 'flymake-clippy)
|
:if (package-installed-p 'flymake-clippy)
|
||||||
:functions flymake-clippy-setup-backend
|
:functions flymake-clippy-setup-backend
|
||||||
|
@ -1224,13 +1194,6 @@
|
||||||
:hook (rust-mode . (lambda () (if (executable-find "clippy" t)
|
:hook (rust-mode . (lambda () (if (executable-find "clippy" t)
|
||||||
(flymake-clippy-setup-backend)))))
|
(flymake-clippy-setup-backend)))))
|
||||||
|
|
||||||
(use-package flymake-eslint
|
|
||||||
:if (package-installed-p 'flymake-eslint)
|
|
||||||
:functions flymake-eslint-enable
|
|
||||||
:after flymake
|
|
||||||
:hook ((js-base-mode typescript-ts-base-mode) . (lambda () (if (executable-find "eslint" t)
|
|
||||||
(flymake-eslint-enable)))))
|
|
||||||
|
|
||||||
(use-package project
|
(use-package project
|
||||||
:functions (project-forget-zombie-projects
|
:functions (project-forget-zombie-projects
|
||||||
project-remember-projects-under)
|
project-remember-projects-under)
|
||||||
|
@ -1299,14 +1262,6 @@
|
||||||
:custom
|
:custom
|
||||||
(sh-basic-offset 2))
|
(sh-basic-offset 2))
|
||||||
|
|
||||||
(use-package julia-mode
|
|
||||||
:if (package-installed-p 'julia-mode))
|
|
||||||
|
|
||||||
(use-package julia-ts-mode
|
|
||||||
:if (package-installed-p 'julia-ts-mode)
|
|
||||||
:after (julia-mode)
|
|
||||||
:mode "\\.jl$")
|
|
||||||
|
|
||||||
(defun my/enable-fill-column (col)
|
(defun my/enable-fill-column (col)
|
||||||
"Set and enable fill column to `COL'."
|
"Set and enable fill column to `COL'."
|
||||||
(set-fill-column col)
|
(set-fill-column col)
|
||||||
|
@ -1378,11 +1333,6 @@
|
||||||
(set-face-attribute 'markdown-blockquote-face nil :inherit 'variable-pitch)
|
(set-face-attribute 'markdown-blockquote-face nil :inherit 'variable-pitch)
|
||||||
(set-face-attribute 'markdown-comment-face nil :inherit 'variable-pitch))
|
(set-face-attribute 'markdown-comment-face nil :inherit 'variable-pitch))
|
||||||
|
|
||||||
(use-package pandoc-mode
|
|
||||||
:if (package-installed-p 'pandoc-mode)
|
|
||||||
:after (markdown-mode)
|
|
||||||
:hook (markdown-mode . conditionally-turn-on-pandoc))
|
|
||||||
|
|
||||||
(use-package eww
|
(use-package eww
|
||||||
:defer t
|
:defer t
|
||||||
:custom
|
:custom
|
||||||
|
|
Loading…
Reference in a new issue