From 6fac8a28da9bf30da71941340505c2316d0db5a3 Mon Sep 17 00:00:00 2001 From: John Turner Date: Fri, 7 Oct 2022 03:10:21 -0400 Subject: changed the config-* prefix to init-* for all of the init files --- init/eglot/init-eglot-servers.el | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 init/eglot/init-eglot-servers.el (limited to 'init/eglot/init-eglot-servers.el') diff --git a/init/eglot/init-eglot-servers.el b/init/eglot/init-eglot-servers.el new file mode 100644 index 0000000..2dce402 --- /dev/null +++ b/init/eglot/init-eglot-servers.el @@ -0,0 +1,9 @@ +(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) -- cgit v1.2.3