Skip to content

Commit

Permalink
Update cmp-nvim-lsp based on hrsh7th/cmp-nvim-lsp#38
Browse files Browse the repository at this point in the history
  • Loading branch information
lyang committed Oct 17, 2022
1 parent 996ecf5 commit c945d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/neovim/files/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ local on_attach = function(client, bufnr)
buf_set_keymap('n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>', opts)
buf_set_keymap('n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>', opts)
end
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
local capabilities = require('cmp_nvim_lsp').default_capabilities()

nvim_lsp.bashls.setup {
capabilities = capabilities,
Expand Down

0 comments on commit c945d91

Please sign in to comment.