14 lines
329 B
Lua
14 lines
329 B
Lua
local telescope = require('telescope.builtin')
|
|
|
|
local M = {}
|
|
|
|
function M.search_markdown_tasks()
|
|
telescope.grep_string({
|
|
prompt_title = "Open Task List",
|
|
search = "- [ ]", -- Customize if needed for specific task markers
|
|
cwd = vim.fn.expand('%:p:h') -- Current file's directory
|
|
})
|
|
end
|
|
|
|
return M
|