vim-fuzzbox/fuzzbox.vim

Fuzzy create a fuzzy bug with drawing

Closed this issue · 3 comments

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)
enddef

Image

and i have this error if i run the fuzzytags more 1 time:
E937: Attempt to delete a buffer that is in use: [No Name]

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 ><

I have fix all !
It's better like that :)
perhaps my way of doing things could be adapted to the real fuzzy tags of this repository?
I personally don't like to see all the text in the tags file!
Image