Files
doomemacs/modules/lang/csharp/doctor.el
Henrik Lissner 12f08c9fb8 fix(csharp): s/dotnet-csharpier/csharpier
For both the formatter command and the doctor check.

Fix: #8386
2025-05-11 00:51:27 -04:00

16 lines
641 B
EmacsLisp

;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/csharp/doctor.el
(when (and (require 'omnisharp nil t) (modulep! -lsp))
(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"))))
(assert! (or (not (modulep! +tree-sitter))
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(when (modulep! :editor format)
(unless (executable-find "csharpier")
(warn! "csharpier is not installed, formatting will be disabled.")))