diff --git a/lua/lspconfig/server_configurations/csharp_ls.lua b/lua/lspconfig/server_configurations/csharp_ls.lua index ddd5199d95..131862fbc7 100644 --- a/lua/lspconfig/server_configurations/csharp_ls.lua +++ b/lua/lspconfig/server_configurations/csharp_ls.lua @@ -3,9 +3,8 @@ local util = require 'lspconfig.util' return { default_config = { cmd = { 'csharp-ls' }, - root_dir = function (fname) - return util.root_pattern '*.sln' (fname) - or util.root_pattern '*.csproj' (fname) + root_dir = function(fname) + return util.root_pattern '*.sln'(fname) or util.root_pattern '*.csproj'(fname) end, filetypes = { 'cs' }, init_options = {