mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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")))
|
Reference in New Issue
Block a user