Reconfigure rust mode

This commit is contained in:
Maciej 2020-08-09 18:29:03 +03:00
parent 42e167a829
commit df8a84448e
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
3 changed files with 18 additions and 5 deletions

View file

@ -8,14 +8,13 @@
:defer t
:requires (company)
:config (setq-default lsp-file-watch-threshold 10000
lsp-restart 'auto-restart
lsp-restart 'interactive
lsp-prefer-capf t
lsp-server-trace t
read-process-output-max (* 1024 1024)
lsp-enable-file-watchers nil)
:hook ((typescript-mode . lsp-deferred)
(elixir-mode . lsp)
(rust-mode . lsp)
(js2-mode . lsp-deferred)))
(use-package lsp-ui