aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/omnisharp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/omnisharp.lua')
-rw-r--r--lua/lspconfig/omnisharp.lua23
1 files changed, 11 insertions, 12 deletions
diff --git a/lua/lspconfig/omnisharp.lua b/lua/lspconfig/omnisharp.lua
index e163770c..05cab4bc 100644
--- a/lua/lspconfig/omnisharp.lua
+++ b/lua/lspconfig/omnisharp.lua
@@ -1,14 +1,13 @@
-local configs = require 'lspconfig/configs'
-local util = require 'lspconfig/util'
-local server_name = 'omnisharp'
+local configs = require "lspconfig/configs"
+local util = require "lspconfig/util"
+local server_name = "omnisharp"
configs[server_name] = {
default_config = {
- filetypes = {"cs", "vb"};
- root_dir = util.root_pattern("*.csproj", "*.sln");
- init_options = {
- };
- };
+ filetypes = { "cs", "vb" },
+ root_dir = util.root_pattern("*.csproj", "*.sln"),
+ init_options = {},
+ },
-- on_new_config = function(new_config) end;
-- on_attach = function(client, bufnr) end;
docs = {
@@ -39,11 +38,11 @@ Note, if you download the executable for darwin you will need to strip the quara
```bash
find /path/to/omnisharp-osx | xargs xattr -r -d com.apple.quarantine
```
-]];
+]],
default_config = {
- root_dir = [[root_pattern(".csproj", ".sln")]];
- };
- };
+ root_dir = [[root_pattern(".csproj", ".sln")]],
+ },
+ },
}
-- vim:et ts=2 sw=2