home: vim: lspconfig: update deprecated call
This commit is contained in:
parent
236d48befb
commit
16d4147321
|
@ -4,8 +4,7 @@ local lsp = require("ambroisie.lsp")
|
||||||
local utils = require("ambroisie.utils")
|
local utils = require("ambroisie.utils")
|
||||||
|
|
||||||
-- Inform servers we are able to do completion, snippets, etc...
|
-- Inform servers we are able to do completion, snippets, etc...
|
||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||||
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
|
||||||
|
|
||||||
-- C/C++
|
-- C/C++
|
||||||
if utils.is_executable("clangd") then
|
if utils.is_executable("clangd") then
|
||||||
|
|
Loading…
Reference in a new issue