From ee79cc489b871e8acb33ee3a4f1f2cee54382813 Mon Sep 17 00:00:00 2001 From: John Turner Date: Sat, 25 Mar 2023 03:24:16 -0400 Subject: [PATCH] rm'd eglot config, it has all the servers I use setup by default now --- init.el | 3 --- init/eglot/init-eglot-servers.el | 9 --------- init/eglot/init-eglot.el | 7 ------- 3 files changed, 19 deletions(-) delete mode 100644 init/eglot/init-eglot-servers.el delete mode 100644 init/eglot/init-eglot.el diff --git a/init.el b/init.el index e8fb9d2..a73be6b 100644 --- a/init.el +++ b/init.el @@ -65,9 +65,6 @@ (when (require? 'company) (require 'init-company)) -(when (require? 'eglot) - (require 'init-eglot)) - (when (require? 'flycheck) (require 'init-flycheck)) diff --git a/init/eglot/init-eglot-servers.el b/init/eglot/init-eglot-servers.el deleted file mode 100644 index 2dce402..0000000 --- a/init/eglot/init-eglot-servers.el +++ /dev/null @@ -1,9 +0,0 @@ -(defvar init-eglot-server-clangd '((c-mode c++-mode) . - ("clangd" - "--header-insersion=never"))) - -(defvar init-eglot-server-rust-analyzer '((rust-mode) . - ("rust-analyzer"))) - -(add-to-list 'eglot-server-programs init-eglot-server-clangd) -(add-to-list 'eglot-server-programs init-eglot-server-rust-analyzer) diff --git a/init/eglot/init-eglot.el b/init/eglot/init-eglot.el deleted file mode 100644 index dd85cca..0000000 --- a/init/eglot/init-eglot.el +++ /dev/null @@ -1,7 +0,0 @@ -(require 'eglot) - -(setq eglot-autoshutdown t) - -(load "init-eglot-servers") - -(provide 'init-eglot)