mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
docs(fsharp): add presence check for dotnet fsi
Close: #8315 Co-authored-by: ncihnegn <ncihnegn@users.noreply.github.com>
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
;;; lang/fsharp/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(when (require 'fsharp-mode nil t)
|
||||
(unless (cl-some #'fsharp-mode--executable-find '("fsharpc" "fsc"))
|
||||
(unless (or (cl-some #'fsharp-mode--executable-find '("fsharpc" "fsc"))
|
||||
(and (executable-find "dotnet")
|
||||
(zerop (car (doom-call-process "dotnet" "fsi" "--version")))))
|
||||
(warn! "Cannot find the F# compiler. Most features will not work.")))
|
||||
|
Reference in New Issue
Block a user