nvchad/lua/custom_telescope.lua

14 lines
329 B
Lua
Raw Normal View History

local telescope = require('telescope.builtin')
local M = {}
function M.search_markdown_tasks()
telescope.grep_string({
prompt_title = "Markdown Tasks",
search = "- [ ]", -- Customize if needed for specific task markers
cwd = vim.fn.expand('%:p:h') -- Current file's directory
})
end
return M