mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
nvim/lua/user/plugins/lsp.lua: fix capabilities variable
This commit is contained in:
parent
908e7ab026
commit
ec5ace4dd7
1 changed files with 1 additions and 2 deletions
|
|
@ -66,8 +66,7 @@ return {
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
local utils = require("user.utils.lsp")
|
local utils = require("user.utils.lsp")
|
||||||
local augroup = vim.api.nvim_create_augroup("Lsp", {})
|
local augroup = vim.api.nvim_create_augroup("Lsp", {})
|
||||||
local capabilities = vim.tbl_deep_extend('force',
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||||
vim.lsp.protocol.make_client_capabilities() or {})
|
|
||||||
|
|
||||||
--- @param server string
|
--- @param server string
|
||||||
local function setup(server)
|
local function setup(server)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue