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:
parent
c23974e1d5
commit
d67496e007
4 changed files with 15 additions and 7 deletions
6
modules/app/write/doctor.el
Normal file
6
modules/app/write/doctor.el
Normal 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")))
|
|
@ -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 ()
|
||||
|
|
6
modules/lang/csharp/doctor.el
Normal file
6
modules/lang/csharp/doctor.el
Normal 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")))
|
|
@ -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))
|
||||
)
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue