Created
November 28, 2019 06:53
-
-
Save cyraxjoe/9001fcc5d2de0669d7e0d27f7a49ee90 to your computer and use it in GitHub Desktop.
Hook nim-mode into lsp-mode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; hook nim-mode into lsp | |
(add-to-list 'lsp-language-id-configuration '(nim-mode . "nim")) | |
(lsp-register-client | |
(make-lsp-client :new-connection (lsp-stdio-connection "nimlsp") | |
:major-modes '(nim-mode) | |
:server-id 'nimlsp)) | |
(add-hook 'nim-mode-hook #'lsp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment