feat(fsharp): use dotnet for inferior-fsharp-program

Applies from .NET Core 2 onwards.
This commit is contained in:
Ellis Kenyő 2021-12-12 22:09:16 +00:00 committed by GitHub
parent cc73c2f75e
commit bca75fc5c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,8 @@
;;; lang/fsharp/config.el -*- lexical-binding: t; -*- ;;; lang/fsharp/config.el -*- lexical-binding: t; -*-
(after! fsharp-mode (after! fsharp-mode
(when (executable-find "dotnet")
(setq inferior-fsharp-program "dotnet fsi --readline-"))
(if (featurep! +lsp) (if (featurep! +lsp)
(progn (progn
(setq fsharp-ac-intellisense-enabled nil) (setq fsharp-ac-intellisense-enabled nil)