Add harper to eglot in init.el
This commit is contained in:
@@ -1587,6 +1587,8 @@ With PROJECT, give diagnostics for all buffers in the current project."
|
||||
(advice-add 'eglot--workspace-configuration-plist :around
|
||||
#'my/-eglot-fix-dir-locals-in-remote-dirs)
|
||||
|
||||
(add-to-list 'eglot-server-programs
|
||||
(cons '(text-mode) '("harper-ls" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
(cons '(c-mode c-ts-mode c++-mode c++-ts-mode objc-mode)
|
||||
'("clangd" "--all-scopes-completion" "--background-index"
|
||||
|
||||
Reference in New Issue
Block a user