Changes the lsp capabilities

This commit is contained in:
Marcin Woźniak 2022-11-18 12:30:35 +01:00
parent f8152a6489
commit 38061b7004

View File

@ -161,7 +161,7 @@ lua<<EOF
local opts = { noremap=true, silent=true } local opts = { noremap=true, silent=true }
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()
local lspconfig = require('lspconfig') local lspconfig = require('lspconfig')
local on_attach = function(client, bufnr) local on_attach = function(client, bufnr)