junegunn / junegunn/fzf.vim

No snippet in the middle of a line

Open
#934 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [x] I have read through the manual page of fzf (`man fzf`)
- [x] I have searched through the existing issues

HI,
I think this is more a demand for improvement than a real bug.
I noticed how often the Snippet command would yield nothing when in a middle of a line (although a lot of my snippets can be triggered anywhere).
I tried changing line 876 of ../autoload/fzf/vim.vim and adding parameter to change the list of snippets seems to give me a good result. The line I use to get the list of snippets is :
--- snip
let list = UltiSnips#SnippetsInCurrentScope(1)
--- snap
Is it possible to add a parameter for the selection of the snippets (something like param = 1 would give all possible snippets) ?

By the way I really appreciate FZF, using it more and more on CLI with zsh and in vim + neovim ; I'm a great advocate at work of it,
so a big 'Thank You' for making FZF,
Cheers,
Apol

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.