diff --git a/lua/fff/main.lua b/lua/fff/main.lua index 92d9a746..79073318 100644 --- a/lua/fff/main.lua +++ b/lua/fff/main.lua @@ -17,6 +17,14 @@ function M.find_files(opts) end end +--- Find help pages +--- @param opts? table Optional configuration {renderer = custom_renderer} +function M.find_help_pages(opts) + local options = opts + opts.cwd = vim.env.VIMRUNTIME .. "/doc" + M.find_files(options) +end + --- Live grep: search file contents in the current directory --- @param opts? {cwd?: string, title?: string, prompt?: string, layout?: table, grep?: {max_file_size?: number, smart_case?: boolean, max_matches_per_file?: number, modes?: string[]}, query?: string} Optional configuration overrides function M.live_grep(opts)