Skip to content

FFFClearCache user command: function clear_cache does not exist #169

@FourteenBrush

Description

@FourteenBrush

There currently is an :FFFClearCache user command, which invokes require "fff".clear_cache(), which does not exist.
This would probably need to be added to the module in main.lua?

fff.nvim/plugin/fff.lua

Lines 60 to 64 in 2df0628

vim.api.nvim_create_user_command('FFFClearCache', function(opts) require('fff').clear_cache(opts.args) end, {
nargs = '?',
complete = function() return { 'all', 'frecency', 'files' } end,
desc = 'Clear FFF caches (all|frecency|files)',
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions