aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-11-29 21:29:37 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-11-29 21:29:37 +0300
commit251ed0e36bc51d833c44b72e3b8fc347d608a2a8 (patch)
tree936b905be635597cf161658e87fd5c63477bfedc /dotfiles/.config/nvim
parent9634ba936cdc4cacc3d83c0b2254152b75462146 (diff)
downloadvimrice-251ed0e36bc51d833c44b72e3b8fc347d608a2a8.tar.gz
vimrice-251ed0e36bc51d833c44b72e3b8fc347d608a2a8.zip
FZF for LSP
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r--dotfiles/.config/nvim/init.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index 793b48d..0d74a09 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -26,6 +26,7 @@ call plug#begin('~/.local/share/nvim/site/plugged')
Plug 'https://gitlab.com/HiPhish/info.vim'
if has('nvim-0.6')
Plug 'neovim/nvim-lspconfig'
+ Plug 'ojroques/nvim-lspfuzzy'
endif
call plug#end()
@@ -249,6 +250,9 @@ call plug#end()
nmap <silent> ]g <cmd>lua vim.diagnostic.goto_next()<CR>
nmap <silent> [g <cmd>lua vim.diagnostic.goto_prev()<CR>
+" LSP FZF
+ lua require('lspfuzzy').setup{}
+
" File format preferences
" MFing neovim overrding my omnifunc with whatever ccomplete is
autocmd FileType c,ch,header,cpp setlocal omnifunc=v:lua.vim.lsp.omnifunc