parent
aefe49ed88
commit
31d9ff075c
@ -0,0 +1,10 @@ |
|||||||
|
;;; |
||||||
|
|
||||||
|
(provide 'rust) |
||||||
|
|
||||||
|
;; Use rust-analyzer for completions |
||||||
|
(setq lsp-rust-server 'rust-analyzer) |
||||||
|
|
||||||
|
;; Start lsp mode for Rust buffers |
||||||
|
(add-hook 'rust-mode-hook #'lsp) |
||||||
|
|
@ -0,0 +1,14 @@ |
|||||||
|
{ buildModule, epkgs, pkgs }: |
||||||
|
|
||||||
|
with epkgs; with pkgs; |
||||||
|
(buildModule "rust" ./. [ |
||||||
|
|
||||||
|
# lsp integration |
||||||
|
lsp-mode lsp-ui |
||||||
|
|
||||||
|
# real-time diagnostigs |
||||||
|
flycheck |
||||||
|
|
||||||
|
# rust specifics |
||||||
|
rust-mode rust-analyzer |
||||||
|
]) |
@ -1,6 +1,3 @@ |
|||||||
{ buildModule, pkgs, epkgs }: |
{ buildModule, pkgs, epkgs }: |
||||||
with epkgs; |
with epkgs; |
||||||
(buildModule "theme" ./. [ |
(buildModule "theme" ./. [ color-theme-sanityinc-tomorrow ]) |
||||||
color-theme-sanityinc-tomorrow |
|
||||||
color-identifiers-mode |
|
||||||
]) |
|
||||||
|
Loading…
Reference in new issue