From 251ed0e36bc51d833c44b72e3b8fc347d608a2a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 29 Nov 2022 21:29:37 +0300 Subject: FZF for LSP --- dotfiles/.config/nvim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dotfiles/.config/nvim') 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 ]g lua vim.diagnostic.goto_next() nmap [g lua vim.diagnostic.goto_prev() +" 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 -- cgit v1.2.3