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 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to '.config/nvim/lua/opts.lua') 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 -- cgit v1.2.3-70-g09d2