Skip to content

Commit

Permalink
adding txt
Browse files Browse the repository at this point in the history
  • Loading branch information
clpi committed Nov 16, 2024
1 parent ee0e404 commit 50b435d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
23 changes: 23 additions & 0 deletions doc/dorm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
*dorm.txt* dorm.lua

Author: Chris Pecunies

INTRODUCTION *dorm.lua*
================================================================================

`dorm.lua` is a plugin to bring the extensibility of org-mode to neovim without
leaving the gold standard markdown file format.


ABOUT *dorm-about*
================================================================================

Grab the latest version or report a bug on GitHub:

https://github.com/clpi/dorm.lua

Or visit the website:

https://dorm.clp.is

vim:tw=80:colorcolumn=81:et:ft=help:norl:
1 change: 1 addition & 0 deletions lua/dorm/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,5 @@ function dorm.is_loaded()
return config.started
end

-- require("telescope").load_extension("dorm")
return dorm
6 changes: 4 additions & 2 deletions lua/telescope/_extensions/dorm/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ local has_dorm, dorm = pcall(require, "dorm")

local M = {}


function M.setup_keys()
local map = vim.api.nvim_set_keymap
local opt = { noremap = true, silent = true }
map("n", ",vv", "<cmd>lua require('telescope._extensions.dorm').custom_picker()<CR>", opt)
end

function M.root()
function M.custom_picker()
pic.new({}, {
prompt_title = "dorm",
sorter = srt.get_generic_fuzzy_sorter(),
Expand Down Expand Up @@ -54,10 +55,11 @@ end
function M.setup()
tel.register_extension({
exports = {
notes = M.root()
notes = M.custom_picker()

}
})
tel.load_extension("dorm")
end

return M

0 comments on commit 50b435d

Please sign in to comment.