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)