mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
fix: column width for cwd tag (#66)
This commit is contained in:
parent
7b79627fd4
commit
c891e5e86c
@ -86,7 +86,7 @@ local frecency = function(opts)
|
|||||||
local function get_display_cols()
|
local function get_display_cols()
|
||||||
local directory_col_width = 0
|
local directory_col_width = 0
|
||||||
if state.active_filter then
|
if state.active_filter then
|
||||||
if state.active_filter_tag == "LSP" then
|
if state.active_filter_tag == "LSP" or state.active_filter_tag == "CWD" then
|
||||||
-- TODO: Only add +1 if opts.show_filter_thing is true, +1 is for the trailing slash
|
-- TODO: Only add +1 if opts.show_filter_thing is true, +1 is for the trailing slash
|
||||||
directory_col_width = #(utils.path_tail(state.active_filter)) + 1
|
directory_col_width = #(utils.path_tail(state.active_filter)) + 1
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user