mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
remove wip commits
This commit is contained in:
parent
9bbbec1435
commit
bbb81a6a58
@ -13,7 +13,6 @@ local path = require('telescope.path')
|
|||||||
local pickers = require "telescope.pickers"
|
local pickers = require "telescope.pickers"
|
||||||
local sorters = require "telescope.sorters"
|
local sorters = require "telescope.sorters"
|
||||||
local utils = require('telescope.utils')
|
local utils = require('telescope.utils')
|
||||||
local frecency_utils = require "telescope._extensions.frecency.util"
|
|
||||||
|
|
||||||
|
|
||||||
-- local os_path_sep = vim.loop.os_uname().sysname == "Windows" and "\\" or "/"
|
-- local os_path_sep = vim.loop.os_uname().sysname == "Windows" and "\\" or "/"
|
||||||
@ -59,9 +58,6 @@ local frecency = function(opts)
|
|||||||
|
|
||||||
display_items = show_scores and {{entry.score, "Directory"}} or {}
|
display_items = show_scores and {{entry.score, "Directory"}} or {}
|
||||||
table.insert(display_items, {filename, hl_filename})
|
table.insert(display_items, {filename, hl_filename})
|
||||||
if frecency_utils.string_ends(filename, '.lua') then
|
|
||||||
table.insert(display_items, create_tag_display("lua"))
|
|
||||||
end
|
|
||||||
|
|
||||||
return displayer(display_items)
|
return displayer(display_items)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user