docs: improve readability of options.lua with enhanced headers

This commit is contained in:
2024-08-29 14:25:48 -04:00
parent 8f65f878a7
commit 95aa3ba040
+11 -5
View File
@@ -2,7 +2,8 @@
-- │ Options │ -- │ Options │
-- ╰─────────────────────────────────────────────────────────╯ -- ╰─────────────────────────────────────────────────────────╯
-- stylua: ignore start -- stylua: ignore start
-- Leader Key
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Leader Key ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
vim.g.mapleader = " " --- @type string Options: <leader> vim.g.mapleader = " " --- @type string Options: <leader>
vim.g.maplocalleader = " " --- @type string Options: <localleader> vim.g.maplocalleader = " " --- @type string Options: <localleader>
@@ -33,13 +34,18 @@ vim.g.useimage = true --- @type boolean Options: <true|false>
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ COLOR ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ COLOR ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-- Background color -- Background color
vim.o.background = "dark" --- @type string Options: <dark|light> vim.o.background = "dark" --- @type string Options: <dark|light>
-- Dashboard header color -- Dashboard header color
vim.g.DashboardHeaderColor = "#88fc9a" --- @type string Options: [hex color] vim.g.DashboardHeaderColor = "#88fc9a" --- @type string Options: [hex color]
-- Disable Transparency -- Disable Transparency
vim.g.disable_transparency = true --- @type boolean Options: <true|false> vim.g.disable_transparency = true --- @type boolean Options: <true|false>
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━ BLINKY CURSOR ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━ BLINKY CURSOR ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-- Setup the blinky cursor -- Setup the blinky cursor
require("utils.blinky").enable() require("utils.blinky").enable()
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ OTHER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-- Suda smart edit: Automatically edit files in sudo mode when needed
vim.g.suda_smart_edit = 1 --- @type integer Options: <0|1>
vim.cmd("let g:suda#prompt = '  Enter Sudo Password  '")
-- stylua: ignore end -- stylua: ignore end