removed bloat

This commit is contained in:
krolyxon 2022-10-04 22:45:26 +05:30
parent b34af11443
commit 176077e669
4 changed files with 286 additions and 361 deletions

View File

@ -1,45 +1,27 @@
local theme = require("colors.kdark").colors local theme = require("colors.kdark").colors
local black = theme.black
local red = theme.red
local green = theme.green
local yellow = theme.yellow
local blue = theme.blue
local magenta = theme.magenta
local cyan = theme.cyan
local white = theme.white
local bright_black = theme.bright_black
local bright_red = theme.bright_red
local bright_green = theme.bright_green
local bright_yellow = theme.bright_yellow
local bright_blue = theme.bright_blue
local bright_magenta = theme.bright_magenta
local bright_cyan = theme.bright_cyan
local bright_white = theme.bright_white
return { return {
CmpItemKindConstant = { fg = bright_red }, CmpItemKindConstant = { fg = theme.bright_red },
CmpItemKindFunction = { fg = bright_magenta }, CmpItemKindFunction = { fg = theme.bright_magenta },
CmpItemKindIdentifier = { fg = bright_black }, CmpItemKindIdentifier = { fg = theme.bright_black },
CmpItemKindField = { fg = bright_black }, CmpItemKindField = { fg = theme.bright_black },
CmpItemKindVariable = { fg = bright_cyan }, CmpItemKindVariable = { fg = theme.bright_cyan },
Special = { fg = bright_blue }, Special = { fg = theme.bright_blue },
CmpItemKindSnippet = { fg = red }, CmpItemKindSnippet = { fg = theme.red },
CmpItemKindText = { fg = bright_yellow }, CmpItemKindText = { fg = theme.bright_yellow },
CmpItemKindStructure = { fg = bright_cyan }, CmpItemKindStructure = { fg = theme.bright_cyan },
CmpItemKindType = { fg = bright_green }, CmpItemKindType = { fg = theme.bright_green },
CmpItemKindKeyword = { fg = white }, CmpItemKindKeyword = { fg = theme.white },
CmpItemKindMethod = { fg = bright_magenta }, CmpItemKindMethod = { fg = theme.bright_magenta },
CmpItemKindConstructor = { fg = blue }, CmpItemKindConstructor = { fg = theme.blue },
CmpItemKindFolder = { fg = white }, CmpItemKindFolder = { fg = theme.white },
CmpItemKindModule = { fg = bright_green }, CmpItemKindModule = { fg = theme.bright_green },
CmpItemKindProperty = { fg = bright_black }, CmpItemKindProperty = { fg = theme.bright_black },
CmpItemKindUnit = { fg = bright_cyan }, CmpItemKindUnit = { fg = theme.bright_cyan },
CmpItemKindFile = { fg = white }, CmpItemKindFile = { fg = theme.white },
CmpItemKindColor = { fg = red }, CmpItemKindColor = { fg = theme.red },
CmpItemKindReference = { fg = magenta }, CmpItemKindReference = { fg = theme.magenta },
CmpItemKindStruct = { fg = bright_cyan }, CmpItemKindStruct = { fg = theme.bright_cyan },
CmpItemKindOperator = { fg = magenta }, CmpItemKindOperator = { fg = theme.magenta },
CmpItemKindTypeParameter = { fg = bright_black }, CmpItemKindTypeParameter = { fg = theme.bright_black },
} }

View File

