19 lines
648 B
Lua
Raw Normal View History

2022-10-29 18:32:59 +02:00
local orgmode = require('orgmode.api')
local pickers = require("telescope.pickers")
local finders = require("telescope.finders")
local entry_display = require("telescope.pickers.entry_display")
2022-10-29 18:32:59 +02:00
local conf = require("telescope.config").values
-- TODO: include headline.level and headline.is_archived() as part of the
-- public orgmode api
-- TODO: add highlight groups
-- TODO: add action to refile/capture
2022-10-29 18:32:59 +02:00
return require("telescope").register_extension {
exports = {
2022-10-31 11:03:36 +01:00
search_headings = require("telescope._extensions.orgmode.search_headings"),
refile_heading = require("telescope._extensions.orgmode.refile_heading")
},
2022-10-29 18:32:59 +02:00
}