💡 source-docs(source-docs): use comment labels

Adds some labels in comments to better identify keymaps/options
This commit is contained in:
2024-08-07 19:56:52 -04:00
parent 6e47d1a8c5
commit 5414d062a7
+7 -8
View File
@@ -14,7 +14,7 @@ return {
{ -- Illuminate { -- Illuminate
import = "lazyvim.plugins.extras.editor.illuminate", import = "lazyvim.plugins.extras.editor.illuminate",
}, },
{ { -- Flash
"folke/flash.nvim", "folke/flash.nvim",
opts = { opts = {
modes = { modes = {
@@ -35,25 +35,25 @@ return {
"domharries/foldnav.nvim", "domharries/foldnav.nvim",
lazy = true, lazy = true,
keys = { keys = {
{ { -- Goto Start
"<C-h>", "<C-h>",
function() function()
require("foldnav").goto_start() require("foldnav").goto_start()
end, end,
}, },
{ { -- Goto Next
"<C-j>", "<C-j>",
function() function()
require("foldnav").goto_next() require("foldnav").goto_next()
end, end,
}, },
{ { -- Goto Prev
"<C-k>", "<C-k>",
function() function()
require("foldnav").goto_prev_start() require("foldnav").goto_prev_start()
end, end,
}, },
{ { -- Goto End
"<C-l>", "<C-l>",
function() function()
require("foldnav").goto_end() require("foldnav").goto_end()
@@ -91,7 +91,7 @@ return {
lazy = true, lazy = true,
opts = {}, opts = {},
keys = { keys = {
{ { -- Toggle Precognition
"zk", "zk",
function() function()
require("config.rootiest").toggle_precognition() require("config.rootiest").toggle_precognition()
@@ -102,7 +102,6 @@ return {
}, },
{ -- Zen Mode { -- Zen Mode
"folke/zen-mode.nvim", "folke/zen-mode.nvim",
--event = "VeryLazy",
lazy = true, lazy = true,
opts = {}, opts = {},
keys = { keys = {
@@ -134,7 +133,7 @@ return {
{ -- Recorder { -- Recorder
"chrisgrieser/nvim-recorder", "chrisgrieser/nvim-recorder",
event = "VeryLazy", event = "VeryLazy",
dependencies = "rcarriga/nvim-notify", -- optional dependencies = "rcarriga/nvim-notify",
opts = {}, opts = {},
}, },
{ -- Comment Box { -- Comment Box