From e6b5e17a394cc8fdd827670b8fa1a81043c8a951 Mon Sep 17 00:00:00 2001 From: John Turner Date: Sun, 3 Jul 2022 21:29:51 -0400 Subject: init --- config/eglot/config-eglot-servers.el | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/eglot/config-eglot-servers.el (limited to 'config/eglot/config-eglot-servers.el') diff --git a/config/eglot/config-eglot-servers.el b/config/eglot/config-eglot-servers.el new file mode 100644 index 0000000..833766d --- /dev/null +++ b/config/eglot/config-eglot-servers.el @@ -0,0 +1,9 @@ +(defvar config-eglot-server-clangd '((c-mode c++-mode) . + ("clangd" + "--header-insersion=never"))) + +(defvar config-eglot-server-rust-analyzer '((rust-mode) . + ("rust-analyzer"))) + +(add-to-list 'eglot-server-programs config-eglot-server-clangd) +(add-to-list 'eglot-server-programs config-eglot-server-rust-analyzer) -- cgit v1.2.3