Skip to content
8 changes: 8 additions & 0 deletions lua/fff/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down