Enable eglot by default in c# files
This commit is contained in:
parent
aadcf822f0
commit
c09d3cfdec
1 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,8 @@
|
||||||
(when (executable-find "csharp-ls")
|
(when (executable-find "csharp-ls")
|
||||||
(add-to-list 'eglot-server-programs
|
(add-to-list 'eglot-server-programs
|
||||||
'((csharp-mode csharp-ts-mode)
|
'((csharp-mode csharp-ts-mode)
|
||||||
"csharp-ls")))
|
"csharp-ls"))
|
||||||
|
(add-hook 'csharp-ts-mode-hook #'eglot-ensure))
|
||||||
|
|
||||||
(provide 'csharp-custom)
|
(provide 'csharp-custom)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue