From 0efe32b1e1344472263a456d27ac3d6e9e425d7d Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 2 Nov 2021 21:06:22 +0100 Subject: Polybar font, i3 misc, nvim omnisharp misc --- .config/nvim/lua/opts.lua | 13 ++++++------- .config/nvim/lua/setup.lua | 1 - 2 files changed, 6 insertions(+), 8 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua index aa56f76..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 = { "/usr/bin/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 -- cgit v1.2.3-70-g09d2