Skip to content

Commit

Permalink
Fixed a wrong syntax for the breaking change in hrsh7th/cmp-nvim-lsp#38
Browse files Browse the repository at this point in the history
  • Loading branch information
JannoTjarks committed Oct 20, 2022
1 parent fb1c526 commit 47f45d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .config/nvim/after/plugin/lspconfig.rc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ local on_attach = function(client, bufnr)
end
end

local capabilities = require('cmp_nvim_lsp').default_capabilities
local capabilities = require("cmp_nvim_lsp").default_capabilities()

local signs = { Error = "", Warn = "", Hint = "", Info = "" }
for type, icon in pairs(signs) do
Expand Down Expand Up @@ -82,7 +82,7 @@ require('lspconfig').bashls.setup{
require('lspconfig').powershell_es.setup{
bundle_path = '~/powershell-editor-services',
on_attach = on_attach,
default_capabilities
capabilities = capabilities
}

require'lspconfig'.omnisharp.setup {
Expand Down

0 comments on commit 47f45d9

Please sign in to comment.