diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-11-29 21:29:37 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-11-29 21:29:37 +0300 |
commit | 251ed0e36bc51d833c44b72e3b8fc347d608a2a8 (patch) | |
tree | 936b905be635597cf161658e87fd5c63477bfedc | |
parent | 9634ba936cdc4cacc3d83c0b2254152b75462146 (diff) | |
download | vimrice-251ed0e36bc51d833c44b72e3b8fc347d608a2a8.tar.gz vimrice-251ed0e36bc51d833c44b72e3b8fc347d608a2a8.zip |
FZF for LSP
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 4 |
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 |