Enable eglot by default in c# files

This commit is contained in:
Jakub 2025-11-17 13:33:34 +08:00
parent aadcf822f0
commit c09d3cfdec

View file

@ -28,7 +28,8 @@
(when (executable-find "csharp-ls")
(add-to-list 'eglot-server-programs
'((csharp-mode csharp-ts-mode)
"csharp-ls")))
"csharp-ls"))
(add-hook 'csharp-ts-mode-hook #'eglot-ensure))
(provide 'csharp-custom)