♻️ refactor(full-scope)!: major revision refactoring
Code layout has been changed and improoved. Annotations are added for documentation. Automated through utility functions and data tables BREAKING CHANGE: Tested from clean. Now properly uses LuaRocks to install dependencies.
This commit is contained in:
+16
-16
@@ -1,13 +1,17 @@
|
||||
--- @module "data.cmd"
|
||||
--- This module contains the commands for the plugins.
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ CMD DATA │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
|
||||
local M = {}
|
||||
|
||||
--- Autosave plugin cmds
|
||||
M.autosave = {
|
||||
"ASToggle",
|
||||
}
|
||||
|
||||
--- Codesnap plugin cmds
|
||||
M.codesnap = {
|
||||
"CodeSnap",
|
||||
"CodeSnapSave",
|
||||
@@ -15,37 +19,25 @@ M.codesnap = {
|
||||
"CodeSnapASCII",
|
||||
}
|
||||
|
||||
M.diffview = {
|
||||
"DiffviewOpen",
|
||||
"DiffviewClose",
|
||||
"DiffviewToggleFiles",
|
||||
"DiffviewFocusFiles",
|
||||
"DiffviewRefresh",
|
||||
"DiffviewFileHistory",
|
||||
"DiffviewLog",
|
||||
}
|
||||
|
||||
M.fugit = {
|
||||
"Fugit2",
|
||||
"Fugit2Diff",
|
||||
"Fugit2Graph",
|
||||
}
|
||||
|
||||
--- Gists plugin cmds
|
||||
M.gist = {
|
||||
"GistCreate",
|
||||
"GistCreateFromFile",
|
||||
"GistsList",
|
||||
}
|
||||
|
||||
--- Gx plugin cmds
|
||||
M.gx = {
|
||||
"Browse",
|
||||
}
|
||||
|
||||
--- Kitty-Scrollback plugin cmds
|
||||
M.kitty_scrollback = {
|
||||
"KittyScrollbackGenerateKittens",
|
||||
"KittyScrollbackCheckHealth",
|
||||
}
|
||||
|
||||
--- LazyGit plugin cmds
|
||||
M.lazygit = {
|
||||
"LazyGit",
|
||||
"LazyGitConfig",
|
||||
@@ -54,8 +46,10 @@ M.lazygit = {
|
||||
"LazyGitFilterCurrentFile",
|
||||
}
|
||||
|
||||
--- Nekifoch plugin cmds
|
||||
M.nekifoch = "Nekifoch"
|
||||
|
||||
--- Thanks plugin cmds
|
||||
M.thanks = {
|
||||
"ThanksAll",
|
||||
"ThanksGithubAuth",
|
||||
@@ -63,31 +57,37 @@ M.thanks = {
|
||||
"ThanksClearCache",
|
||||
}
|
||||
|
||||
--- Gitlinker plugin cmds
|
||||
M.gitlinker = {
|
||||
"GitLink",
|
||||
}
|
||||
|
||||
--- Qalc plugin cmds
|
||||
M.qalc = {
|
||||
"Qalc",
|
||||
"QalcAttach",
|
||||
"QalcYank",
|
||||
}
|
||||
|
||||
--- Ripsub plugin cmds
|
||||
M.ripsub = {
|
||||
"RipSubstitute",
|
||||
}
|
||||
|
||||
--- Suda plugin cmds
|
||||
M.suda = {
|
||||
"SudaWrite",
|
||||
"SudaRead",
|
||||
}
|
||||
|
||||
--- Transparent plugin cmds
|
||||
M.transparent = {
|
||||
"TransparentEnable",
|
||||
"TransparentDisable",
|
||||
"TransparentToggle",
|
||||
}
|
||||
|
||||
--- Trouble plugin cmds
|
||||
M.trouble = {
|
||||
"Trouble",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user