mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
docs: update read me with db_root information.
This commit is contained in:
parent
65a7d89eb8
commit
f7ee2172da
@ -123,6 +123,7 @@ Determines if non-indexed files are included in workspace filter results.
|
|||||||
telescope.setup {
|
telescope.setup {
|
||||||
extensions = {
|
extensions = {
|
||||||
frecency = {
|
frecency = {
|
||||||
|
db_root = "home/my_username/path/to/db_root"
|
||||||
show_scores = false,
|
show_scores = false,
|
||||||
show_unindexed = true,
|
show_unindexed = true,
|
||||||
ignore_patterns = {"*.git/*", "*/tmp/*"},
|
ignore_patterns = {"*.git/*", "*/tmp/*"},
|
||||||
@ -137,6 +138,11 @@ telescope.setup {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### SQL database location
|
||||||
|
|
||||||
|
The default location for the sqlite3 database is `$XDG_DATA_HOME/nvim` (eg `~/.local/share/nvim/` on linux).
|
||||||
|
This can be configured with the `db_root` config option.
|
||||||
|
|
||||||
### SQL database maintainance
|
### SQL database maintainance
|
||||||
|
|
||||||
By default, frecency will prune files that no longer exist from the database.
|
By default, frecency will prune files that no longer exist from the database.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user