camspiers / snap

A fast finder system for neovim.
The Unlicense
483 stars 16 forks source link

Sometimes results' filename is distorted #80

Closed riazufila closed 3 years ago

riazufila commented 3 years ago

Sometimes when i use rg and fzf the mappings below, I get incomplete filenames on my results. For example, plugins.lua becomes plugins.lu and etc. This occurs only on some files and they're inconsistent.:

snap.register.map( {"n"}, {"<Leader>ff"}, function() snap.run { producer = snap.get "consumer.fzf"(snap.get "producer.ripgrep.file"), select = snap.get "select.file".select, views = {snap.get "preview.file"} } end )

Image for assistance.

riazufila commented 3 years ago

Nevermind. My bad, a related issue has already been opened, #49. Closing.