summaryrefslogtreecommitdiff
path: root/config/eglot/config-eglot-servers.el
blob: 833766d474a7dd5fbf3cff1f6559e311745dce87 (plain)
1
2
3
4
5
6
7
8
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)