mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
fix sql:open() (#5)
This commit is contained in:
parent
7afdd3c32c
commit
668a833a0e
@ -43,7 +43,7 @@ function M:bootstrap(opts)
|
|||||||
-- create the db if it doesn't exist
|
-- create the db if it doesn't exist
|
||||||
local db_root = opts.docs_root or vim.fn.stdpath('data')
|
local db_root = opts.docs_root or vim.fn.stdpath('data')
|
||||||
local db_filename = db_root .. "/file_frecency.sqlite3"
|
local db_filename = db_root .. "/file_frecency.sqlite3"
|
||||||
self.db = sql.open(db_filename)
|
self.db = sql:open(db_filename)
|
||||||
if not self.db then
|
if not self.db then
|
||||||
print("error")
|
print("error")
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user