diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-11-01 20:18:08 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-11-01 20:18:08 +0100 |
commit | fe4b85f8fe479a11e53d8faaf2944a0695fbc9fd (patch) | |
tree | 0cb314c734c15f5ba3a3ece83a83410fd37a2048 | |
parent | a4b7e74e52b0552ccf6588118b8fdd922e661421 (diff) |
Nvim + omnisharp working with Unity
-rw-r--r-- | .config/nvim/lua/opts.lua | 2 | ||||
-rwxr-xr-x | Applications/Unity/nvim-unity | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua index aa56f76..e6957f4 100644 --- a/.config/nvim/lua/opts.lua +++ b/.config/nvim/lua/opts.lua @@ -73,7 +73,7 @@ require 'lspconfig'.omnisharp.setup { on_attach = function(_, bufnr) vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') end, - cmd = { "/usr/bin/omnisharp", "--languageserver" , "--hostPID", tostring(pid) }, + cmd = { "/home/adam/.cache/yay/omnisharp-roslyn/omnisharp", "--languageserver" , "--hostPID", tostring(pid) }, } -- LUA diff --git a/Applications/Unity/nvim-unity b/Applications/Unity/nvim-unity new file mode 100755 index 0000000..caa75a5 --- /dev/null +++ b/Applications/Unity/nvim-unity @@ -0,0 +1,3 @@ +#!/bin/bash + +alacritty -e nvr --servername unity $@ |