Fix vestigial references to warn! macro

This macro was removed some time ago (and moved to doom-doctor). Where
necessary, these warnings have been moved to that module's doctor.el
file.
This commit is contained in:
Henrik Lissner 2018-04-28 03:49:42 -04:00
parent c23974e1d5
commit d67496e007
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 15 additions and 7 deletions

View file

@ -0,0 +1,6 @@
;;; app/write/doctor.el -*- lexical-binding: t; -*-
(when (featurep! +langtool)
(require 'langtool)
(unless (file-exists-p langtool-language-tool-jar)
(warn! "Couldn't find languagetool-commandline.jar")))

View file

@ -11,10 +11,6 @@
(setq omnisharp-auto-complete-want-documentation nil
omnisharp-cache-directory (concat doom-cache-dir "omnisharp"))
:config
(let ((omnisharp-bin (or omnisharp-server-executable-path (omnisharp--server-installation-path t))))
(unless (file-exists-p omnisharp-bin)
(warn! "Omnisharp server isn't installed, completion won't work")))
(add-hook! csharp-mode #'(flycheck-mode omnisharp-mode))
(defun +csharp|cleanup-omnisharp-server ()

View file

@ -0,0 +1,6 @@
;;; lang/csharp/doctor.el -*- lexical-binding: t; -*-
(require 'omnisharp)
(let ((omnisharp-bin (or omnisharp-server-executable-path (omnisharp--server-installation-path t))))
(unless (file-exists-p omnisharp-bin)
(warn! "Omnisharp server isn't installed, completion won't work")))

View file

@ -3,9 +3,9 @@
(add-hook 'java-mode-hook #'rainbow-delimiters-mode)
(cond ((featurep! +meghanada) (load! +meghanada))
((featurep! +eclim) ; FIXME lang/java +eclim
;;(load! +eclim)
(warn! "Eclim support isn't implemented yet")))
;; TODO lang/java +eclim
;; ((featurep! +eclim) (load! +eclim))
)
;;