aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/csharp_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/csharp_ls.lua')
-rw-r--r--lsp/csharp_ls.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lsp/csharp_ls.lua b/lsp/csharp_ls.lua
index dd8c427a..e284090b 100644
--- a/lsp/csharp_ls.lua
+++ b/lsp/csharp_ls.lua
@@ -29,4 +29,10 @@ return {
init_options = {
AutomaticWorkspaceInit = true,
},
+ get_language_id = function(_, ft)
+ if ft == 'cs' then
+ return 'csharp'
+ end
+ return ft
+ end,
}