telescope-frecency.nvim/lua/frecency
JINNOUCHI Yasushi 87ccbae5d2
feat: call init process before telescope loading (#234)
* feat: call init process before telescope loading

Fix #231

This changes enable to load frecency without telescope's loading itself.
This is needed when you want to load telescope lazily, but want to start
registering process as soon as Neovim has started.

```lua
{
  "nvim-telescope/telescope-frecency.nvim",
  main = "frecency",
  ---@type FrecencyOpts
  opts = {
    db_safe_mode = false,
  },
},

{
  "nvim-telescope/telescope.nvim",
  -- `cmd` opts makes lazy.nvim load telescope.nvim lazily.
  cmd = { "Telescope" },
  config = function()
    local telescope = require "telescope"
    telescope.setup {
      extensions = {
        other_extension = {
          foo_bar = true,
        },
        -- Here you need no configuration opts for frecency because
        -- you've already done.
      }
    }
    -- This is still needed.
    telescope.load_extension "frecency"
  end,
},
```

* docs: add note for loading telescope.nvim lazily
2024-08-01 17:12:43 +09:00
..
database fix!: show debug msg only when debug is true (#220) 2024-07-06 19:13:39 +09:00
tests feat: call init process before telescope loading (#234) 2024-08-01 17:12:43 +09:00
config.lua feat: add an option for a function to ignore files (#223) 2024-07-14 23:11:14 +09:00
database.lua fix!: show debug msg only when debug is true (#220) 2024-07-06 19:13:39 +09:00
entry_maker.lua fix(icons): improve fallback for multi-part file extensions (#233) 2024-07-26 11:38:49 +09:00
file_lock.lua fix!: show debug msg only when debug is true (#220) 2024-07-06 19:13:39 +09:00
finder.lua fix: exclude .git for default fd command (#221) 2024-07-08 13:48:43 +09:00
fs.lua feat: add an option for a function to ignore files (#223) 2024-07-14 23:11:14 +09:00
fuzzy_sorter.lua feat: add fuzzy matching sorter experimentally (#166) 2024-04-28 17:58:45 +09:00
init.lua feat: call init process before telescope loading (#234) 2024-08-01 17:12:43 +09:00
klass.lua feat: call init process before telescope loading (#234) 2024-08-01 17:12:43 +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!: show debug msg only when debug is true (#220) 2024-07-06 19:13:39 +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 feat: support for multi-part file extensions (#215) 2024-06-21 18:02:20 +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