From 6563c1133860397b72f9bb184f0ace1e080152a9 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 12 Jan 2023 03:05:28 +0100 Subject: [PATCH] nvim: edited to recommended setup --- .config/nvim/init.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index dd44492..20c54d0 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -118,8 +118,7 @@ let g:bookmark_highlight_lines = 1 " hrsh7th/nvim-cmp lua << EOF -- Add additional capabilities supported by nvim-cmp -local capabilities = vim.lsp.protocol.make_client_capabilities() -capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities) +capabilities = require("cmp_nvim_lsp").default_capabilities() -- Set completeopt to have a better completion experience vim.o.completeopt = 'menuone,noselect'