Replace warn => warn!

This commit is contained in:
Henrik Lissner 2018-02-14 07:40:05 -05:00
parent 5ad4246cb9
commit bac73ec938
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
11 changed files with 31 additions and 31 deletions

View file

@ -9,10 +9,10 @@
(setq omnisharp-auto-complete-want-documentation nil
omnisharp-cache-directory (concat doom-cache-dir "omnisharp"))
:config
(add-hook! csharp-mode #'(eldoc-mode flycheck-mode omnisharp-mode))
(unless (file-exists-p (omnisharp--server-installation-path t))
(warn "csharp-mode: omnisharp server isn't installed, completion won't work"))
(warn! "Omnisharp server isn't installed, completion won't work"))
(add-hook! csharp-mode #'(eldoc-mode flycheck-mode omnisharp-mode))
(defun +csharp|cleanup-omnisharp-server ()
"Clean up the omnisharp server once you kill the last csharp-mode buffer."