mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(csharp): s/dotnet-csharpier/csharpier
For both the formatter command and the doctor check. Fix: #8386
This commit is contained in:
@ -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")
|
||||
|
@ -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.")))
|
||||
|
Reference in New Issue
Block a user