🎨 style(style): improve heading style

Use fancier box style for headings
This commit is contained in:
2024-08-06 05:15:24 -04:00
parent 844b571bff
commit d125eefdf4
23 changed files with 74 additions and 82 deletions
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- -------------------------------- AUTOCMDS ----------------------------------- -- │ Autocommands │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
local autogrp = vim.api.nvim_create_augroup local autogrp = vim.api.nvim_create_augroup
local autocmd = vim.api.nvim_create_autocmd local autocmd = vim.api.nvim_create_autocmd
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- ------------------------------- SpellCheck ---------------------------------- -- Spell Checking │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
-- Define dictionary autocorrections -- Define dictionary autocorrections
vim.keymap.set("ia", "teh", "the") vim.keymap.set("ia", "teh", "the")
vim.keymap.set("ia", "accomodate", "accommodate") vim.keymap.set("ia", "accomodate", "accommodate")
+3 -3
View File
@@ -1,6 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- -------------------------------- HIGHLIGHT ---------------------------------- -- │ Highlight │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
local M = {} local M = {}
-- Function to convert RGB to hexadecimal -- Function to convert RGB to hexadecimal
+3 -6
View File
@@ -1,9 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- -------------------------------- KEYBINDS ----------------------------------- -- │ Keybinds │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
-- --------------------------------- Keymaps -----------------------------------
-- Initialize which-key -- Initialize which-key
local wk = require("which-key") local wk = require("which-key")
wk.add({ wk.add({
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- ---------------------------------- LAZY ------------------------------------- -- │ Lazy │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
-- Bootstrap lazy.nvim -- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then if not vim.uv.fs_stat(lazypath) then
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- ------------------------------- MUSIC-STATS --------------------------------- -- │ Music Stats │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
local M = {} local M = {}
local cache_file = os.getenv("HOME") .. "/.cache/music_cache.txt" local cache_file = os.getenv("HOME") .. "/.cache/music_cache.txt"
local separator = "" local separator = ""
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- --------------------------------- NEOVIDE ----------------------------------- -- │ Neovide │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
-- Set GUI font -- Set GUI font
vim.opt.guifont = "Iosevka:#e-subpixelantialias:h12" vim.opt.guifont = "Iosevka:#e-subpixelantialias:h12"
-- refresh rate and translucency -- refresh rate and translucency
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- --------------------------------- OPTIONS ----------------------------------- -- │ Options │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
-- Leader Key -- Leader Key
vim.g.mapleader = " " vim.g.mapleader = " "
+3
View File
@@ -1,3 +1,6 @@
-- ╭─────────────────────────────────────────────────────────╮
-- │ Rootiest Module │
-- ╰─────────────────────────────────────────────────────────╯
local M = {} local M = {}
local precog_first_time = true local precog_first_time = true
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- ----------------------------- WAKATIME-STATS -------------------------------- -- │ WakaTime Stats │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
local M = {} local M = {}
local cache_file = os.getenv("HOME") .. "/.cache/wakatime_cache.txt" local cache_file = os.getenv("HOME") .. "/.cache/wakatime_cache.txt"
+3
View File
@@ -1,3 +1,6 @@
-- ╭─────────────────────────────────────────────────────────╮
-- │ AI Tools │
-- ╰─────────────────────────────────────────────────────────╯
return { return {
{ -- Neocodeium { -- Neocodeium
"monkoose/neocodeium", "monkoose/neocodeium",
+3
View File
@@ -1,3 +1,6 @@
-- ╭─────────────────────────────────────────────────────────╮
-- │ Astral Plugin │
-- ╰─────────────────────────────────────────────────────────╯
return { return {
{ {
"rootiest/astral.nvim", "rootiest/astral.nvim",
+3
View File
@@ -1,3 +1,6 @@
-- ╭─────────────────────────────────────────────────────────╮
-- │ Auto Completion │
-- ╰─────────────────────────────────────────────────────────╯
return { return {
{ {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- --------------------------------- CODING ------------------------------------ -- │ Coding │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
return { return {
{ -- Mason-lspconfig { -- Mason-lspconfig
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- ---------------------------------- CORE ------------------------------------- -- │ Core │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
return { return {
{ {
"LazyVim/LazyVim", "LazyVim/LazyVim",
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- -------------------------------- DASHBOARD ---------------------------------- -- │ Dashboard │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
return { return {
-- Dashboard -- Dashboard
"nvimdev/dashboard-nvim", "nvimdev/dashboard-nvim",
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- ---------------------------------- DEBUG ------------------------------------ -- │ Debug │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
return { return {
{ -- DAP Core { -- DAP Core
import = "lazyvim.plugins.extras.dap.core", import = "lazyvim.plugins.extras.dap.core",
+4 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- --------------------------------- EDITOR ------------------------------------ -- │ Editor │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
return { return {
{ -- Aerial { -- Aerial
import = "lazyvim.plugins.extras.editor.aerial", import = "lazyvim.plugins.extras.editor.aerial",
@@ -135,4 +134,5 @@ return {
dependencies = "rcarriga/nvim-notify", -- optional dependencies = "rcarriga/nvim-notify", -- optional
opts = {}, opts = {},
}, },
{ "LudoPinelli/comment-box.nvim" },
} }
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- -------------------------------- LANGUAGES ---------------------------------- -- │ Languages │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
return { return {
{ -- JSON { -- JSON
import = "lazyvim.plugins.extras.lang.json", import = "lazyvim.plugins.extras.lang.json",
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- -------------------------------- LUA-LINE ----------------------------------- -- │ Lualine │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
-- Function to convert RGB to hexadecimal -- Function to convert RGB to hexadecimal
local function rgb_to_hex(rgb) local function rgb_to_hex(rgb)
return string.format("#%02x%02x%02x", rgb[1], rgb[2], rgb[3]) return string.format("#%02x%02x%02x", rgb[1], rgb[2], rgb[3])
+7 -8
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- -------------------------------- TERMINALS ---------------------------------- -- │ Terminals │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
package.path = package.path package.path = package.path
.. ";" .. ";"
.. vim.fn.expand("$HOME") .. vim.fn.expand("$HOME")
@@ -73,28 +72,28 @@ return {
end, end,
keys = { keys = {
{ {
"<c-s-h>", "<C-S-h>",
function() function()
require("kitty-navigator").navigateLeft() require("kitty-navigator").navigateLeft()
end, end,
desc = "KittyNavigateLeft", desc = "KittyNavigateLeft",
}, },
{ {
"<c-s-j>", "<C-S-j>",
function() function()
require("kitty-navigator").navigateDown() require("kitty-navigator").navigateDown()
end, end,
desc = "KittyNavigateDown", desc = "KittyNavigateDown",
}, },
{ {
"<c-s-k>", "<C-S-k>",
function() function()
require("kitty-navigator").navigateUp() require("kitty-navigator").navigateUp()
end, end,
desc = "KittyNavigateUp", desc = "KittyNavigateUp",
}, },
{ {
"<c-s-l>", "<C-S-l>",
function() function()
require("kitty-navigator").navigateRight() require("kitty-navigator").navigateRight()
end, end,
+3 -5
View File
@@ -1,9 +1,7 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- --------------------------------- THEMES ------------------------------------ -- │ Themes │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
return { return {
-- ----------------------- Themes --------------------------
{ -- Tokyonight { -- Tokyonight
"folke/tokyonight.nvim", "folke/tokyonight.nvim",
lazy = false, -- Override lazy = false, -- Override
+3 -4
View File
@@ -1,7 +1,6 @@
-- ----------------------------------------------------------------------------- -- ╭─────────────────────────────────────────────────────────╮
-- -------------------------------- UTILITIES ---------------------------------- -- │ Utilities │
-- ----------------------------------------------------------------------------- -- ╰─────────────────────────────────────────────────────────╯
-- Function to convert RGB to hexadecimal -- Function to convert RGB to hexadecimal
local function rgb_to_hex(rgb) local function rgb_to_hex(rgb)
return string.format("#%02x%02x%02x", rgb[1], rgb[2], rgb[3]) return string.format("#%02x%02x%02x", rgb[1], rgb[2], rgb[3])