diff options
author | christianchiarulli <[email protected]> | 2021-07-06 12:28:50 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-06 12:28:50 -0400 |
commit | f22e1bd8cb6a38fdcad83b96d7739af778cd9d1d (patch) | |
tree | dbd52ee15583f746f21e5eae157e546388ee206d /ftplugin/cs.lua | |
parent | 20485971641a9d916640ccad05586a641c984ed6 (diff) | |
parent | 68bfac0468ea4d5d7faf5bede0a4ab8cb5572f0c (diff) |
cleanup and stability improvements0.4.1
Diffstat (limited to 'ftplugin/cs.lua')
-rw-r--r-- | ftplugin/cs.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/cs.lua b/ftplugin/cs.lua new file mode 100644 index 00000000..7fdbbc66 --- /dev/null +++ b/ftplugin/cs.lua @@ -0,0 +1,6 @@ +-- C# language server (csharp/OmniSharp) setup +require("lspconfig").omnisharp.setup{ + on_attach = require("lsp").common_on_attach, + root_dir = require("lspconfig").util.root_pattern(".sln",".git"), + cmd = { DATA_PATH .. "/lspinstall/csharp/omnisharp/run", "--languageserver", "--hostPID", tostring(vim.fn.getpid()) }, +} |