@ -1,33 +1,15 @@
local theme = require("colors.kdark").colors local theme = require("colors.kdark").colors
local black = theme.black
local red = theme.red
local green = theme.green
local yellow = theme.yellow
local blue = theme.blue
local magenta = theme.magenta
local cyan = theme.cyan
local white = theme.white
local bright_black = theme.bright_black
local bright_red = theme.bright_red
local bright_green = theme.bright_green
local bright_yellow = theme.bright_yellow
local bright_blue = theme.bright_blue
local bright_magenta = theme.bright_magenta
local bright_cyan = theme.bright_cyan
local bright_white = theme.bright_white
return { return {
Comment = { fg = theme.bright_black },
Comment = { fg = bright_black },
SignColumn = { SignColumn = {
bg = black, bg = theme.black,
}, },
-- line number -- line number
LineNr = { fg = bright_black }, LineNr = { fg = theme.bright_black },
CursorLineNr = { fg = white }, CursorLineNr = { fg = theme.white },
CursorLine = { CursorLine = {
bg = '#131313', bg = '#131313',
@ -35,81 +17,81 @@ return {
}, },
-- those ugly ~'s -- those ugly ~'s
EndOfBuffer = { fg = black }, EndOfBuffer = { fg = theme.black },
-- floating windows -- floating windows
FloatBorder = { fg = blue }, FloatBorder = { fg = theme.blue },
NormalFloat = { bg = black }, NormalFloat = { bg = theme.black },
-- Pmenu i.e completion menu -- Pmenu i.e completion menu
Pmenu = { bg = black }, Pmenu = { bg = theme.black },
PmenuSbar = { bg = black }, PmenuSbar = { bg = theme.black },
PmenuSel = { bg = black, fg = white }, PmenuSel = { bg = theme.black, fg = theme.white },
PmenuThumb = { bg = bright_black }, PmenuThumb = { bg = theme.bright_black },
-- nvim cmp -- nvim cmp
CmpItemAbbr = { fg = white }, CmpItemAbbr = { fg = theme.white },
CmpItemAbbrMatch = { fg = blue, bold = true }, CmpItemAbbrMatch = { fg = theme.blue, bold = true },
CmpBorder = { fg = bright_black }, CmpBorder = { fg = theme.bright_black },
CmpDocBorder = { fg = bright_black }, CmpDocBorder = { fg = theme.bright_black },
NvimInternalError = { fg = red }, NvimInternalError = { fg = theme.red },
WinSeparator = { fg = bright_black }, WinSeparator = { fg = theme.bright_black },
-- Dashboard i.e alpha.nvim -- Dashboard i.e alpha.nvim
AlphaHeader = { fg = bright_black }, AlphaHeader = { fg = theme.bright_black },
AlphaButtons = { fg = bright_black }, AlphaButtons = { fg = theme.bright_black },
-- Gitsigns.nvim -- Gitsigns.nvim
DiffAdd = { DiffAdd = {
fg = blue, fg = theme.blue,
}, },
DiffAdded = { DiffAdded = {
fg = green, fg = theme.green,
}, },
DiffChange = { DiffChange = {
fg = bright_black, fg = theme.bright_black,
}, },
DiffChangeDelete = { DiffChangeDelete = {
fg = red, fg = theme.red,
}, },
DiffModified = { DiffModified = {
fg = yellow, fg = theme.yellow,
}, },
DiffDelete = { DiffDelete = {
fg = red, fg = theme.red,
}, },
DiffRemoved = { DiffRemoved = {
fg = red, fg = theme.red,
}, },
-- Indent blankline -- Indent blankline
IndentBlanklineChar = { fg = bright_black }, IndentBlanklineChar = { fg = theme.bright_black },
IndentBlanklineSpaceChar = { fg = bright_black }, IndentBlanklineSpaceChar = { fg = theme.bright_black },
-- Lsp Diagnostics -- Lsp Diagnostics
DiagnosticHint = { fg = magenta }, DiagnosticHint = { fg = theme.magenta },
DiagnosticError = { fg = red }, DiagnosticError = { fg = theme.red },
DiagnosticWarn = { fg = yellow }, DiagnosticWarn = { fg = theme.yellow },
DiagnosticInformation = { fg = green }, DiagnosticInformation = { fg = theme.green },
-- NvimTree -- NvimTree
NvimTreeEmptyFolderName = { fg = bright_blue }, NvimTreeEmptyFolderName = { fg = theme.bright_blue },
NvimTreeEndOfBuffer = { fg = black }, NvimTreeEndOfBuffer = { fg = theme.black },
NvimTreeFolderIcon = { fg = bright_blue }, NvimTreeFolderIcon = { fg = theme.bright_blue },
NvimTreeFolderName = { fg = bright_blue }, NvimTreeFolderName = { fg = theme.bright_blue },
NvimTreeGitDirty = { fg = red }, NvimTreeGitDirty = { fg = theme.red },
NvimTreeIndentMarker = { fg = bright_black }, NvimTreeIndentMarker = { fg = theme.bright_black },
NvimTreeNormal = { bg = '#000000' }, NvimTreeNormal = { bg = '#000000' },
NvimTreeNormalNC = { bg = '#000000' }, NvimTreeNormalNC = { bg = '#000000' },
NvimTreeOpenedFolderName = { fg = bright_blue }, NvimTreeOpenedFolderName = { fg = theme.bright_blue },
NvimTreeGitIgnored = { fg = bright_black }, NvimTreeGitIgnored = { fg = theme.bright_black },
NvimTreeWinSeparator = { NvimTreeWinSeparator = {
fg = '#000000', fg = '#000000',
@ -117,27 +99,27 @@ return {
}, },
NvimTreeWindowPicker = { NvimTreeWindowPicker = {
fg = red, fg = theme.red,
bg = black, bg = theme.black,
}, },
NvimTreeCursorLine = { NvimTreeCursorLine = {
bg = black, bg = theme.black,
}, },
-- StatusLine = { -- StatusLine = {
-- fg = white, -- fg = theme. white,
-- }, -- },
-- StatusLineNC = { -- StatusLineNC = {
-- fg = white, -- fg = theme. white,
-- }, -- },
-- StatusLineSeparator = { -- StatusLineSeparator = {
-- fg = bright_black, -- fg = theme. bright_black,
-- }, -- },
-- StatusLineTerm = { -- StatusLineTerm = {
-- fg = bright_black, -- fg = theme. bright_black,
-- }, -- },
-- StatusLineTermNC = { -- StatusLineTermNC = {
-- fg = bright_black, -- fg = theme. bright_black,
-- }, -- },
} }

View File

@ -1,132 +1,112 @@
local theme = require("colors.kdark").colors local theme = require("colors.kdark").colors
-- Standard syntax highlighting
local black = theme.black
local red = theme.red
local green = theme.green
local yellow = theme.yellow
local blue = theme.blue
local magenta = theme.magenta
local cyan = theme.cyan
local white = theme.white
local bright_black = theme.bright_black
local bright_red = theme.bright_red
local bright_green = theme.bright_green
local bright_yellow = theme.bright_yellow
local bright_blue = theme.bright_blue
local bright_magenta = theme.bright_magenta
local bright_cyan = theme.bright_cyan
local bright_white = theme.bright_white
local orange = theme.orange
local gray = theme.gray
return { return {
Boolean = { Boolean = {
fg = orange, fg = theme.orange,
}, },
Character = { Character = {
fg = magenta, fg = theme.magenta,
}, },
Conditional = { Conditional = {
fg = magenta, fg = theme.magenta,
}, },
Constant = { Constant = {
fg = magenta, fg = theme.magenta,
}, },
Define = { Define = {
fg = magenta, fg = theme.magenta,
sp = "none", sp = "none",
}, },
Delimiter = { Delimiter = {
fg = orange, fg = theme.orange,
}, },
Float = { Float = {
fg = yellow, fg = theme.yellow,
}, },
Function = { Function = {
fg = bright_blue, fg = theme.bright_blue,
}, },
Identifier = { Identifier = {
fg = magenta, fg = theme.magenta,
sp = "none", sp = "none",
}, },
Include = { Include = {
fg = bright_blue, fg = theme.bright_blue,
}, },
Keyword = { Keyword = {
fg = magenta, fg = theme.magenta,
}, },
Label = { Label = {
fg = yellow, fg = theme.yellow,
}, },
Number = { Number = {
fg = yellow, fg = theme.yellow,
}, },
Operator = { Operator = {
fg = gray, fg = theme.gray,
sp = "none", sp = "none",
}, },
PreProc = { PreProc = {
fg = yellow, fg = theme.yellow,
}, },
Repeat = { Repeat = {
fg = yellow, fg = theme.yellow,
}, },
Special = { Special = {
fg = bright_blue, fg = theme.bright_blue,
}, },
SpecialChar = { SpecialChar = {
fg = orange, fg = theme.orange,
}, },
Statement = { Statement = {
fg = magenta, fg = theme.magenta,
}, },
StorageClass = { StorageClass = {
fg = yellow, fg = theme.yellow,
}, },
String = { String = {
fg = bright_green, fg = theme.bright_green,
}, },
Structure = { Structure = {
fg = magenta, fg = theme.magenta,
}, },
Tag = { Tag = {
fg = yellow, fg = theme.yellow,
}, },
Todo = { Todo = {
fg = yellow, fg = theme.yellow,
bg = bright_black, bg = theme.bright_black,
}, },
Type = { Type = {
fg = yellow, fg = theme.yellow,
sp = "none", sp = "none",
}, },
Typedef = { Typedef = {
fg = yellow, fg = theme.yellow,
}, },
} }

View File

@ -1,137 +1,118 @@
local theme = require("colors.kdark").colors local theme = require("colors.kdark").colors
local black = theme.black -- base00
local red = theme.red -- base01
local green = theme.green -- base02
local yellow = theme.yellow -- base03
local blue = theme.blue -- base04
local magenta = theme.magenta -- base05
local cyan = theme.cyan -- base06
local white = theme.white -- base07
local bright_black = theme.bright_black -- base08
local bright_red = theme.bright_red -- base09
local bright_green = theme.bright_green -- base0A
local bright_yellow = theme.bright_yellow -- base0B
local bright_blue = theme.bright_blue -- base0C
local bright_magenta = theme.bright_magenta -- base0D
local bright_cyan = theme.bright_cyan -- base0E
local bright_white = theme.bright_white -- base0F
local orange = theme.orange
local gray = theme.gray
return { return {
TSAnnotation = { TSAnnotation = {
fg = orange, fg = theme.orange,
sp = "none", sp = "none",
}, },
TSAttribute = { TSAttribute = {
fg = bright_green, fg = theme.bright_green,
sp = "none", sp = "none",
}, },
TSCharacter = { TSCharacter = {
fg = magenta, fg = theme.magenta,
sp = "none", sp = "none",
}, },
TSConstBuiltin = { TSConstBuiltin = {
fg = bright_yellow, fg = theme.bright_yellow,
sp = "none", sp = "none",
}, },
TSConstMacro = { TSConstMacro = {
fg = magenta, fg = theme.magenta,
sp = "none", sp = "none",
}, },
TSError = { TSError = {
fg = red, fg = theme.red,
sp = "none", sp = "none",
}, },
TSException = { TSException = {
fg = magenta, fg = theme.magenta,
sp = "none", sp = "none",
}, },
TSFloat = { TSFloat = {
fg = bright_yellow, fg = theme.bright_yellow,
sp = "none", sp = "none",
}, },
TSFuncBuiltin = { TSFuncBuiltin = {
fg = bright_blue, fg = theme.bright_blue,
sp = "none", sp = "none",
}, },
TSFuncMacro = { TSFuncMacro = {
fg = magenta, fg = theme.magenta,
sp = "none", sp = "none",
}, },
TSKeywordOperator = { TSKeywordOperator = {
fg = bright_magenta, fg = theme.bright_magenta,
sp = "none", sp = "none",
}, },
TSMethod = { TSMethod = {
fg = bright_blue, fg = theme.bright_blue,
sp = "none", sp = "none",
}, },
TSNamespace = { TSNamespace = {
fg = magenta, fg = theme.magenta,
sp = "none", sp = "none",
}, },
TSNone = { TSNone = {
fg = gray, fg = theme.gray,
sp = "none", sp = "none",
}, },
TSParameter = { TSParameter = {
fg = magenta, fg = theme.magenta,
sp = "none", sp = "none",
}, },
TSParameterReference = { TSParameterReference = {
fg = gray, fg = theme.gray,
sp = "none", sp = "none",
}, },
TSPunctDelimiter = { TSPunctDelimiter = {
fg = orange, fg = theme.orange,
sp = "none", sp = "none",
}, },
TSPunctSpecial = { TSPunctSpecial = {
fg = gray, fg = theme.gray,
sp = "none", sp = "none",
}, },
TSStringRegex = { TSStringRegex = {
fg = cyan, fg = theme.cyan,
sp = "none", sp = "none",
}, },
TSStringEscape = { TSStringEscape = {
fg = cyan, fg = theme.cyan,
sp = "none", sp = "none",
}, },
TSSymbol = { TSSymbol = {
fg = bright_green, fg = theme.bright_green,
sp = "none", sp = "none",
}, },
TSTagDelimiter = { TSTagDelimiter = {
fg = orange, fg = theme.orange,
sp = "none", sp = "none",
}, },
TSText = { TSText = {
fg = gray, fg = theme.gray,
sp = "none", sp = "none",
}, },
@ -145,39 +126,39 @@ return {
}, },
TSStrike = { TSStrike = {
fg = black, fg = theme.black,
sp = "none", sp = "none",
strikethrough = true, strikethrough = true,
}, },
TSLiteral = { TSLiteral = {
fg = bright_magenta, fg = theme.bright_magenta,
sp = "none", sp = "none",
}, },
TSURI = { TSURI = {
fg = bright_magenta, fg = theme.bright_magenta,
sp = "none", sp = "none",
underline = true, underline = true,
}, },
TSTypeBuiltin = { TSTypeBuiltin = {
fg = yellow, fg = theme.yellow,
sp = "none", sp = "none",
}, },
TSVariableBuiltin = { TSVariableBuiltin = {
fg = bright_yellow, fg = theme.bright_yellow,
sp = "none", sp = "none",
}, },
TSDefinition = { TSDefinition = {
sp = blue, sp = theme.blue,
underline = true, underline = true,
}, },
TSDefinitionUsage = { TSDefinitionUsage = {
sp = bright_black, sp = theme.bright_black,
underline = true, underline = true,
}, },