telescope-frecency.nvim/lua/frecency
JINNOUCHI Yasushi 58c0089414
fix!: register realpath for consistency (#240)
Now it uses realpath for registering and validating DB. This means, if you have entries that has filenames differing only for case, it can deal with them as they exist.

Before this, it has miscalculated scores for such cases. For example, in case you have `/path/to/foo.lua` and `/path/to/Foo.lua`, it registers entries for each file. Now it detects accurate filename for the specified one, and removes it in validation.

* test: separate logic for utils

* fix!: register realpath for consistency

* refactor: convert fs module from class

* refactor: move db initialization phase to start()

* fix: run database:start() truly asynchronously

* fix: call each functions with async wrapping

* refactor: add types for args in command

* fix: run register() synchronously

Because vim.api.nvim_* cannot be used in asynchronous functions.

* docs: add note for calling setup() twice

* fix: run non-fast logic on next tick
2024-08-15 17:40:03 +09:00
..
database fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
tests fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
config.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
database.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
entry_maker.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
file_lock.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
finder.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
fs.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
fuzzy_sorter.lua feat: add fuzzy matching sorter experimentally (#166) 2024-04-28 17:58:45 +09:00
init.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
klass.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
log.lua fix!: show debug msg only when debug is true (#220) 2024-07-06 19:13:39 +09:00
os_util.lua fix: fix joining paths in Windows (#168) 2024-01-28 15:52:47 +09:00
picker.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
recency.lua feat(recency_values): customize recency_values (#190) 2024-04-06 20:49:45 +09:00
state.lua Simplify code with using frecency.config (#189) 2024-03-25 18:45:45 +09:00
substr_sorter.lua fix: use the original sorter again (#209) 2024-06-01 13:05:47 +09:00
types.lua fix!: register realpath for consistency (#240) 2024-08-15 17:40:03 +09:00
watcher.lua fix!: show debug msg only when debug is true (#220) 2024-07-06 19:13:39 +09:00
web_devicons.lua Simplify code with using frecency.config (#189) 2024-03-25 18:45:45 +09:00