Compare commits
3 commits
a5cd8df8f4
...
ce1a062606
Author | SHA1 | Date | |
---|---|---|---|
ce1a062606 | |||
d188dd4c89 | |||
0d5d721da9 |
3 changed files with 14 additions and 4 deletions
|
@ -48,7 +48,6 @@
|
||||||
|
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook
|
:config
|
||||||
(python-mode . lsp-deferred)
|
(lsp-inlay-hints-mode)
|
||||||
(rust-mode . lsp-deferred)
|
(setq lsp-inlay-hint-enable t))
|
||||||
(toml-mode . lsp-deferred))
|
|
||||||
|
|
|
@ -5,3 +5,8 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook
|
:hook
|
||||||
(python-mode . flycheck-mode))
|
(python-mode . flycheck-mode))
|
||||||
|
|
||||||
|
(use-package lsp-mode
|
||||||
|
:ensure t
|
||||||
|
:hook
|
||||||
|
(python-mode . lsp-deferred))
|
||||||
|
|
|
@ -10,5 +10,11 @@
|
||||||
;; format code when saving
|
;; format code when saving
|
||||||
(setq rust-format-on-save t))
|
(setq rust-format-on-save t))
|
||||||
|
|
||||||
|
(use-package lsp-mode
|
||||||
|
:ensure t
|
||||||
|
:hook
|
||||||
|
(rust-mode . lsp-deferred)
|
||||||
|
(toml-mode . lsp-deferred))
|
||||||
|
|
||||||
(use-package flycheck-rust :ensure t)
|
(use-package flycheck-rust :ensure t)
|
||||||
(use-package toml-mode :ensure t)
|
(use-package toml-mode :ensure t)
|
||||||
|
|
Loading…
Reference in a new issue