fix(csharp): s/dotnet-csharpier/csharpier

For both the formatter command and the doctor check.

Fix: #8386
This commit is contained in:
Henrik Lissner
2025-05-11 00:12:48 -04:00
parent 190a389cf8
commit 12f08c9fb8
2 changed files with 3 additions and 2 deletions

View File

@ -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")

View File

@ -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.")))