🎨 style(style): improve heading style
Use fancier box style for headings
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- AUTOCMDS -----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Autocommands │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
local autogrp = vim.api.nvim_create_augroup
|
||||
local autocmd = vim.api.nvim_create_autocmd
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ------------------------------- SpellCheck ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Spell Checking │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
-- Define dictionary autocorrections
|
||||
vim.keymap.set("ia", "teh", "the")
|
||||
vim.keymap.set("ia", "accomodate", "accommodate")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- HIGHLIGHT ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Highlight │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
local M = {}
|
||||
|
||||
-- Function to convert RGB to hexadecimal
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- KEYBINDS -----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- --------------------------------- Keymaps -----------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Keybinds │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
-- Initialize which-key
|
||||
local wk = require("which-key")
|
||||
wk.add({
|
||||
|
||||
+3
-4
@@ -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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ------------------------------- MUSIC-STATS ---------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Music Stats │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
local M = {}
|
||||
local cache_file = os.getenv("HOME") .. "/.cache/music_cache.txt"
|
||||
local separator = "␟"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- --------------------------------- NEOVIDE -----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Neovide │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
-- Set GUI font
|
||||
vim.opt.guifont = "Iosevka:#e-subpixelantialias:h12"
|
||||
-- refresh rate and translucency
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- --------------------------------- OPTIONS -----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Options │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
-- Leader Key
|
||||
vim.g.mapleader = " "
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Rootiest Module │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
local M = {}
|
||||
|
||||
local precog_first_time = true
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ----------------------------- WAKATIME-STATS --------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ WakaTime Stats │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
local M = {}
|
||||
local cache_file = os.getenv("HOME") .. "/.cache/wakatime_cache.txt"
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ AI Tools │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
{ -- Neocodeium
|
||||
"monkoose/neocodeium",
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Astral Plugin │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
{
|
||||
"rootiest/astral.nvim",
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Auto Completion │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- --------------------------------- CODING ------------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Coding │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
{ -- Mason-lspconfig
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ---------------------------------- CORE -------------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Core │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- DASHBOARD ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Dashboard │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
-- Dashboard
|
||||
"nvimdev/dashboard-nvim",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ---------------------------------- DEBUG ------------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Debug │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
{ -- DAP Core
|
||||
import = "lazyvim.plugins.extras.dap.core",
|
||||
|
||||
@@ -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" },
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- LANGUAGES ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Languages │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
{ -- JSON
|
||||
import = "lazyvim.plugins.extras.lang.json",
|
||||
|
||||
@@ -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])
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- --------------------------------- THEMES ------------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Themes │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
return {
|
||||
-- ----------------------- Themes --------------------------
|
||||
{ -- Tokyonight
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false, -- Override
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user