diff --git a/README.md b/README.md index 0bb0cf3..05ab759 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ rest to use the defaults. ```lua require("text-transform").setup({ - -- Prints useful logs about what event are triggered, and reasons actions are executed. + -- Prints information about internals of the plugin. Very verbose, only useful for debugging. debug = false, -- Keymap configurations keymap = { diff --git a/doc/text-transform.txt b/doc/text-transform.txt index d8a0de1..5a0eb2f 100644 --- a/doc/text-transform.txt +++ b/doc/text-transform.txt @@ -22,7 +22,7 @@ Your plugin configuration with its default values. Default values: > TextTransform.options = { - -- Prints useful logs about what event are triggered, and reasons actions are executed. + -- Prints information about internals of the plugin. Very verbose, only useful for debugging. debug = false, -- Keymap configurations keymap = { diff --git a/lua/text-transform/config.lua b/lua/text-transform/config.lua index 01c557e..b1bf497 100644 --- a/lua/text-transform/config.lua +++ b/lua/text-transform/config.lua @@ -9,7 +9,7 @@ local TextTransform = {} --- Default values: ---@eval return MiniDoc.afterlines_to_code(MiniDoc.current.eval_section) TextTransform.options = { - -- Prints useful logs about what event are triggered, and reasons actions are executed. + -- Prints information about internals of the plugin. Very verbose, only useful for debugging. debug = false, -- Keymap configurations keymap = { diff --git a/lua/text-transform/telescope.lua b/lua/text-transform/telescope.lua index 89929e4..0feb699 100644 --- a/lua/text-transform/telescope.lua +++ b/lua/text-transform/telescope.lua @@ -19,16 +19,16 @@ local items = { { label = "CONST_CASE", value = "const_case" }, } -local default_frequency = { - camel_case = 7, - snake_case = 6, - pascal_case = 5, - kebab_case = 4, - dot_case = 3, - title_case = 2, - const_case = 1, -} - +-- local default_frequency = { +-- camel_case = 7, +-- snake_case = 6, +-- pascal_case = 5, +-- kebab_case = 4, +-- dot_case = 3, +-- title_case = 2, +-- const_case = 1, +-- } +-- -- local frequency_file = vim.fn.stdpath("config") .. "/text-transform-frequency.json" -- local frequency -- if vim.fn.filereadable(frequency_file) == 0 then