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