summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/opts.lua
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-11-02 21:06:22 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-11-02 21:06:22 +0100
commita93d2f9a12919d780be88f57b63bba91c0c0bf98 (patch)
tree9baf305371c703f16bc0ebe617e9ff6e39fffbd7 /.config/nvim/lua/opts.lua
parentfe4b85f8fe479a11e53d8faaf2944a0695fbc9fd (diff)
Polybar font, i3 misc, nvim omnisharp misc
Diffstat (limited to '.config/nvim/lua/opts.lua')
-rw-r--r--.config/nvim/lua/opts.lua13
1 files changed, 6 insertions, 7 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index e6957f4..cb29acf 100644
--- a/.config/nvim/lua/opts.lua
+++ b/.config/nvim/lua/opts.lua
@@ -67,13 +67,12 @@ end
-- C#
local pid = vim.fn.getpid()
-
-require 'lspconfig'.omnisharp.setup {
- capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()),
- on_attach = function(_, bufnr)
- vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
- end,
- cmd = { "/home/adam/.cache/yay/omnisharp-roslyn/omnisharp", "--languageserver" , "--hostPID", tostring(pid) },
+require'lspconfig'.omnisharp.setup {
+ capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()),
+ 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) },
}
-- LUA