mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
fix:can't display file name if config show_filter_column is false (#102)
Co-authored-by: zhaogang <zhaogang@dustess.com>
This commit is contained in:
parent
62d3381a32
commit
1b1cf6aead
@ -176,7 +176,9 @@ m.maker = function(entry)
|
||||
if has_devicons and not m.config.disable_devicons then
|
||||
table.insert(i, { devicons.get_icon(e.name, string.match(e.name, "%a+$"), { default = true }) })
|
||||
end
|
||||
table.insert(i, { filter_path, "Directory" })
|
||||
if m.config.show_filter_column then
|
||||
table.insert(i, { filter_path, "Directory" })
|
||||
end
|
||||
table.insert(i, {
|
||||
formatter(e.name),
|
||||
util.buf_is_loaded(e.name) and "TelescopeBufferLoaded" or "",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user