2018-05-08 17:56:21 +02:00
|
|
|
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
|
|
;;; lang/csharp/doctor.el
|
2018-04-28 03:49:42 -04:00
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (and (require 'omnisharp nil t) (not (modulep! +lsp)))
|
2020-05-14 16:36:58 -04:00
|
|
|
(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"))))
|
2021-10-19 19:26:26 +01:00
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(assert! (or (not (modulep! +tree-sitter))
|
|
|
|
(modulep! :tools tree-sitter))
|
2021-10-19 19:26:26 +01:00
|
|
|
"This module requires (:tools tree-sitter)")
|
2022-08-16 08:18:29 +01:00
|
|
|
|
|
|
|
(when (modulep! :editor format)
|
2022-11-17 17:31:04 +00:00
|
|
|
(unless (executable-find "dotnet-csharpier")
|
|
|
|
(warn! "csharpier is not installed, formatting will be disabled.")))
|