feat(neovim): add lspfuzzy

This commit is contained in:
Felix Schröter 2021-11-13 04:23:32 +01:00
parent 594e74dd43
commit 75570d67df
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
4 changed files with 41 additions and 14 deletions
home/editors/neovim

View file

@ -46,6 +46,7 @@ in {
# lsp
nvim-lspconfig
nvim-lightbulb
nvim-lspfuzzy
# dap
nvim-dap

View file

@ -18,6 +18,8 @@ local diagnosticls_on_attach = function(_, bufnr)
"au BufWritePre <buffer> lua vim.lsp.buf.formatting_seq_sync(nil, nil, { 'tsserver', 'diagnosticls' })")
end
require('lspfuzzy').setup {}
-- enable lsp snippets for nvim-compe
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true