mirror of
https://github.com/chenasraf/text-transform.nvim.git
synced 2026-05-18 01:48:57 +00:00
docs: update docs
chore: comment out unused code
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user