From 12f08c9fb8f65c9b009393416fc74c2d8c8465e6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 11 May 2025 00:12:48 -0400 Subject: [PATCH] fix(csharp): s/dotnet-csharpier/csharpier For both the formatter command and the doctor check. Fix: #8386 --- modules/lang/csharp/config.el | 3 ++- modules/lang/csharp/doctor.el | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/lang/csharp/config.el b/modules/lang/csharp/config.el index e0fe64a49..38bac4879 100644 --- a/modules/lang/csharp/config.el +++ b/modules/lang/csharp/config.el @@ -3,7 +3,8 @@ (use-package! csharp-mode :hook (csharp-mode . rainbow-delimiters-mode) :config - (set-formatter! 'csharpier '("dotnet-csharpier") :modes '(csharp-mode)) + (set-formatter! 'csharpier '("csharpier" "format" "--write-stdout") + :modes '(csharp-mode)) (set-electric! 'csharp-mode :chars '(?\n ?\})) (set-rotate-patterns! 'csharp-mode :symbols '(("public" "protected" "private") diff --git a/modules/lang/csharp/doctor.el b/modules/lang/csharp/doctor.el index acb6c0a93..9a805a82b 100644 --- a/modules/lang/csharp/doctor.el +++ b/modules/lang/csharp/doctor.el @@ -11,5 +11,5 @@ "This module requires (:tools tree-sitter)") (when (modulep! :editor format) - (unless (executable-find "dotnet-csharpier") + (unless (executable-find "csharpier") (warn! "csharpier is not installed, formatting will be disabled.")))