add C# mode to emacs

This commit is contained in:
Sakooooo 2024-07-30 17:51:53 +04:00
parent 6405e99586
commit 4ecb541679
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -927,6 +927,12 @@ this should be useful later
(add-hook 'c-mode-hook 'eglot-ensure)
(add-hook 'c++-mode-hook 'eglot-ensure)
#+end_src
** C#
#+begin_src emacs-lisp
(use-package csharp-mode
:mode "\\.cs\\'"
:hook (csharp-mode . eglot-ensure))
#+end_src
** CMake
#+begin_src emacs-lisp
(use-package cmake-mode