From 480ccc268c549be18b92e1955e19fd71d69c50b9 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 10 Jan 2025 09:16:21 +0000 Subject: [PATCH] Remove yamllint, eslint, julia-mode and pandoc-mode Remove eglot-workspace-configuration for pylsp since I switched to pyright --- init.el | 52 +--------------------------------------------------- 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/init.el b/init.el index 7e8baf9..19b2ab3 100644 --- a/init.el +++ b/init.el @@ -1159,30 +1159,7 @@ (eglot-autoreconnect (* 60 5)) (eglot-events-buffer-config '(:size 0)) :init - (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))))) - ) + (setq eglot-stay-out-of '(flymake))) (use-package apheleia :if (package-installed-p 'apheleia) @@ -1210,13 +1187,6 @@ :hook (sh-mode . (lambda () (if (executable-find "shellcheck" t) (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 :if (package-installed-p 'flymake-clippy) :functions flymake-clippy-setup-backend @@ -1224,13 +1194,6 @@ :hook (rust-mode . (lambda () (if (executable-find "clippy" t) (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 :functions (project-forget-zombie-projects project-remember-projects-under) @@ -1299,14 +1262,6 @@ :custom (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) "Set and enable fill column to `COL'." (set-fill-column col) @@ -1378,11 +1333,6 @@ (set-face-attribute 'markdown-blockquote-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 :defer t :custom