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 " hrsh7th/nvim-cmp
lua << EOF lua << EOF
-- Add additional capabilities supported by nvim-cmp -- Add additional capabilities supported by nvim-cmp
local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities = require("cmp_nvim_lsp").default_capabilities()
capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities)
-- Set completeopt to have a better completion experience -- Set completeopt to have a better completion experience
vim.o.completeopt = 'menuone,noselect' vim.o.completeopt = 'menuone,noselect'

Loading…
Cancel
Save