feat(highlights): implement highlighting module

Highlighting module applies highlighting customizations and other font/color enhancements across several plugins
This commit is contained in:
2024-08-02 09:15:53 -04:00
parent 0f3b9c0469
commit c56be45d65
5 changed files with 310 additions and 55 deletions
+15 -49
View File
@@ -18,6 +18,14 @@ return {
{ -- Illuminate
import = "lazyvim.plugins.extras.editor.illuminate",
},
{
"akinsho/bufferline.nvim",
opts = {
options = {
separator_style = "slant",
},
},
},
{
"folke/flash.nvim",
opts = {
@@ -28,25 +36,8 @@ return {
},
},
},
{
{ -- indent-blankline
"lukas-reineke/indent-blankline.nvim",
opts = {
scope = { show_start = true, show_end = true },
indent = {
char = {
"󰎤",
"󰎧",
"󰎪",
"󰎭",
"󰎱",
"󰎳",
"󰎶",
"󰎹",
"󰎼",
"󰽽",
},
},
},
},
{ -- Outline
import = "lazyvim.plugins.extras.editor.outline",
@@ -96,7 +87,7 @@ return {
},
{ -- CodeWindow
"gorbit99/codewindow.nvim",
event = "InsertEnter",
event = "BufEnter",
config = function()
require("codewindow").setup({
auto_enable = true,
@@ -128,32 +119,7 @@ return {
},
{ -- DeadColumn
"Bekaboo/deadcolumn.nvim",
event = "InsertEnter",
config = function()
require("deadcolumn").setup({
scope = "line", ---@type string|fun(): integer
---@type string[]|fun(mode: string): boolean
modes = function(mode)
return mode:find("^[ictRss\x13]") ~= nil
end,
blending = {
threshold = 0.9,
colorcode = "#737895",
hlgroup = { "Normal", "bg" },
},
warning = {
alpha = 0.4,
offset = 0,
colorcode = "#f27b82",
hlgroup = { "Error", "bg" },
},
extra = {
---@type string?
follow_tw = "80",
},
})
vim.cmd(":set colorcolumn=120")
end,
event = "BufEnter",
},
{ -- Precognition
"tris203/precognition.nvim",
@@ -168,11 +134,11 @@ return {
},
{ -- SmoothCursor
"gen740/SmoothCursor.nvim",
event = "InsertEnter",
lazy = true,
event = "BufEnter",
-- lazy = true,
config = function()
---@diagnostic disable-next-line: missing-parameter
require("smoothcursor").setup()
---@diagnostic disable-next-line: missing-fields
require("smoothcursor").setup({})
end,
},
}