nvim: edited to recommended setup

master
tiyn 2 years ago
parent 70d4590303
commit 6563c11338

@ -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'

Loading…
Cancel
Save