mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2026-02-04 23:02:06 +00:00
feat!: remove code for SQLite (#172)
* feat!: remove code for SQLite ref [Introduce revised telescope-frecency.nvim : neovim](https://www.reddit.com/r/neovim/comments/174m8zu/introduce_revised_telescopefrecencynvim/) I have deprecated SQLite features 4 months ago. It is the time to remove code for them. * test: fix test to load telescope validly * test: remove sqlite.lua from CI settings * test: test database as native * fix: add lacked type from old database/sqlite.lua * docs: remove description for SQLite3 logic * chore: fix types * chore: add types for Database:raw_table
This commit is contained in:
committed by
GitHub
parent
a3e818d001
commit
ada91ca486
@@ -1,14 +1,8 @@
|
||||
local frecency = require "frecency"
|
||||
local sqlite = require "frecency.sqlite"
|
||||
|
||||
return require("telescope").register_extension {
|
||||
setup = frecency.setup,
|
||||
health = function()
|
||||
if sqlite.can_use then
|
||||
vim.health.ok "sqlite.lua installed."
|
||||
else
|
||||
vim.health.info "sqlite.lua is required when use_sqlite = true"
|
||||
end
|
||||
if vim.F.npcall(require, "nvim-web-devicons") then
|
||||
vim.health.ok "nvim-web-devicons installed."
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user