Add lsp
This commit is contained in:
parent
17c1b4a7f5
commit
eeac893163
@ -48,6 +48,7 @@
|
||||
rust-mode
|
||||
go-mode
|
||||
edit-indirect
|
||||
lsp-mode
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -217,4 +217,13 @@ If point was already at that position, move point to beginning of line."
|
||||
|
||||
(setq inhibit-startup-screen t)
|
||||
|
||||
(use-package lsp-mode
|
||||
:config
|
||||
(add-to-list 'lsp-language-id-configuration '(nix-mode . "nix"))
|
||||
(lsp-register-client
|
||||
(make-lsp-client :new-connection (lsp-stdio-connection '("rnix-lsp"))
|
||||
:major-modes '(nix-mode)
|
||||
:server-id 'nix))
|
||||
)
|
||||
|
||||
;;; init.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user