update nvim-cmp function names

writing
Nick Zana 2 years ago
parent 9c59adefd2
commit 040791ec40
No known key found for this signature in database
GPG Key ID: 936524EE913D6538

@ -1,7 +1,7 @@
local on_attach = require'keybindings'.on_attach local on_attach = require'keybindings'.on_attach
-- Add additional capabilities supported by nvim-cmp -- Add additional capabilities supported by nvim-cmp
local capabilities = vim.lsp.protocol.make_client_capabilities() local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities) capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
local lspconfig = require('lspconfig') local lspconfig = require('lspconfig')

Loading…
Cancel
Save