telescope-frecency.nvim/lua/frecency/tests
JINNOUCHI Yasushi bd52772bf2
fix!: change timing for initialization (#179)
* fix!: change timing for initialization

fix #109
fix #59

This fixes problems below.

* Auto-validation feature is called at Neovim starting.
   - → Now it starts at `:Telescope frecency` called at the first time.
* `frecency.setup()` is called every when `:Telescope frecency` is
  called.
   - → Now it is called only once.
* `telescope.setup()` calls `frecency.new()` and it reads the database.
  This causes time in executing `init.lua`.
   - → Now it reads the database lazily. It reads at the first time when
     needed.

* test: change logic to initialize config

* test: make Neovim version newer in CI
2024-03-14 20:28:06 +09:00
..
database_spec.lua feat!: remove code for SQLite (#172) 2024-01-30 18:26:07 +09:00
file_lock_spec.lua fix: get file lock forcibly (#153) 2023-12-03 12:55:37 +09:00
frecency_spec.lua fix!: change timing for initialization (#179) 2024-03-14 20:28:06 +09:00
minimal.lua feat!: remove code for SQLite (#172) 2024-01-30 18:26:07 +09:00
recency_spec.lua refactor!: use OO & add tests (#100) 2023-08-06 16:02:37 +09:00
util.lua feat: check DB file has been changed (#143) 2023-09-17 15:21:01 +09:00