Fuzzy create a fuzzy bug with drawing
Closed this issue · 3 comments
nda-cunh commented
I tried to create a fuzzy for CTAGS, for my vim and I don't know why but the drawing is strange.
I always have trouble managing previews
if anyone has an idea
with search help i have see this useless line: https://github.com/Donaldttt/fuzzyy/blob/f424831b629ac08f14834cee39bb280112480911/autoload/fuzzyy/files.vim#L104
def Preview(wid: number, opts: dict<any>)
var result = opts.cursor_item
var preview_wid = opts.win_opts.partids['preview']
win_execute(preview_wid, 'syntax clear')
win_execute(preview_wid, 'set tags=$HOME/.cache/tags')
win_execute(preview_wid, 'tag ' .. result)
enddefand i have this error if i run the fuzzytags more 1 time:
E937: Attempt to delete a buffer that is in use: [No Name]
nda-cunh commented
I hadn't seen that fuzzytags already existed...
but then I don't like the input at all, it writes the whole tags file, it's not very pretty ><
nda-cunh commented
nda-cunh commented
If you want the source code of this:
https://gitlab.com/nda-cunh/SupraVim/-/blob/master/usr/share/supravim/vim/plugin/fuzzytags.vim

