summaryrefslogtreecommitdiff
path: root/.config/nvim
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
parentfe4b85f8fe479a11e53d8faaf2944a0695fbc9fd (diff)
Polybar font, i3 misc, nvim omnisharp misc
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/opts.lua13
-rw-r--r--.config/nvim/lua/setup.lua1
2 files changed, 6 insertions, 8 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
diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua
index 482e211..9bb8e38 100644
--- a/.config/nvim/lua/setup.lua
+++ b/.config/nvim/lua/setup.lua
@@ -33,5 +33,4 @@ set.ttimeoutlen = 200
set.wrap = false
set.fcs = 'eob: '
set.swapfile = false
-set.cursorline = true
set.pumblend = 0