From 6baae32dc0a7ed49f5401160e368d90dc853c72a Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:35:04 +0400 Subject: [PATCH] csharp-mode is built into emacs 29 --- config/emacs/emacs.org | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index c009dce0..246ffe97 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -929,9 +929,7 @@ this should be useful later #+end_src ** C# #+begin_src emacs-lisp - (use-package csharp-mode - :mode "\\.cs\\'" - :hook (csharp-mode . eglot-ensure)) + (add-hook 'csharp-mode-hook 'eglot-ensure) (use-package omnisharp :mode "\\.cs\\'"