mirror of
https://github.com/chenasraf/text-transform.nvim.git
synced 2026-05-17 17:48:04 +00:00
docs: update auto docs
This commit is contained in:
1
doc/tags
1
doc/tags
@@ -19,6 +19,7 @@ TextTransform.to_words() text-transform.txt /*TextTransform.to_words()*
|
||||
TextTransform.toggle() text-transform.txt /*TextTransform.toggle()*
|
||||
TextTransform.transform_words() text-transform.txt /*TextTransform.transform_words()*
|
||||
find_word_boundaries() text-transform.txt /*find_word_boundaries()*
|
||||
init() text-transform.txt /*init()*
|
||||
telescope.telescope_popup() text-transform.txt /*telescope.telescope_popup()*
|
||||
utils.dump() text-transform.txt /*utils.dump()*
|
||||
utils.merge() text-transform.txt /*utils.merge()*
|
||||
|
||||
@@ -52,24 +52,13 @@ Default values:
|
||||
popup_type = "telescope",
|
||||
}
|
||||
|
||||
local function init()
|
||||
local o = TextTransform.options
|
||||
D.log("config", "Initializing TextTransform with %s", utils.dump(o))
|
||||
commands.init_commands()
|
||||
|
||||
if o.keymap.telescope_popup then
|
||||
local keys = o.keymap.telescope_popup
|
||||
if keys.n then
|
||||
vim.keymap.set("n", keys.n, popup.show_popup, { silent = true, desc = "Change Case" })
|
||||
end
|
||||
if keys.v then
|
||||
vim.keymap.set("v", keys.v, popup.show_popup, { silent = true, desc = "Change Case" })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
<
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*init()*
|
||||
`init`()
|
||||
@internal
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*TextTransform.setup()*
|
||||
`TextTransform.setup`({options})
|
||||
|
||||
@@ -46,6 +46,7 @@ TextTransform.options = {
|
||||
popup_type = "telescope",
|
||||
}
|
||||
|
||||
--- @internal
|
||||
local function init()
|
||||
local o = TextTransform.options
|
||||
D.log("config", "Initializing TextTransform with %s", utils.dump(o))
|
||||
|
||||
Reference in New Issue
Block a user