@@ -413,33 +413,47 @@ for dir_path in [ '/usr/local/opt/fzf', '/opt/homebrew/opt/fzf', '/home/linuxbre
413413 break
414414 endif
415415endfor
416- let cvim_plugins.fzf = {
417- \ ' name' : ' junegunn/fzf' ,
418- \ ' dir' : dir_path
419- \ }
420- " Fuzzy Finder: fzf: vim+binary integration
421- " - buffers (: Buffers)
422- " - files (: Files)
423- " - commands
424- " - bookmarks
425- " - tags
426- " - lines
427- " - projects
428- " - help
429- " - pages
430- " - commands
431- " - history
432- " - git commits
433- " - etc
434- " NOTES:
435- " - fzf replaces Ctrl-P, FuzzyFinder and Command-T)
436- " - fzf is really fast compared to Crtl-P' vimL fuzy finder implementation
437- let cvim_plugins.fzfvim = {
438- \ ' name' : ' junegunn/fzf.vim' ,
439- \ ' lazy' : 1 ,
440- \ ' cmd' : [' Files' , ' GFiles' , ' Buffers' , ' Colors' , ' Ag' , ' Rg' , ' RG' , ' Lines' , ' Blines' , ' Tags' , ' BTags' , ' Changes' , ' Marks' , ' Jumps' , ' Windows' , ' Locate' , ' History' , ' Snippets' , ' Commits' , ' BCommits' , ' Commands' , ' Maps' , ' Helptags' , ' Filetypes' ],
441- \ ' setting' : " $HOME/.config/cvim/settings/fzf.vim"
442- \ }
416+ if g: vimDistribution == # g: VIM_FLAVOR_VIM
417+ let cvim_plugins.fzf = {
418+ \ ' name' : ' junegunn/fzf' ,
419+ \ ' dir' : dir_path
420+ \ }
421+ " Fuzzy Finder: fzf: vim+binary integration
422+ " - buffers (: Buffers)
423+ " - files (: Files)
424+ " - commands
425+ " - bookmarks
426+ " - tags
427+ " - lines
428+ " - projects
429+ " - help
430+ " - pages
431+ " - commands
432+ " - history
433+ " - git commits
434+ " - etc
435+ " NOTES:
436+ " - fzf replaces Ctrl-P, FuzzyFinder and Command-T)
437+ " - fzf is really fast compared to Crtl-P' vimL fuzy finder implementation
438+ let cvim_plugins.fzfvim = {
439+ \ ' name' : ' junegunn/fzf.vim' ,
440+ \ ' lazy' : 1 ,
441+ \ ' cmd' : [' Files' , ' GFiles' , ' Buffers' , ' Colors' , ' Ag' , ' Rg' , ' RG' , ' Lines' , ' Blines' , ' Tags' , ' BTags' , ' Changes' , ' Marks' , ' Jumps' , ' Windows' , ' Locate' , ' History' , ' Snippets' , ' Commits' , ' BCommits' , ' Commands' , ' Maps' , ' Helptags' , ' Filetypes' ],
442+ \ ' setting' : " $HOME/.config/cvim/settings/fzf.vim"
443+ \ }
444+ elseif g: vimDistribution == # g: VIM_FLAVOR_NEOVIM
445+ let cvim_plugins.fzf = {
446+ \ ' name' : ' junegunn/fzf' ,
447+ \ ' dir' : dir_path
448+ \ }
449+ " Same as junegunn/fzf.vim but in Lua
450+ let cvim_plugins.nvim_fzf_lua = {
451+ \ ' name' : ' ibhagwan/fzf-lua' ,
452+ \ ' lazy' : 1 ,
453+ \ ' cmd' : [' Files' , ' GFiles' , ' Buffers' , ' Colors' , ' Ag' , ' Rg' , ' RG' , ' Lines' , ' Blines' , ' Tags' , ' BTags' , ' Changes' , ' Marks' , ' Jumps' , ' Windows' , ' Locate' , ' History' , ' Snippets' , ' Commits' , ' BCommits' , ' Commands' , ' Maps' , ' Helptags' , ' Filetypes' ],
454+ \ ' setting' : " $HOME/.config/cvim/settings/nvim_fzf_lua.lua"
455+ \ }
456+ endif
443457" Show a VCS diff using Vim's sign column.
444458let cvim_plugins.vim_signify = {
445459 \ ' name' : ' mhinz/vim-signify' ,
0 commit comments