docs: update docs

chore: comment out unused code
This commit is contained in:
2024-04-30 15:10:24 +03:00
parent 6f1c92872e
commit b31967dd32
4 changed files with 13 additions and 13 deletions

View File

@@ -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 = {

View File

@@ -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