summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-06-02 17:11:47 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-06-02 17:11:47 +0200
commitfb8d5eed2cf90c97be763d01f224d14e8854a1b7 (patch)
tree9e54b960f818a47962c8434c56628a7325480527 /.config/nvim/lua/setup
parent7482f70769f6dd0084757bde3a3b4d5eef58b28b (diff)
nvim: omnisharp lsp setup for unity game dev
Diffstat (limited to '.config/nvim/lua/setup')
-rw-r--r--.config/nvim/lua/setup/lspconfig.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua
index 9d56e84..f025d4a 100644
--- a/.config/nvim/lua/setup/lspconfig.lua
+++ b/.config/nvim/lua/setup/lspconfig.lua
@@ -24,6 +24,14 @@ lspconfig.rust_analyzer.setup {
on_attach = on_attach,
}
+-- local pid = vim.fn.getpid()
+-- local omnisharp_bin = "mono /home/adam/.local/share/nvim/lsp_servers/omnisharp/omnisharp-mono/OmniSharp.exe"
+lspconfig.omnisharp.setup {
+ use_mono = true,
+ on_attach = on_attach,
+ -- cmd = { omnisharp_bin, "--languageserver", "--hostPID", tostring(pid) },
+}
+
-- vim.cmd("let g:tex_flavor = 'tex'")
-- lspconfig.texlab.setup {
-- on_attach = on_attach,