General, minor refactor & reformatting

This commit is contained in:
Henrik Lissner 2020-03-27 18:06:31 -04:00
parent bcdadcd45d
commit 296cbff097
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 63 additions and 60 deletions

View file

@ -10,6 +10,7 @@
(use-package! rustic
:mode ("\\.rs$" . rustic-mode)
:commands rustic-run-cargo-command rustic-cargo-outdated
:hook (rustic-mode . rainbow-delimiters-mode)
:config
(set-docsets! 'rustic-mode "Rust")
(set-popup-rule! "^\\*rustic-compilation" :vslot -1)
@ -18,8 +19,6 @@
;; use :editor format instead
rustic-format-trigger nil)
(add-hook 'rustic-mode-hook #'rainbow-delimiters-mode)
(if (featurep! +lsp)
(add-hook 'rustic-mode-local-vars-hook #'lsp!)
(setq rustic-lsp-server nil)