diff --git a/lua/dracula/autocmd.lua b/lua/dracula/autocmd.lua index 6f68e61..4a30775 100644 --- a/lua/dracula/autocmd.lua +++ b/lua/dracula/autocmd.lua @@ -1,20 +1,19 @@ -if vim.fn.has("nvim-0.9.0") == 1 then - vim.api.nvim_create_autocmd("LspTokenUpdate", { +if vim.fn.has 'nvim-0.9.0' == 1 then + vim.api.nvim_create_autocmd('LspTokenUpdate', { callback = function(args) local token = args.data.token - if token.type ~= "variable" or token.modifiers.readonly then + if token.type ~= 'variable' or token.modifiers.readonly then return end - local text = - vim.api.nvim_buf_get_text(args.buf, token.line, token.start_col, token.line, token.end_col, {})[1] + local text = vim.api.nvim_buf_get_text(args.buf, token.line, token.start_col, token.line, token.end_col, {})[1] if text ~= string.upper(text) then return end - vim.lsp.semantic_tokens.highlight_token(token, args.buf, args.data.client_id, "@constant") + vim.lsp.semantic_tokens.highlight_token(token, args.buf, args.data.client_id, '@constant') end, }) end diff --git a/lua/dracula/config.lua b/lua/dracula/config.lua index ec9c854..2430245 100644 --- a/lua/dracula/config.lua +++ b/lua/dracula/config.lua @@ -1,5 +1,5 @@ -local colors = require("dracula.palettes") -local utils = require("dracula.utils") +local colors = require 'dracula.palettes' +local utils = require 'dracula.utils' local M = {} @@ -27,7 +27,7 @@ function M:set_colors() return end - self.colors = require("dracula.palettes.soft") + self.colors = require 'dracula.palettes.soft' end function M:change_colors_saturation() @@ -46,12 +46,12 @@ function M:set_user_colors() return end - if type(self.user_config.colors) == "table" then - self.colors = vim.tbl_extend("force", self.colors, self.user_config.colors) + if type(self.user_config.colors) == 'table' then + self.colors = vim.tbl_extend('force', self.colors, self.user_config.colors) return end - self.colors = vim.tbl_extend("force", self.colors, self.user_config.colors(self.colors)) + self.colors = vim.tbl_extend('force', self.colors, self.user_config.colors(self.colors)) end end @@ -72,7 +72,7 @@ function M:set_saturation(saturation) if saturation.enabled then self.saturation.enabled = true - if type(saturation.amount) == "number" then + if type(saturation.amount) == 'number' then self.saturation.amount = saturation.amount end else @@ -90,7 +90,7 @@ function M:set_transparent(transparent) end function M:call_user_callback(cb) - if type(cb) == "function" then + if type(cb) == 'function' then cb(self.colors) end end diff --git a/lua/dracula/init.lua b/lua/dracula/init.lua index cdd9b90..018ef15 100644 --- a/lua/dracula/init.lua +++ b/lua/dracula/init.lua @@ -1,29 +1,29 @@ -require("dracula.autocmd") -local utils = require("dracula.utils") -local theme = require("dracula.theme") -local Config = require("dracula.config") +require 'dracula.autocmd' +local utils = require 'dracula.utils' +local theme = require 'dracula.theme' +local Config = require 'dracula.config' local M = Config:new() function M:apply_transparency() local groups = { - Normal = { bg = "NONE" }, - SignColumn = { bg = "NONE" }, - CursorLineNr = { bg = "NONE" }, - LineNr = { bg = "NONE" }, + Normal = { bg = 'NONE' }, + SignColumn = { bg = 'NONE' }, + CursorLineNr = { bg = 'NONE' }, + LineNr = { bg = 'NONE' }, } if self.transparent then - if self.transparent == "full" then + if self.transparent == 'full' then local groups2 = { - NormalFloat = { bg = "NONE" }, - WinSeparator = { bg = "NONE" }, - NvimTreeWinSeparator = { link = "WinSeparator" }, - StatusLine = { bg = "NONE" }, - StatusLineNC = { bg = "NONE" }, - NvimTreeStatusLine = { bg = "NONE" }, + NormalFloat = { bg = 'NONE' }, + WinSeparator = { bg = 'NONE' }, + NvimTreeWinSeparator = { link = 'WinSeparator' }, + StatusLine = { bg = 'NONE' }, + StatusLineNC = { bg = 'NONE' }, + NvimTreeStatusLine = { bg = 'NONE' }, } - groups = vim.tbl_extend("keep", groups, groups2) + groups = vim.tbl_extend('keep', groups, groups2) end return groups @@ -55,16 +55,16 @@ end function M.load_default() if vim.g.colors_name then - vim.cmd("hi clear") + vim.cmd 'hi clear' end - vim.o.background = "dark" - if vim.fn.exists("syntax_on") then - vim.cmd("syntax reset") + vim.o.background = 'dark' + if vim.fn.exists 'syntax_on' then + vim.cmd 'syntax reset' end vim.o.termguicolors = true - vim.g.colors_name = "dracula" + vim.g.colors_name = 'dracula' end M.setup = function(user_config) @@ -84,7 +84,7 @@ M.setup = function(user_config) theme.set_highlights(M.colors) - if type(M.user_config.override) == "function" then + if type(M.user_config.override) == 'function' then M.user_config.override = M.user_config.override(M.colors) end diff --git a/lua/dracula/palettes/init.lua b/lua/dracula/palettes/init.lua index dedac89..47b0426 100644 --- a/lua/dracula/palettes/init.lua +++ b/lua/dracula/palettes/init.lua @@ -1,41 +1,41 @@ local colors = { - fg = "#f8f8f2", - bg = "#282a36", - bgdark = "#21222c", - currentline = "#44475a", - selection = "#44475a", - comment = "#6272a4", - cyan = "#8be9fd", - green = "#50fa7b", - orange = "#ffb86c", - pink = "#ff79c6", - purple = "#bd93f9", - red = "#ff5555", - yellow = "#f1fa8c", - cursor_fg = "#282a36", - cursor_bg = "#f8f8f2", - sign_add = "#50fa7b", - sign_change = "#ffb866", - sign_delete = "#ff5555", - error = "#ff555b", - warning = "#ffb866", - info = "#8be9fd", - hint = "#8be9fd", - other = "#bd93f9", - blended_orange = "#483F3E", - blended_red = "#48303B", - blended_cyan = "#374754", - blended_green = "#2E4940", - blended_yellow = "#464943", - blended_purple = "#3E3A53", - blended_pink = "#5E3E5A", - blended_add = "#2E4940", - blended_change = "#483F3E", - blended_warning = "#483F3E", - blended_error = "#48303B", - blended_info = "#374754", - blended_hint = "#374754", - blended_other = "#3E3A53", + fg = '#f8f8f2', + bg = '#282a36', + bgdark = '#21222c', + currentline = '#44475a', + selection = '#44475a', + comment = '#6272a4', + cyan = '#8be9fd', + green = '#50fa7b', + orange = '#ffb86c', + pink = '#ff79c6', + purple = '#bd93f9', + red = '#ff5555', + yellow = '#f1fa8c', + cursor_fg = '#282a36', + cursor_bg = '#f8f8f2', + sign_add = '#50fa7b', + sign_change = '#ffb866', + sign_delete = '#ff5555', + error = '#ff555b', + warning = '#ffb866', + info = '#8be9fd', + hint = '#8be9fd', + other = '#bd93f9', + blended_orange = '#483F3E', + blended_red = '#48303B', + blended_cyan = '#374754', + blended_green = '#2E4940', + blended_yellow = '#464943', + blended_purple = '#3E3A53', + blended_pink = '#5E3E5A', + blended_add = '#2E4940', + blended_change = '#483F3E', + blended_warning = '#483F3E', + blended_error = '#48303B', + blended_info = '#374754', + blended_hint = '#374754', + blended_other = '#3E3A53', } return colors diff --git a/lua/dracula/palettes/soft.lua b/lua/dracula/palettes/soft.lua index a442703..ba82b97 100644 --- a/lua/dracula/palettes/soft.lua +++ b/lua/dracula/palettes/soft.lua @@ -1,41 +1,41 @@ local colors = { - fg = "#f8f8f2", - bg = "#282a36", - bgdark = "#262626", - currentline = "#44475a", - selection = "#44475a", - comment = "#7b7f8b", - cyan = "#adf6f6", - green = "#62e884", - orange = "#ffb86c", - pink = "#f286c4", - purple = "#bf9eee", - red = "#ee6666", - yellow = "#e7ee98", - cursor_fg = "#282a36", - cursor_bg = "#f8f8f2", - sign_add = "#62e884", - sign_change = "#ffb866", - sign_delete = "#ee6666", - error = "#ee6666", - warning = "#ffb866", - info = "#97e1f1", - hint = "#97e1f1", - other = "#bf9eee", - blended_orange = "#483F3E", - blended_red = "#46333D", - blended_cyan = "#394552", - blended_green = "#314742", + fg = '#f8f8f2', + bg = '#282a36', + bgdark = '#262626', + currentline = '#44475a', + selection = '#44475a', + comment = '#7b7f8b', + cyan = '#adf6f6', + green = '#62e884', + orange = '#ffb86c', + pink = '#f286c4', + purple = '#bf9eee', + red = '#ee6666', + yellow = '#e7ee98', + cursor_fg = '#282a36', + cursor_bg = '#f8f8f2', + sign_add = '#62e884', + sign_change = '#ffb866', + sign_delete = '#ee6666', + error = '#ee6666', + warning = '#ffb866', + info = '#97e1f1', + hint = '#97e1f1', + other = '#bf9eee', + blended_orange = '#483F3E', + blended_red = '#46333D', + blended_cyan = '#394552', + blended_green = '#314742', blended_yellow = '#454745', - blended_purple = "#3F3B52", - blended_pink = "#5B415A", - blended_add = "#314742", - blended_change = "#483F3E", - blended_warning = "#483F3E", - blended_error = "#46333D", - blended_info = "#394552", - blended_hint = "#394552", - blended_other = "#3F3B52", + blended_purple = '#3F3B52', + blended_pink = '#5B415A', + blended_add = '#314742', + blended_change = '#483F3E', + blended_warning = '#483F3E', + blended_error = '#46333D', + blended_info = '#394552', + blended_hint = '#394552', + blended_other = '#3F3B52', } return colors diff --git a/lua/dracula/theme.lua b/lua/dracula/theme.lua index d46abca..f28300a 100644 --- a/lua/dracula/theme.lua +++ b/lua/dracula/theme.lua @@ -2,579 +2,578 @@ local hl = vim.api.nvim_set_hl local theme = {} theme.set_highlights = function(c) - -- highlights - hl(0, "Normal", { fg = c.fg, bg = c.bg }) - hl(0, "SignColumn", { fg = 'NONE', bg = c.bg }) - hl(0, "MsgArea", { link = 'Normal' }) - hl(0, "ModeMsg", { fg = c.fg, bg = c.bg, bold=true, }) - hl(0, "MsgSeparator", { fg = c.fg, bg = c.bg, bold=true, }) - hl(0, "SpellBad", { fg = c.error, bg = 'NONE', underline=true, }) - hl(0, "SpellCap", { fg = c.info, bg = 'NONE', underline=true, }) - hl(0, "SpellLocal", { fg = c.warning, bg = 'NONE', underline=true, }) - hl(0, "SpellRare", { fg = c.other, bg = 'NONE', underline=true, }) - hl(0, "NormalNC", { link = 'Normal' }) - hl(0, "Pmenu", { link = 'NormalFloat' }) - hl(0, "PmenuSel", { fg = 'NONE', bg = c.selection }) - hl(0, "WildMenu", { fg = 'NONE', bg = c.bg, bold=true, }) - hl(0, "CursorLineNr", { fg = c.pink, bg = c.bg }) - hl(0, "Comment", { fg = c.comment, bg = 'NONE', italic=true, }) - hl(0, "Folded", { fg = c.comment, bg = c.selection }) - hl(0, "FoldColumn", { fg = c.fg, bg = c.bg }) - hl(0, "LineNr", { fg = c.comment, bg = c.bg }) - hl(0, "FloatBorder", { fg = c.comment, bg = c.bgdark }) - hl(0, "Whitespace", { fg = c.bg, bg = 'NONE' }) - hl(0, "WinSeparator", { fg = c.comment, bg = c.bgdark }) - hl(0, "VertSplit", { link = 'WinSeparator' }) - hl(0, "CursorLine", { fg = 'NONE', bg = c.currentline }) - hl(0, "CursorColumn", { link = 'CursorLine' }) - hl(0, "ColorColumn", { fg = 'NONE', bg = c.bgdark }) - hl(0, "NormalFloat", { fg = c.fg, bg = c.bgdark }) - hl(0, "Visual", { fg = 'NONE', bg = c.selection }) - hl(0, "VisualNOS", { link = 'Visual' }) - hl(0, "WarningMsg", { fg = c.warning, bg = c.bg }) - hl(0, "DiffAdd", { fg = c.sign_add, bg = 'NONE', reverse=true, }) - hl(0, "DiffChange", { fg = c.sign_change, bg = 'NONE', reverse=true, }) - hl(0, "DiffDelete", { fg = c.sign_delete, bg = 'NONE', reverse=true, }) - hl(0, "QuickFixLine", { fg = 'NONE', bg = c.selection, bold=true, }) - hl(0, "PmenuSbar", { link = 'NormalFloat' }) - hl(0, "PmenuThumb", { fg = 'NONE', bg = c.pink }) - hl(0, "MatchWord", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "MatchParen", { fg = c.hint, bg = c.bg, underline=true, }) - hl(0, "MatchWordCur", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "MatchParenCur", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "Cursor", { fg = c.cursor_fg, bg = c.cursor_bg }) - hl(0, "lCursor", { fg = c.cursor_fg, bg = c.cursor_bg }) - hl(0, "CursorIM", { fg = c.cursor_fg, bg = c.cursor_bg }) - hl(0, "TermCursor", { fg = c.cursor_fg, bg = c.cursor_bg }) - hl(0, "TermCursorNC", { fg = c.cursor_fg, bg = c.cursor_bg }) - hl(0, "Conceal", { fg = c.pink, bg = 'NONE' }) - hl(0, "Directory", { fg = c.purple, bg = 'NONE' }) - hl(0, "SpecialKey", { fg = c.purple, bg = 'NONE', bold=true, }) - hl(0, "Title", { fg = c.cyan, bg = 'NONE', bold=true, }) - hl(0, "ErrorMsg", { fg = c.error, bg = c.blended_error }) - hl(0, "Search", { link = 'Visual' }) - hl(0, "IncSearch", { fg = c.cyan, bg = c.blended_cyan, bold=true, }) - hl(0, "Substitute", { link = 'IncSearch' }) - hl(0, "MoreMsg", { fg = c.cyan, bg = 'NONE', bold=true, }) - hl(0, "Question", { fg = c.cyan, bg = 'NONE', bold=true, }) - hl(0, "EndOfBuffer", { fg = c.bg, bg = 'NONE' }) - hl(0, "NonText", { fg = c.comment, bg = 'NONE' }) - hl(0, "Variable", { fg = c.fg, bg = 'NONE' }) - hl(0, "String", { fg = c.yellow, bg = 'NONE' }) - hl(0, "Character", { fg = c.yellow, bg = 'NONE' }) - hl(0, "Constant", { fg = c.purple, bg = 'NONE' }) - hl(0, "Number", { fg = c.purple, bg = 'NONE' }) - hl(0, "Boolean", { fg = c.purple, bg = 'NONE' }) - hl(0, "Float", { link = 'Number' }) - hl(0, "Identifier", { fg = c.green, bg = 'NONE' }) - hl(0, "Function", { link = 'Identifier' }) - hl(0, "Operator", { fg = c.pink, bg = 'NONE' }) - hl(0, "Type", { fg = c.cyan, bg = 'NONE', italic=true, }) - hl(0, "StorageClass", { fg = c.pink, bg = 'NONE' }) - hl(0, "Structure", { fg = c.pink, bg = 'NONE' }) - hl(0, "Typedef", { fg = c.pink, bg = 'NONE' }) - hl(0, "Keyword", { fg = c.pink, bg = 'NONE' }) - hl(0, "Statement", { fg = c.pink, bg = 'NONE' }) - hl(0, "Conditional", { fg = c.pink, bg = 'NONE' }) - hl(0, "Repeat", { fg = c.pink, bg = 'NONE' }) - hl(0, "Label", { fg = c.pink, bg = 'NONE' }) - hl(0, "Exception", { fg = c.pink, bg = 'NONE' }) - hl(0, "Include", { fg = c.pink, bg = 'NONE' }) - hl(0, "PreProc", { fg = c.pink, bg = 'NONE' }) - hl(0, "Define", { fg = c.pink, bg = 'NONE' }) - hl(0, "Macro", { fg = c.pink, bg = 'NONE' }) - hl(0, "PreCondit", { fg = c.pink, bg = 'NONE' }) - hl(0, "Special", { fg = c.pink, bg = 'NONE' }) - hl(0, "SpecialChar", { fg = c.pink, bg = 'NONE' }) - hl(0, "Tag", { fg = c.cyan, bg = 'NONE' }) - hl(0, "Debug", { fg = c.pink, bg = 'NONE' }) - hl(0, "Delimiter", { fg = c.fg, bg = 'NONE' }) - hl(0, "SpecialComment", { fg = c.pink, bg = 'NONE' }) - hl(0, "Underlined", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "Bold", { fg = 'NONE', bg = 'NONE', bold=true, }) - hl(0, "Italic", { fg = 'NONE', bg = 'NONE', italic=true, }) - hl(0, "Ignore", { fg = c.purple, bg = c.bg, bold=true, }) - hl(0, "Todo", { fg = c.cyan, bg = 'NONE', bold=true, }) - hl(0, "Error", { fg = c.error, bg = 'NONE', bold=true, }) - hl(0, "TabLine", { fg = c.comment, bg = c.bg }) - hl(0, "TabLineSel", { link = 'Normal' }) - hl(0, "TabLineFill", { fg = 'NONE', bg = c.bg }) + hl(0, 'Normal', { fg = c.fg, bg = c.bg }) + hl(0, 'SignColumn', { fg = 'NONE', bg = c.bg }) + hl(0, 'MsgArea', { link = 'Normal' }) + hl(0, 'ModeMsg', { fg = c.fg, bg = c.bg, bold = true }) + hl(0, 'MsgSeparator', { fg = c.fg, bg = c.bg, bold = true }) + hl(0, 'SpellBad', { fg = c.error, bg = 'NONE', underline = true }) + hl(0, 'SpellCap', { fg = c.info, bg = 'NONE', underline = true }) + hl(0, 'SpellLocal', { fg = c.warning, bg = 'NONE', underline = true }) + hl(0, 'SpellRare', { fg = c.other, bg = 'NONE', underline = true }) + hl(0, 'NormalNC', { link = 'Normal' }) + hl(0, 'Pmenu', { link = 'NormalFloat' }) + hl(0, 'PmenuSel', { fg = 'NONE', bg = c.selection }) + hl(0, 'WildMenu', { fg = 'NONE', bg = c.bg, bold = true }) + hl(0, 'CursorLineNr', { fg = c.pink, bg = c.bg }) + hl(0, 'Comment', { fg = c.comment, bg = 'NONE', italic = true }) + hl(0, 'Folded', { fg = c.comment, bg = c.selection }) + hl(0, 'FoldColumn', { fg = c.fg, bg = c.bg }) + hl(0, 'LineNr', { fg = c.comment, bg = c.bg }) + hl(0, 'FloatBorder', { fg = c.comment, bg = c.bgdark }) + hl(0, 'Whitespace', { fg = c.bg, bg = 'NONE' }) + hl(0, 'WinSeparator', { fg = c.comment, bg = c.bgdark }) + hl(0, 'VertSplit', { link = 'WinSeparator' }) + hl(0, 'CursorLine', { fg = 'NONE', bg = c.currentline }) + hl(0, 'CursorColumn', { link = 'CursorLine' }) + hl(0, 'ColorColumn', { fg = 'NONE', bg = c.bgdark }) + hl(0, 'NormalFloat', { fg = c.fg, bg = c.bgdark }) + hl(0, 'Visual', { fg = 'NONE', bg = c.selection }) + hl(0, 'VisualNOS', { link = 'Visual' }) + hl(0, 'WarningMsg', { fg = c.warning, bg = c.bg }) + hl(0, 'DiffAdd', { fg = c.sign_add, bg = 'NONE', reverse = true }) + hl(0, 'DiffChange', { fg = c.sign_change, bg = 'NONE', reverse = true }) + hl(0, 'DiffDelete', { fg = c.sign_delete, bg = 'NONE', reverse = true }) + hl(0, 'QuickFixLine', { fg = 'NONE', bg = c.selection, bold = true }) + hl(0, 'PmenuSbar', { link = 'NormalFloat' }) + hl(0, 'PmenuThumb', { fg = 'NONE', bg = c.pink }) + hl(0, 'MatchWord', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'MatchParen', { fg = c.hint, bg = c.bg, underline = true }) + hl(0, 'MatchWordCur', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'MatchParenCur', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'Cursor', { fg = c.cursor_fg, bg = c.cursor_bg }) + hl(0, 'lCursor', { fg = c.cursor_fg, bg = c.cursor_bg }) + hl(0, 'CursorIM', { fg = c.cursor_fg, bg = c.cursor_bg }) + hl(0, 'TermCursor', { fg = c.cursor_fg, bg = c.cursor_bg }) + hl(0, 'TermCursorNC', { fg = c.cursor_fg, bg = c.cursor_bg }) + hl(0, 'Conceal', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Directory', { fg = c.purple, bg = 'NONE' }) + hl(0, 'SpecialKey', { fg = c.purple, bg = 'NONE', bold = true }) + hl(0, 'Title', { fg = c.cyan, bg = 'NONE', bold = true }) + hl(0, 'ErrorMsg', { fg = c.error, bg = c.blended_error }) + hl(0, 'Search', { link = 'Visual' }) + hl(0, 'IncSearch', { fg = c.cyan, bg = c.blended_cyan, bold = true }) + hl(0, 'Substitute', { link = 'IncSearch' }) + hl(0, 'MoreMsg', { fg = c.cyan, bg = 'NONE', bold = true }) + hl(0, 'Question', { fg = c.cyan, bg = 'NONE', bold = true }) + hl(0, 'EndOfBuffer', { fg = c.bg, bg = 'NONE' }) + hl(0, 'NonText', { fg = c.comment, bg = 'NONE' }) + hl(0, 'Variable', { fg = c.fg, bg = 'NONE' }) + hl(0, 'String', { fg = c.yellow, bg = 'NONE' }) + hl(0, 'Character', { fg = c.yellow, bg = 'NONE' }) + hl(0, 'Constant', { fg = c.purple, bg = 'NONE' }) + hl(0, 'Number', { fg = c.purple, bg = 'NONE' }) + hl(0, 'Boolean', { fg = c.purple, bg = 'NONE' }) + hl(0, 'Float', { link = 'Number' }) + hl(0, 'Identifier', { fg = c.green, bg = 'NONE' }) + hl(0, 'Function', { link = 'Identifier' }) + hl(0, 'Operator', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Type', { fg = c.cyan, bg = 'NONE', italic = true }) + hl(0, 'StorageClass', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Structure', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Typedef', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Keyword', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Statement', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Conditional', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Repeat', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Label', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Exception', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Include', { fg = c.pink, bg = 'NONE' }) + hl(0, 'PreProc', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Define', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Macro', { fg = c.pink, bg = 'NONE' }) + hl(0, 'PreCondit', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Special', { fg = c.pink, bg = 'NONE' }) + hl(0, 'SpecialChar', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Tag', { fg = c.cyan, bg = 'NONE' }) + hl(0, 'Debug', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Delimiter', { fg = c.fg, bg = 'NONE' }) + hl(0, 'SpecialComment', { fg = c.pink, bg = 'NONE' }) + hl(0, 'Underlined', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'Bold', { fg = 'NONE', bg = 'NONE', bold = true }) + hl(0, 'Italic', { fg = 'NONE', bg = 'NONE', italic = true }) + hl(0, 'Ignore', { fg = c.purple, bg = c.bg, bold = true }) + hl(0, 'Todo', { fg = c.cyan, bg = 'NONE', bold = true }) + hl(0, 'Error', { fg = c.error, bg = 'NONE', bold = true }) + hl(0, 'TabLine', { fg = c.comment, bg = c.bg }) + hl(0, 'TabLineSel', { link = 'Normal' }) + hl(0, 'TabLineFill', { fg = 'NONE', bg = c.bg }) -- TreeSitter - hl(0, "@comment", { link = 'Comment' }) - hl(0, "@comment.documentation", { link = 'Comment' }) - hl(0, "@error", { link = 'Error' }) - hl(0, "@operator", { fg = c.pink, bg = 'NONE' }) - hl(0, "@punctuation.delimiter", { fg = c.fg, bg = 'NONE' }) - hl(0, "@punctuation.delimiter.cpp", { fg = c.pink, bg = 'NONE' }) - hl(0, "@punctuation.delimiter.yaml", { fg = c.pink, bg = 'NONE' }) - hl(0, "@punctuation.bracket", { fg = c.pink, bg = 'NONE' }) - hl(0, "@punctuation.special", { fg = c.pink, bg = 'NONE' }) - hl(0, "@string", { fg = c.yellow, bg = 'NONE' }) - hl(0, "@string.regex", { fg = c.red, bg = 'NONE' }) - hl(0, "@string.escape", { fg = c.pink, bg = 'NONE' }) - hl(0, "@string.special", { fg = c.pink, bg = 'NONE' }) - hl(0, "@character", { fg = c.yellow, bg = 'NONE' }) - hl(0, "@character.special", { fg = c.pink, bg = 'NONE' }) - hl(0, "@function", { link = 'Function' }) - hl(0, "@function.builtin", { link = '@function' }) - hl(0, "@function.call", { link = '@function' }) - hl(0, "@method", { link = '@function' }) - hl(0, "@method.call", { link = '@function' }) - hl(0, "@constructor", { fg = c.pink, bg = 'NONE' }) - hl(0, "@constructor.c_sharp", { link = '@type' }) - hl(0, "@constructor.php", { link = '@type' }) - hl(0, "@parameter", { fg = c.orange, bg = 'NONE', italic=true, }) - hl(0, "@boolean", { fg = c.purple, bg = 'NONE' }) - hl(0, "@number", { fg = c.purple, bg = 'NONE' }) - hl(0, "@float", { fg = c.purple, bg = 'NONE' }) - hl(0, "@label.json", { fg = c.cyan, bg = 'NONE' }) - hl(0, "@label.ruby", { link = '@variable.builtin' }) - hl(0, "@exception", { link = 'Exception' }) - hl(0, "@type", { link = 'Type' }) - hl(0, "@type.dart", { link = '@type' }) - hl(0, "@type.builtin", { fg = c.cyan, bg = 'NONE', italic=true, }) - hl(0, "@type.builtin.cpp", { fg = c.pink, bg = 'NONE', italic=true, }) - hl(0, "@type.definition", { link = 'Type' }) - hl(0, "@type.qualifier", { fg = c.pink, bg = 'NONE' }) - hl(0, "@storageclass", { fg = c.pink, bg = 'NONE' }) - hl(0, "@attribute", { fg = c.green, bg = 'NONE', italic=true, }) - hl(0, "@field", { fg = c.fg, bg = 'NONE' }) - hl(0, "@field.yaml", { fg = c.cyan, bg = 'NONE' }) - hl(0, "@property", { link = '@field' }) - hl(0, "@property.css", { fg = c.cyan, bg = 'NONE' }) - hl(0, "@variable", { fg = c.fg, bg = 'NONE' }) - hl(0, "@variable.builtin", { fg = c.purple, bg = 'NONE', italic=true, }) - hl(0, "@variable.global.ruby", { link = '@constant' }) - hl(0, "@constant", { fg = c.purple, bg = 'NONE' }) - hl(0, "@constant.builtin", { fg = c.purple, bg = 'NONE' }) - hl(0, "@constant.macro", { fg = c.purple, bg = 'NONE' }) - hl(0, "@namespace", { fg = c.fg, bg = 'NONE' }) - hl(0, "@symbol", { fg = c.purple, bg = 'NONE' }) - hl(0, "@text", { fg = c.fg, bg = 'NONE' }) - hl(0, "@text.strong", { fg = c.orange, bg = 'NONE', bold=true, }) - hl(0, "@text.emphasis", { fg = c.green, bg = 'NONE', italic=true, }) - hl(0, "@text.strike", { fg = c.yellow, bg = 'NONE', strikethrough=true, }) - hl(0, "@text.title", { fg = c.cyan, bg = 'NONE', bold=true, }) - hl(0, "@text.title.markdown", { fg = c.purple, bg = 'NONE', bold=true, }) - hl(0, "@text.literal", { fg = c.green, bg = 'NONE', italic=true, }) - hl(0, "@text.quote", { fg = c.yellow, bg = 'NONE' }) - hl(0, "@text.uri", { fg = c.cyan, bg = 'NONE' }) - hl(0, "@text.math", { fg = c.pink, bg = 'NONE' }) - hl(0, "@text.reference", { fg = c.pink, bg = 'NONE' }) - hl(0, "@text.todo", { link = 'Todo' }) - hl(0, "@text.warning", { link = 'WarningMsg' }) - hl(0, "@text.danger", { link = 'ErrorMsg' }) - hl(0, "@text.diff.add", { link = 'DiffAdd' }) - hl(0, "@text.diff.delete", { link = 'DiffDelete' }) - hl(0, "@tag", { fg = c.pink, bg = 'NONE' }) - hl(0, "@tag.attribute", { fg = c.green, bg = 'NONE' }) - hl(0, "@tag.delimiter", { fg = c.fg, bg = 'NONE' }) + hl(0, '@comment', { link = 'Comment' }) + hl(0, '@comment.documentation', { link = 'Comment' }) + hl(0, '@error', { link = 'Error' }) + hl(0, '@operator', { fg = c.pink, bg = 'NONE' }) + hl(0, '@punctuation.delimiter', { fg = c.fg, bg = 'NONE' }) + hl(0, '@punctuation.delimiter.cpp', { fg = c.pink, bg = 'NONE' }) + hl(0, '@punctuation.delimiter.yaml', { fg = c.pink, bg = 'NONE' }) + hl(0, '@punctuation.bracket', { fg = c.pink, bg = 'NONE' }) + hl(0, '@punctuation.special', { fg = c.pink, bg = 'NONE' }) + hl(0, '@string', { fg = c.yellow, bg = 'NONE' }) + hl(0, '@string.regex', { fg = c.red, bg = 'NONE' }) + hl(0, '@string.escape', { fg = c.pink, bg = 'NONE' }) + hl(0, '@string.special', { fg = c.pink, bg = 'NONE' }) + hl(0, '@character', { fg = c.yellow, bg = 'NONE' }) + hl(0, '@character.special', { fg = c.pink, bg = 'NONE' }) + hl(0, '@function', { link = 'Function' }) + hl(0, '@function.builtin', { link = '@function' }) + hl(0, '@function.call', { link = '@function' }) + hl(0, '@method', { link = '@function' }) + hl(0, '@method.call', { link = '@function' }) + hl(0, '@constructor', { fg = c.pink, bg = 'NONE' }) + hl(0, '@constructor.c_sharp', { link = '@type' }) + hl(0, '@constructor.php', { link = '@type' }) + hl(0, '@parameter', { fg = c.orange, bg = 'NONE', italic = true }) + hl(0, '@boolean', { fg = c.purple, bg = 'NONE' }) + hl(0, '@number', { fg = c.purple, bg = 'NONE' }) + hl(0, '@float', { fg = c.purple, bg = 'NONE' }) + hl(0, '@label.json', { fg = c.cyan, bg = 'NONE' }) + hl(0, '@label.ruby', { link = '@variable.builtin' }) + hl(0, '@exception', { link = 'Exception' }) + hl(0, '@type', { link = 'Type' }) + hl(0, '@type.dart', { link = '@type' }) + hl(0, '@type.builtin', { fg = c.cyan, bg = 'NONE', italic = true }) + hl(0, '@type.builtin.cpp', { fg = c.pink, bg = 'NONE', italic = true }) + hl(0, '@type.definition', { link = 'Type' }) + hl(0, '@type.qualifier', { fg = c.pink, bg = 'NONE' }) + hl(0, '@storageclass', { fg = c.pink, bg = 'NONE' }) + hl(0, '@attribute', { fg = c.green, bg = 'NONE', italic = true }) + hl(0, '@field', { fg = c.fg, bg = 'NONE' }) + hl(0, '@field.yaml', { fg = c.cyan, bg = 'NONE' }) + hl(0, '@property', { link = '@field' }) + hl(0, '@property.css', { fg = c.cyan, bg = 'NONE' }) + hl(0, '@variable', { fg = c.fg, bg = 'NONE' }) + hl(0, '@variable.builtin', { fg = c.purple, bg = 'NONE', italic = true }) + hl(0, '@variable.global.ruby', { link = '@constant' }) + hl(0, '@constant', { fg = c.purple, bg = 'NONE' }) + hl(0, '@constant.builtin', { fg = c.purple, bg = 'NONE' }) + hl(0, '@constant.macro', { fg = c.purple, bg = 'NONE' }) + hl(0, '@namespace', { fg = c.fg, bg = 'NONE' }) + hl(0, '@symbol', { fg = c.purple, bg = 'NONE' }) + hl(0, '@text', { fg = c.fg, bg = 'NONE' }) + hl(0, '@text.strong', { fg = c.orange, bg = 'NONE', bold = true }) + hl(0, '@text.emphasis', { fg = c.green, bg = 'NONE', italic = true }) + hl(0, '@text.strike', { fg = c.yellow, bg = 'NONE', strikethrough = true }) + hl(0, '@text.title', { fg = c.cyan, bg = 'NONE', bold = true }) + hl(0, '@text.title.markdown', { fg = c.purple, bg = 'NONE', bold = true }) + hl(0, '@text.literal', { fg = c.green, bg = 'NONE', italic = true }) + hl(0, '@text.quote', { fg = c.yellow, bg = 'NONE' }) + hl(0, '@text.uri', { fg = c.cyan, bg = 'NONE' }) + hl(0, '@text.math', { fg = c.pink, bg = 'NONE' }) + hl(0, '@text.reference', { fg = c.pink, bg = 'NONE' }) + hl(0, '@text.todo', { link = 'Todo' }) + hl(0, '@text.warning', { link = 'WarningMsg' }) + hl(0, '@text.danger', { link = 'ErrorMsg' }) + hl(0, '@text.diff.add', { link = 'DiffAdd' }) + hl(0, '@text.diff.delete', { link = 'DiffDelete' }) + hl(0, '@tag', { fg = c.pink, bg = 'NONE' }) + hl(0, '@tag.attribute', { fg = c.green, bg = 'NONE' }) + hl(0, '@tag.delimiter', { fg = c.fg, bg = 'NONE' }) -- Semantic - hl(0, "@lsp.type.namespace", { link = '@namespace' }) - hl(0, "@lsp.type.type", { link = '@type' }) - hl(0, "@lsp.type.typeParameter", { link = '@type' }) - hl(0, "@lsp.type.class", { link = '@type' }) - hl(0, "@lsp.type.enum", { link = '@type' }) - hl(0, "@lsp.type.interface", { link = '@type' }) - hl(0, "@lsp.type.struct", { link = 'Structure' }) - hl(0, "@lsp.type.parameter", { link = '@parameter' }) - hl(0, "@lsp.type.variable", { link = '@variable' }) - hl(0, "@lsp.type.variable.lua", { fg = 'NONE', bg = 'NONE' }) - hl(0, "@lsp.type.property", { link = '@property' }) - hl(0, "@lsp.type.enumMember", { link = '@constant' }) - hl(0, "@lsp.type.function", { link = '@function' }) - hl(0, "@lsp.type.method", { link = '@method' }) - hl(0, "@lsp.type.macro", { link = '@macro' }) - hl(0, "@lsp.type.decorator", { link = '@function' }) - hl(0, "@lsp.typemod.variable.defaultLibrary", { link = '@constant' }) - hl(0, "@lsp.typemod.parameter.readyonly", { link = 'Italic' }) - hl(0, "@lsp.typemod.variable.readonly", { link = '@constant' }) - hl(0, "@lsp.typemod.variable.global", { link = '@constant' }) - hl(0, "@lsp.typemod.keyword.documentation", { link = '@keyword' }) - hl(0, "@lsp.typemod.class.documentation", { link = '@type' }) - hl(0, "@lsp.typemod.property.readonly", { link = '@constant' }) + hl(0, '@lsp.type.namespace', { link = '@namespace' }) + hl(0, '@lsp.type.type', { link = '@type' }) + hl(0, '@lsp.type.typeParameter', { link = '@type' }) + hl(0, '@lsp.type.class', { link = '@type' }) + hl(0, '@lsp.type.enum', { link = '@type' }) + hl(0, '@lsp.type.interface', { link = '@type' }) + hl(0, '@lsp.type.struct', { link = 'Structure' }) + hl(0, '@lsp.type.parameter', { link = '@parameter' }) + hl(0, '@lsp.type.variable', { link = '@variable' }) + hl(0, '@lsp.type.variable.lua', { fg = 'NONE', bg = 'NONE' }) + hl(0, '@lsp.type.property', { link = '@property' }) + hl(0, '@lsp.type.enumMember', { link = '@constant' }) + hl(0, '@lsp.type.function', { link = '@function' }) + hl(0, '@lsp.type.method', { link = '@method' }) + hl(0, '@lsp.type.macro', { link = '@macro' }) + hl(0, '@lsp.type.decorator', { link = '@function' }) + hl(0, '@lsp.typemod.variable.defaultLibrary', { link = '@constant' }) + hl(0, '@lsp.typemod.parameter.readyonly', { link = 'Italic' }) + hl(0, '@lsp.typemod.variable.readonly', { link = '@constant' }) + hl(0, '@lsp.typemod.variable.global', { link = '@constant' }) + hl(0, '@lsp.typemod.keyword.documentation', { link = '@keyword' }) + hl(0, '@lsp.typemod.class.documentation', { link = '@type' }) + hl(0, '@lsp.typemod.property.readonly', { link = '@constant' }) -- Whichkey - hl(0, "WhichKey", { fg = c.fg, bg = 'NONE' }) - hl(0, "WhichKeySeparator", { fg = c.pink, bg = 'NONE' }) - hl(0, "WhichKeyGroup", { fg = c.green, bg = 'NONE' }) - hl(0, "WhichKeyDesc", { fg = c.cyan, bg = 'NONE' }) - hl(0, "WhichKeyFloat", { link = 'NormalFloat' }) + hl(0, 'WhichKey', { fg = c.fg, bg = 'NONE' }) + hl(0, 'WhichKeySeparator', { fg = c.pink, bg = 'NONE' }) + hl(0, 'WhichKeyGroup', { fg = c.green, bg = 'NONE' }) + hl(0, 'WhichKeyDesc', { fg = c.cyan, bg = 'NONE' }) + hl(0, 'WhichKeyFloat', { link = 'NormalFloat' }) -- Git - hl(0, "SignAdd", { fg = c.sign_add, bg = 'NONE' }) - hl(0, "SignChange", { fg = c.sign_change, bg = 'NONE' }) - hl(0, "SignDelete", { fg = c.sign_delete, bg = 'NONE' }) - hl(0, "GitSignsAdd", { fg = c.sign_add, bg = 'NONE' }) - hl(0, "GitSignsChange", { fg = c.sign_change, bg = 'NONE' }) - hl(0, "GitSignsDelete", { fg = c.sign_delete, bg = 'NONE' }) - hl(0, "GitSignsAddInline", { fg = c.green, bg = c.blended_green }) - hl(0, "GitSignsChangeInline", { fg = c.orange, bg = c.blended_orange }) - hl(0, "GitSignsDeleteInline", { fg = c.red, bg = c.blended_red }) + hl(0, 'SignAdd', { fg = c.sign_add, bg = 'NONE' }) + hl(0, 'SignChange', { fg = c.sign_change, bg = 'NONE' }) + hl(0, 'SignDelete', { fg = c.sign_delete, bg = 'NONE' }) + hl(0, 'GitSignsAdd', { fg = c.sign_add, bg = 'NONE' }) + hl(0, 'GitSignsChange', { fg = c.sign_change, bg = 'NONE' }) + hl(0, 'GitSignsDelete', { fg = c.sign_delete, bg = 'NONE' }) + hl(0, 'GitSignsAddInline', { fg = c.green, bg = c.blended_green }) + hl(0, 'GitSignsChangeInline', { fg = c.orange, bg = c.blended_orange }) + hl(0, 'GitSignsDeleteInline', { fg = c.red, bg = c.blended_red }) -- Illuminate - hl(0, "illuminatedWord", { fg = 'NONE', bg = c.selection }) - hl(0, "illuminatedCurWord", { link = 'illuminatedWord' }) - hl(0, "IlluminatedWordText", { link = 'illuminatedWord' }) - hl(0, "IlluminatedWordRead", { link = 'illuminatedWord' }) - hl(0, "IlluminatedWordWrite", { link = 'illuminatedWord' }) + hl(0, 'illuminatedWord', { fg = 'NONE', bg = c.selection }) + hl(0, 'illuminatedCurWord', { link = 'illuminatedWord' }) + hl(0, 'IlluminatedWordText', { link = 'illuminatedWord' }) + hl(0, 'IlluminatedWordRead', { link = 'illuminatedWord' }) + hl(0, 'IlluminatedWordWrite', { link = 'illuminatedWord' }) -- LSP - hl(0, "LspDiagnosticsDefaultError", { fg = c.error, bg = 'NONE' }) - hl(0, "LspDiagnosticsDefaultWarning", { fg = c.warning, bg = 'NONE' }) - hl(0, "LspDiagnosticsDefaultInformation", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsDefaultInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsDefaultHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "LspDiagnosticsVirtualTextError", { fg = c.error, bg = 'NONE' }) - hl(0, "LspDiagnosticsVirtualTextWarning", { fg = c.warning, bg = 'NONE' }) - hl(0, "LspDiagnosticsVirtualTextInformation", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsVirtualTextInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsVirtualTextHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "LspDiagnosticsFloatingError", { fg = c.error, bg = 'NONE' }) - hl(0, "LspDiagnosticsFloatingWarning", { fg = c.warning, bg = 'NONE' }) - hl(0, "LspDiagnosticsFloatingInformation", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsFloatingInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsFloatingHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "DiagnosticHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "DiagnosticInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "DiagnosticError", { fg = c.error, bg = 'NONE' }) - hl(0, "DiagnosticOther", { fg = c.other, bg = 'NONE' }) - hl(0, "DiagnosticVirtualTextHint", { fg = c.hint, bg = c.blended_hint }) - hl(0, "DiagnosticVirtualTextInfo", { fg = c.info, bg = c.blended_info }) - hl(0, "DiagnosticVirtualTextWarn", { fg = c.warning, bg = c.blended_warning }) - hl(0, "DiagnosticVirtualTextError", { fg = c.error, bg = c.blended_error }) - hl(0, "DiagnosticFloatingHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "DiagnosticFloatingInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "DiagnosticFloatingWarn", { fg = c.warning, bg = 'NONE' }) - hl(0, "DiagnosticFloatingError", { fg = c.error, bg = 'NONE' }) - hl(0, "DiagnosticUnderlineHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "DiagnosticUnderlineInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "DiagnosticUnderlineWarn", { fg = c.warning, bg = 'NONE' }) - hl(0, "DiagnosticUnderlineError", { fg = c.error, bg = 'NONE' }) - hl(0, "DiagnosticSignError", { fg = c.error, bg = 'NONE' }) - hl(0, "DiagnosticSignWarning", { fg = c.warning, bg = 'NONE' }) - hl(0, "DiagnosticSignInformation", { fg = c.info, bg = 'NONE' }) - hl(0, "DiagnosticSignInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "DiagnosticSignHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "DiagnosticSignOther", { fg = c.other, bg = 'NONE' }) - hl(0, "LspDiagnosticsSignError", { fg = c.error, bg = 'NONE' }) - hl(0, "LspDiagnosticsSignWarning", { fg = c.warning, bg = 'NONE' }) - hl(0, "LspDiagnosticsSignInformation", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsSignInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsSignHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "LspDiagnosticsError", { fg = c.error, bg = 'NONE' }) - hl(0, "LspDiagnosticsWarning", { fg = c.warning, bg = 'NONE' }) - hl(0, "LspDiagnosticsInformation", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsInfo", { fg = c.info, bg = 'NONE' }) - hl(0, "LspDiagnosticsHint", { fg = c.hint, bg = 'NONE' }) - hl(0, "LspDiagnosticsUnderlineError", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "LspDiagnosticsUnderlineWarning", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "LspDiagnosticsUnderlineInformation", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "LspDiagnosticsUnderlineInfo", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "LspDiagnosticsUnderlineHint", { fg = 'NONE', bg = 'NONE', underline=true, }) - hl(0, "LspReferenceRead", { fg = 'NONE', bg = c.selection }) - hl(0, "LspReferenceText", { fg = 'NONE', bg = c.selection }) - hl(0, "LspReferenceWrite", { fg = 'NONE', bg = c.selection }) + hl(0, 'LspDiagnosticsDefaultError', { fg = c.error, bg = 'NONE' }) + hl(0, 'LspDiagnosticsDefaultWarning', { fg = c.warning, bg = 'NONE' }) + hl(0, 'LspDiagnosticsDefaultInformation', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsDefaultInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsDefaultHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'LspDiagnosticsVirtualTextError', { fg = c.error, bg = 'NONE' }) + hl(0, 'LspDiagnosticsVirtualTextWarning', { fg = c.warning, bg = 'NONE' }) + hl(0, 'LspDiagnosticsVirtualTextInformation', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsVirtualTextInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsVirtualTextHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'LspDiagnosticsFloatingError', { fg = c.error, bg = 'NONE' }) + hl(0, 'LspDiagnosticsFloatingWarning', { fg = c.warning, bg = 'NONE' }) + hl(0, 'LspDiagnosticsFloatingInformation', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsFloatingInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsFloatingHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'DiagnosticHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'DiagnosticInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'DiagnosticError', { fg = c.error, bg = 'NONE' }) + hl(0, 'DiagnosticOther', { fg = c.other, bg = 'NONE' }) + hl(0, 'DiagnosticVirtualTextHint', { fg = c.hint, bg = c.blended_hint }) + hl(0, 'DiagnosticVirtualTextInfo', { fg = c.info, bg = c.blended_info }) + hl(0, 'DiagnosticVirtualTextWarn', { fg = c.warning, bg = c.blended_warning }) + hl(0, 'DiagnosticVirtualTextError', { fg = c.error, bg = c.blended_error }) + hl(0, 'DiagnosticFloatingHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'DiagnosticFloatingInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'DiagnosticFloatingWarn', { fg = c.warning, bg = 'NONE' }) + hl(0, 'DiagnosticFloatingError', { fg = c.error, bg = 'NONE' }) + hl(0, 'DiagnosticUnderlineHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'DiagnosticUnderlineInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'DiagnosticUnderlineWarn', { fg = c.warning, bg = 'NONE' }) + hl(0, 'DiagnosticUnderlineError', { fg = c.error, bg = 'NONE' }) + hl(0, 'DiagnosticSignError', { fg = c.error, bg = 'NONE' }) + hl(0, 'DiagnosticSignWarning', { fg = c.warning, bg = 'NONE' }) + hl(0, 'DiagnosticSignInformation', { fg = c.info, bg = 'NONE' }) + hl(0, 'DiagnosticSignInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'DiagnosticSignHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'DiagnosticSignOther', { fg = c.other, bg = 'NONE' }) + hl(0, 'LspDiagnosticsSignError', { fg = c.error, bg = 'NONE' }) + hl(0, 'LspDiagnosticsSignWarning', { fg = c.warning, bg = 'NONE' }) + hl(0, 'LspDiagnosticsSignInformation', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsSignInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsSignHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'LspDiagnosticsError', { fg = c.error, bg = 'NONE' }) + hl(0, 'LspDiagnosticsWarning', { fg = c.warning, bg = 'NONE' }) + hl(0, 'LspDiagnosticsInformation', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsInfo', { fg = c.info, bg = 'NONE' }) + hl(0, 'LspDiagnosticsHint', { fg = c.hint, bg = 'NONE' }) + hl(0, 'LspDiagnosticsUnderlineError', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'LspDiagnosticsUnderlineWarning', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'LspDiagnosticsUnderlineInformation', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'LspDiagnosticsUnderlineInfo', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'LspDiagnosticsUnderlineHint', { fg = 'NONE', bg = 'NONE', underline = true }) + hl(0, 'LspReferenceRead', { fg = 'NONE', bg = c.selection }) + hl(0, 'LspReferenceText', { fg = 'NONE', bg = c.selection }) + hl(0, 'LspReferenceWrite', { fg = 'NONE', bg = c.selection }) -- LspSaga - hl(0, "SagaNormal", { link = 'NormalFloat' }) - hl(0, "SagaWinbarModule", { link = '@namespace' }) - hl(0, "SagaWinbarInterface", { link = '@type' }) - hl(0, "SagaWinbarConstructor", { link = '@constructor' }) - hl(0, "SagaWinbarStruct", { link = '@structure' }) - hl(0, "SagaWinbarObject", { link = '@field' }) - hl(0, "SagaWinbarUnit", { link = '@number' }) - hl(0, "SagaWinbarFile", { fg = c.fg, bg = 'NONE' }) - hl(0, "SagaWinbarSnippet", { fg = c.fg, bg = 'NONE' }) - hl(0, "SagaWinbarText", { link = '@string' }) - hl(0, "SagaWinbarTypeAlias", { link = '@type' }) - hl(0, "SagaWinbarEvent", { link = '@function' }) - hl(0, "SagaWinbarParameter", { link = '@parameter' }) - hl(0, "SagaWinbarKey", { link = '@keyword' }) - hl(0, "SagaWinbarValue", { fg = c.fg, bg = 'NONE' }) - hl(0, "SagaWinbarMacro", { link = 'Macro' }) - hl(0, "SagaWinbarNumber", { link = '@number' }) - hl(0, "SagaWinbarConstant", { link = '@constant' }) - hl(0, "SagaWinbarFunction", { link = '@function' }) - hl(0, "SagaWinbarEnum", { link = '@type' }) - hl(0, "SagaWinbarField", { link = '@field' }) - hl(0, "SagaWinbarProperty", { link = '@property' }) - hl(0, "SagaWinbarMethod", { link = '@method' }) - hl(0, "SagaWinbarClass", { link = '@type' }) - hl(0, "SagaWinbarFolder", { link = 'Directory' }) - hl(0, "SagaWinbarPackage", { link = 'Directory' }) - hl(0, "SagaWinbarStaticMethod", { link = '@method' }) - hl(0, "SagaWinbarTypeParameter", { link = '@type' }) - hl(0, "SagaWinbarEnumMember", { link = '@constant' }) - hl(0, "SagaWinbarOperator", { link = '@operator' }) - hl(0, "SagaWinbarNull", { link = '@constant' }) - hl(0, "SagaWinbarNamespace", { link = '@namespace' }) - hl(0, "SagaWinbarArray", { link = '@keyword' }) - hl(0, "SagaWinbarBoolean", { link = '@boolean' }) - hl(0, "SagaWinbarString", { link = '@string' }) - hl(0, "SagaWinbarVariable", { link = '@variable' }) - hl(0, "SagaWinbarFilename", { fg = c.fg, bg = 'NONE' }) - hl(0, "SagaWinbarFolderName", { fg = c.fg, bg = 'NONE' }) - hl(0, "SagaWinbarFileIcon", { link = 'Directory' }) - hl(0, "SagaWinbarSep", { fg = c.pink, bg = 'NONE' }) + hl(0, 'SagaNormal', { link = 'NormalFloat' }) + hl(0, 'SagaWinbarModule', { link = '@namespace' }) + hl(0, 'SagaWinbarInterface', { link = '@type' }) + hl(0, 'SagaWinbarConstructor', { link = '@constructor' }) + hl(0, 'SagaWinbarStruct', { link = '@structure' }) + hl(0, 'SagaWinbarObject', { link = '@field' }) + hl(0, 'SagaWinbarUnit', { link = '@number' }) + hl(0, 'SagaWinbarFile', { fg = c.fg, bg = 'NONE' }) + hl(0, 'SagaWinbarSnippet', { fg = c.fg, bg = 'NONE' }) + hl(0, 'SagaWinbarText', { link = '@string' }) + hl(0, 'SagaWinbarTypeAlias', { link = '@type' }) + hl(0, 'SagaWinbarEvent', { link = '@function' }) + hl(0, 'SagaWinbarParameter', { link = '@parameter' }) + hl(0, 'SagaWinbarKey', { link = '@keyword' }) + hl(0, 'SagaWinbarValue', { fg = c.fg, bg = 'NONE' }) + hl(0, 'SagaWinbarMacro', { link = 'Macro' }) + hl(0, 'SagaWinbarNumber', { link = '@number' }) + hl(0, 'SagaWinbarConstant', { link = '@constant' }) + hl(0, 'SagaWinbarFunction', { link = '@function' }) + hl(0, 'SagaWinbarEnum', { link = '@type' }) + hl(0, 'SagaWinbarField', { link = '@field' }) + hl(0, 'SagaWinbarProperty', { link = '@property' }) + hl(0, 'SagaWinbarMethod', { link = '@method' }) + hl(0, 'SagaWinbarClass', { link = '@type' }) + hl(0, 'SagaWinbarFolder', { link = 'Directory' }) + hl(0, 'SagaWinbarPackage', { link = 'Directory' }) + hl(0, 'SagaWinbarStaticMethod', { link = '@method' }) + hl(0, 'SagaWinbarTypeParameter', { link = '@type' }) + hl(0, 'SagaWinbarEnumMember', { link = '@constant' }) + hl(0, 'SagaWinbarOperator', { link = '@operator' }) + hl(0, 'SagaWinbarNull', { link = '@constant' }) + hl(0, 'SagaWinbarNamespace', { link = '@namespace' }) + hl(0, 'SagaWinbarArray', { link = '@keyword' }) + hl(0, 'SagaWinbarBoolean', { link = '@boolean' }) + hl(0, 'SagaWinbarString', { link = '@string' }) + hl(0, 'SagaWinbarVariable', { link = '@variable' }) + hl(0, 'SagaWinbarFilename', { fg = c.fg, bg = 'NONE' }) + hl(0, 'SagaWinbarFolderName', { fg = c.fg, bg = 'NONE' }) + hl(0, 'SagaWinbarFileIcon', { link = 'Directory' }) + hl(0, 'SagaWinbarSep', { fg = c.pink, bg = 'NONE' }) -- Telescope - hl(0, "TelescopeTitle", { fg = c.cyan, bg = c.blended_cyan }) - hl(0, "TelescopeNormal", { link = 'NormalFloat' }) - hl(0, "TelescopeSelection", { fg = c.fg, bg = c.selection }) - hl(0, "TelescopeSelectionCaret", { fg = c.pink, bg = c.selection }) - hl(0, "TelescopeMatching", { link = 'IncSearch' }) - hl(0, "TelescopeBorder", { link = 'WinSeparator' }) + hl(0, 'TelescopeTitle', { fg = c.cyan, bg = c.blended_cyan }) + hl(0, 'TelescopeNormal', { link = 'NormalFloat' }) + hl(0, 'TelescopeSelection', { fg = c.fg, bg = c.selection }) + hl(0, 'TelescopeSelectionCaret', { fg = c.pink, bg = c.selection }) + hl(0, 'TelescopeMatching', { link = 'IncSearch' }) + hl(0, 'TelescopeBorder', { link = 'WinSeparator' }) -- NvimTree - hl(0, "NvimTreeRootFolder", { link = 'Directory' }) - hl(0, "NvimTreeFolderIcon", { link = 'Directory' }) - hl(0, "NvimTreeIndentMarker", { link = 'Directory' }) - hl(0, "NvimTreeNormal", { link = 'NormalFloat' }) - hl(0, "NvimTreeWinSeparator", { fg = c.bgdark, bg = c.bgdark }) - hl(0, "NvimTreeVertSplit", { link = 'VertSplit' }) - hl(0, "NvimTreeFolderName", { fg = c.fg, bg = 'NONE' }) - hl(0, "NvimTreeOpenedFolderName", { link = 'Directory' }) - hl(0, "NvimTreeEmptyFolderName", { fg = c.purple, bg = 'NONE', italic=true, }) - hl(0, "NvimTreeGitIgnored", { fg = c.comment, bg = 'NONE', italic=true, }) - hl(0, "NvimTreeEndOfBuffer", { fg = c.bgdark, bg = 'NONE' }) - hl(0, "NvimTreeCursorLine", { link = 'CursorLine' }) - hl(0, "NvimTreeGitStaged", { fg = c.sign_add, bg = 'NONE' }) - hl(0, "NvimTreeGitNew", { fg = c.sign_add, bg = 'NONE' }) - hl(0, "NvimTreeGitRenamed", { fg = c.sign_add, bg = 'NONE' }) - hl(0, "NvimTreeGitDeleted", { fg = c.sign_delete, bg = 'NONE' }) - hl(0, "NvimTreeGitMerge", { fg = c.sign_change, bg = 'NONE' }) - hl(0, "NvimTreeGitDirty", { fg = c.sign_change, bg = 'NONE' }) + hl(0, 'NvimTreeRootFolder', { link = 'Directory' }) + hl(0, 'NvimTreeFolderIcon', { link = 'Directory' }) + hl(0, 'NvimTreeIndentMarker', { link = 'Directory' }) + hl(0, 'NvimTreeNormal', { link = 'NormalFloat' }) + hl(0, 'NvimTreeWinSeparator', { fg = c.bgdark, bg = c.bgdark }) + hl(0, 'NvimTreeVertSplit', { link = 'VertSplit' }) + hl(0, 'NvimTreeFolderName', { fg = c.fg, bg = 'NONE' }) + hl(0, 'NvimTreeOpenedFolderName', { link = 'Directory' }) + hl(0, 'NvimTreeEmptyFolderName', { fg = c.purple, bg = 'NONE', italic = true }) + hl(0, 'NvimTreeGitIgnored', { fg = c.comment, bg = 'NONE', italic = true }) + hl(0, 'NvimTreeEndOfBuffer', { fg = c.bgdark, bg = 'NONE' }) + hl(0, 'NvimTreeCursorLine', { link = 'CursorLine' }) + hl(0, 'NvimTreeGitStaged', { fg = c.sign_add, bg = 'NONE' }) + hl(0, 'NvimTreeGitNew', { fg = c.sign_add, bg = 'NONE' }) + hl(0, 'NvimTreeGitRenamed', { fg = c.sign_add, bg = 'NONE' }) + hl(0, 'NvimTreeGitDeleted', { fg = c.sign_delete, bg = 'NONE' }) + hl(0, 'NvimTreeGitMerge', { fg = c.sign_change, bg = 'NONE' }) + hl(0, 'NvimTreeGitDirty', { fg = c.sign_change, bg = 'NONE' }) -- NeoTree - hl(0, "NeoTreeNormal", { link = 'NormalFloat' }) - hl(0, "NeoTreeNormalNC", { link = 'NormalFloat' }) - hl(0, "NeoTreeEndOfBuffer", { fg = c.bgdark, bg = 'NONE' }) - hl(0, "NeoTreeRootName", { link = 'Directory' }) - hl(0, "NeoTreeFileName", { fg = c.fg, bg = 'NONE' }) - hl(0, "NeoTreeFileNameOpened", { fg = c.purple, bg = 'NONE', bold=true, }) - hl(0, "NeoTreeFloatBorder", { link = 'WinSeparator' }) - hl(0, "NeoTreeFloatTitle", { link = 'Title' }) - hl(0, "NeoTreeGitAdded", { fg = c.sign_add, bg = 'NONE' }) - hl(0, "NeoTreeGitConflict", { fg = c.sign_change, bg = 'NONE' }) - hl(0, "NeoTreeGitDeleted", { fg = c.sign_delete, bg = 'NONE' }) - hl(0, "NeoTreeGitIgnored", { fg = c.comment, bg = 'NONE', italic=true, }) - hl(0, "NeoTreeGitModified", { fg = c.sign_change, bg = 'NONE' }) - hl(0, "NeoTreeGitUnstaged", { fg = c.sign_change, bg = 'NONE' }) - hl(0, "NeoTreeGitUntracked", { fg = c.sign_change, bg = 'NONE' }) - hl(0, "NeoTreeGitStaged", { fg = c.sign_add, bg = 'NONE' }) - hl(0, "NeoTreeIndentMarker", { fg = c.blended_purple, bg = 'NONE' }) + hl(0, 'NeoTreeNormal', { link = 'NormalFloat' }) + hl(0, 'NeoTreeNormalNC', { link = 'NormalFloat' }) + hl(0, 'NeoTreeEndOfBuffer', { fg = c.bgdark, bg = 'NONE' }) + hl(0, 'NeoTreeRootName', { link = 'Directory' }) + hl(0, 'NeoTreeFileName', { fg = c.fg, bg = 'NONE' }) + hl(0, 'NeoTreeFileNameOpened', { fg = c.purple, bg = 'NONE', bold = true }) + hl(0, 'NeoTreeFloatBorder', { link = 'WinSeparator' }) + hl(0, 'NeoTreeFloatTitle', { link = 'Title' }) + hl(0, 'NeoTreeGitAdded', { fg = c.sign_add, bg = 'NONE' }) + hl(0, 'NeoTreeGitConflict', { fg = c.sign_change, bg = 'NONE' }) + hl(0, 'NeoTreeGitDeleted', { fg = c.sign_delete, bg = 'NONE' }) + hl(0, 'NeoTreeGitIgnored', { fg = c.comment, bg = 'NONE', italic = true }) + hl(0, 'NeoTreeGitModified', { fg = c.sign_change, bg = 'NONE' }) + hl(0, 'NeoTreeGitUnstaged', { fg = c.sign_change, bg = 'NONE' }) + hl(0, 'NeoTreeGitUntracked', { fg = c.sign_change, bg = 'NONE' }) + hl(0, 'NeoTreeGitStaged', { fg = c.sign_add, bg = 'NONE' }) + hl(0, 'NeoTreeIndentMarker', { fg = c.blended_purple, bg = 'NONE' }) -- Dap - hl(0, "DapUINormal", { link = 'NormalFloat' }) + hl(0, 'DapUINormal', { link = 'NormalFloat' }) -- StatusLine - hl(0, "StatusLine", { fg = c.fg, bg = c.bgdark }) - hl(0, "StatusLineNC", { fg = c.bgdark, bg = c.bgdark }) - hl(0, "StatusLineSeparator", { fg = c.bgdark, bg = 'NONE' }) - hl(0, "StatusLineTerm", { fg = c.bgdark, bg = 'NONE' }) - hl(0, "StatusLineTermNC", { fg = c.bgdark, bg = 'NONE' }) + hl(0, 'StatusLine', { fg = c.fg, bg = c.bgdark }) + hl(0, 'StatusLineNC', { fg = c.bgdark, bg = c.bgdark }) + hl(0, 'StatusLineSeparator', { fg = c.bgdark, bg = 'NONE' }) + hl(0, 'StatusLineTerm', { fg = c.bgdark, bg = 'NONE' }) + hl(0, 'StatusLineTermNC', { fg = c.bgdark, bg = 'NONE' }) -- Dashboard - hl(0, "DashboardHeader", { fg = c.red, bg = 'NONE' }) - hl(0, "DashboardCenter", { fg = c.fg, bg = 'NONE' }) - hl(0, "DashboardFooter", { fg = c.comment, bg = 'NONE' }) - hl(0, "DashboardProjectTitle", { link = 'Title' }) - hl(0, "DashboardProjectTitleIcon", { link = 'Title' }) - hl(0, "DashboardProjectIcon", { fg = c.purple, bg = 'NONE' }) - hl(0, "DashboardMruTitle", { link = 'Title' }) - hl(0, "DashboardMruIcon", { link = 'Title' }) - hl(0, "DashboardFiles", { fg = c.fg, bg = 'NONE' }) - hl(0, "DashboardShotCutIcon", { fg = c.cyan, bg = 'NONE' }) - hl(0, "DashboardDesc", { fg = c.cyan, bg = 'NONE' }) - hl(0, "DashboardKey", { fg = c.purple, bg = 'NONE' }) - hl(0, "DashboardIcon", { fg = c.cyan, bg = 'NONE' }) - hl(0, "DashboardShotCut", { fg = c.purple, bg = 'NONE' }) + hl(0, 'DashboardHeader', { fg = c.red, bg = 'NONE' }) + hl(0, 'DashboardCenter', { fg = c.fg, bg = 'NONE' }) + hl(0, 'DashboardFooter', { fg = c.comment, bg = 'NONE' }) + hl(0, 'DashboardProjectTitle', { link = 'Title' }) + hl(0, 'DashboardProjectTitleIcon', { link = 'Title' }) + hl(0, 'DashboardProjectIcon', { fg = c.purple, bg = 'NONE' }) + hl(0, 'DashboardMruTitle', { link = 'Title' }) + hl(0, 'DashboardMruIcon', { link = 'Title' }) + hl(0, 'DashboardFiles', { fg = c.fg, bg = 'NONE' }) + hl(0, 'DashboardShotCutIcon', { fg = c.cyan, bg = 'NONE' }) + hl(0, 'DashboardDesc', { fg = c.cyan, bg = 'NONE' }) + hl(0, 'DashboardKey', { fg = c.purple, bg = 'NONE' }) + hl(0, 'DashboardIcon', { fg = c.cyan, bg = 'NONE' }) + hl(0, 'DashboardShotCut', { fg = c.purple, bg = 'NONE' }) -- Cmp - hl(0, "CmpItemAbbrDeprecated", { fg = c.comment, bg = 'NONE', strikethrough=true, }) - hl(0, "CmpItemAbbrMatch", { link = 'IncSearch' }) - hl(0, "CmpItemAbbrMatchFuzzy", { link = 'IncSearch' }) - hl(0, "CmpItemKindText", { link = '@string' }) - hl(0, "CmpItemKindMethod", { link = '@method' }) - hl(0, "CmpItemKindFunction", { link = '@function' }) - hl(0, "CmpItemKindConstructor", { link = '@constructor' }) - hl(0, "CmpItemKindField", { link = '@field' }) - hl(0, "CmpItemKindVariable", { link = '@variable' }) - hl(0, "CmpItemKindClass", { link = '@type' }) - hl(0, "CmpItemKindInterface", { link = '@type' }) - hl(0, "CmpItemKindModule", { link = '@namespace' }) - hl(0, "CmpItemKindProperty", { link = '@property' }) - hl(0, "CmpItemKindUnit", { link = '@number' }) - hl(0, "CmpItemKindValue", { link = '@string' }) - hl(0, "CmpItemKindEnum", { link = '@type' }) - hl(0, "CmpItemKindKeyword", { link = '@keyword' }) - hl(0, "CmpItemKindSnippet", { link = '@keyword' }) - hl(0, "CmpItemKindColor", { fg = c.orange, bg = 'NONE' }) - hl(0, "CmpItemKindFile", { fg = c.fg, bg = 'NONE' }) - hl(0, "CmpItemKindReference", { link = '@text.reference' }) - hl(0, "CmpItemKindFolder", { link = 'Directory' }) - hl(0, "CmpItemKindEnumMember", { link = '@constant' }) - hl(0, "CmpItemKindConstant", { link = '@constant' }) - hl(0, "CmpItemKindStruct", { link = 'Structure' }) - hl(0, "CmpItemKindEvent", { link = '@function' }) - hl(0, "CmpItemKindOperator", { link = '@operator' }) - hl(0, "CmpItemKindTypeParameter", { link = '@type' }) + hl(0, 'CmpItemAbbrDeprecated', { fg = c.comment, bg = 'NONE', strikethrough = true }) + hl(0, 'CmpItemAbbrMatch', { link = 'IncSearch' }) + hl(0, 'CmpItemAbbrMatchFuzzy', { link = 'IncSearch' }) + hl(0, 'CmpItemKindText', { link = '@string' }) + hl(0, 'CmpItemKindMethod', { link = '@method' }) + hl(0, 'CmpItemKindFunction', { link = '@function' }) + hl(0, 'CmpItemKindConstructor', { link = '@constructor' }) + hl(0, 'CmpItemKindField', { link = '@field' }) + hl(0, 'CmpItemKindVariable', { link = '@variable' }) + hl(0, 'CmpItemKindClass', { link = '@type' }) + hl(0, 'CmpItemKindInterface', { link = '@type' }) + hl(0, 'CmpItemKindModule', { link = '@namespace' }) + hl(0, 'CmpItemKindProperty', { link = '@property' }) + hl(0, 'CmpItemKindUnit', { link = '@number' }) + hl(0, 'CmpItemKindValue', { link = '@string' }) + hl(0, 'CmpItemKindEnum', { link = '@type' }) + hl(0, 'CmpItemKindKeyword', { link = '@keyword' }) + hl(0, 'CmpItemKindSnippet', { link = '@keyword' }) + hl(0, 'CmpItemKindColor', { fg = c.orange, bg = 'NONE' }) + hl(0, 'CmpItemKindFile', { fg = c.fg, bg = 'NONE' }) + hl(0, 'CmpItemKindReference', { link = '@text.reference' }) + hl(0, 'CmpItemKindFolder', { link = 'Directory' }) + hl(0, 'CmpItemKindEnumMember', { link = '@constant' }) + hl(0, 'CmpItemKindConstant', { link = '@constant' }) + hl(0, 'CmpItemKindStruct', { link = 'Structure' }) + hl(0, 'CmpItemKindEvent', { link = '@function' }) + hl(0, 'CmpItemKindOperator', { link = '@operator' }) + hl(0, 'CmpItemKindTypeParameter', { link = '@type' }) -- Navic - hl(0, "NavicIconsFile", { fg = c.fg, bg = 'NONE' }) - hl(0, "NavicIconsModule", { link = '@namespace' }) - hl(0, "NavicIconsNamespace", { link = '@namespace' }) - hl(0, "NavicIconsPackage", { link = 'Directory' }) - hl(0, "NavicIconsClass", { link = '@type' }) - hl(0, "NavicIconsMethod", { link = '@method' }) - hl(0, "NavicIconsProperty", { link = '@property' }) - hl(0, "NavicIconsField", { link = '@field' }) - hl(0, "NavicIconsConstructor", { link = '@constructor' }) - hl(0, "NavicIconsEnum", { link = '@type' }) - hl(0, "NavicIconsInterface", { link = '@type' }) - hl(0, "NavicIconsFunction", { link = '@function' }) - hl(0, "NavicIconsVariable", { link = '@Variable' }) - hl(0, "NavicIconsConstant", { link = '@constant' }) - hl(0, "NavicIconsString", { link = '@string' }) - hl(0, "NavicIconsNumber", { link = '@number' }) - hl(0, "NavicIconsBoolean", { link = '@boolean' }) - hl(0, "NavicIconsArray", { link = '@keyword' }) - hl(0, "NavicIconsObject", { link = '@keyword' }) - hl(0, "NavicIconsKey", { link = '@keyword' }) - hl(0, "NavicIconsNull", { link = '@constant' }) - hl(0, "NavicIconsEnumMember", { link = '@constant' }) - hl(0, "NavicIconsStruct", { link = 'Structure' }) - hl(0, "NavicIconsEvent", { link = '@function' }) - hl(0, "NavicIconsOperator", { link = '@operator' }) - hl(0, "NavicIconsTypeParameter", { link = '@type' }) - hl(0, "NavicText", { link = '@text' }) - hl(0, "NavicSeparator", { link = '@keyword' }) + hl(0, 'NavicIconsFile', { fg = c.fg, bg = 'NONE' }) + hl(0, 'NavicIconsModule', { link = '@namespace' }) + hl(0, 'NavicIconsNamespace', { link = '@namespace' }) + hl(0, 'NavicIconsPackage', { link = 'Directory' }) + hl(0, 'NavicIconsClass', { link = '@type' }) + hl(0, 'NavicIconsMethod', { link = '@method' }) + hl(0, 'NavicIconsProperty', { link = '@property' }) + hl(0, 'NavicIconsField', { link = '@field' }) + hl(0, 'NavicIconsConstructor', { link = '@constructor' }) + hl(0, 'NavicIconsEnum', { link = '@type' }) + hl(0, 'NavicIconsInterface', { link = '@type' }) + hl(0, 'NavicIconsFunction', { link = '@function' }) + hl(0, 'NavicIconsVariable', { link = '@Variable' }) + hl(0, 'NavicIconsConstant', { link = '@constant' }) + hl(0, 'NavicIconsString', { link = '@string' }) + hl(0, 'NavicIconsNumber', { link = '@number' }) + hl(0, 'NavicIconsBoolean', { link = '@boolean' }) + hl(0, 'NavicIconsArray', { link = '@keyword' }) + hl(0, 'NavicIconsObject', { link = '@keyword' }) + hl(0, 'NavicIconsKey', { link = '@keyword' }) + hl(0, 'NavicIconsNull', { link = '@constant' }) + hl(0, 'NavicIconsEnumMember', { link = '@constant' }) + hl(0, 'NavicIconsStruct', { link = 'Structure' }) + hl(0, 'NavicIconsEvent', { link = '@function' }) + hl(0, 'NavicIconsOperator', { link = '@operator' }) + hl(0, 'NavicIconsTypeParameter', { link = '@type' }) + hl(0, 'NavicText', { link = '@text' }) + hl(0, 'NavicSeparator', { link = '@keyword' }) -- Notify - hl(0, "NotifyBackground", { link = 'NormalFloat' }) - hl(0, "NotifyERRORBorder", { fg = c.error, bg = 'NONE' }) - hl(0, "NotifyWARNBorder", { fg = c.warning, bg = 'NONE' }) - hl(0, "NotifyINFOBorder", { fg = c.info, bg = 'NONE' }) - hl(0, "NotifyDEBUGBorder", { fg = c.comment, bg = 'NONE' }) - hl(0, "NotifyTRACEBorder", { fg = c.other, bg = 'NONE' }) - hl(0, "NotifyERRORIcon", { fg = c.error, bg = 'NONE' }) - hl(0, "NotifyWARNIcon", { fg = c.warning, bg = 'NONE' }) - hl(0, "NotifyINFOIcon", { fg = c.info, bg = 'NONE' }) - hl(0, "NotifyDEBUGIcon", { fg = c.comment, bg = 'NONE' }) - hl(0, "NotifyTRACEIcon", { fg = c.other, bg = 'NONE' }) - hl(0, "NotifyERRORTitle", { fg = c.error, bg = 'NONE' }) - hl(0, "NotifyWARNTitle", { fg = c.warning, bg = 'NONE' }) - hl(0, "NotifyINFOTitle", { fg = c.info, bg = 'NONE' }) - hl(0, "NotifyDEBUGTitle", { fg = c.comment, bg = 'NONE' }) - hl(0, "NotifyTRACETitle", { fg = c.other, bg = 'NONE' }) - hl(0, "NotifyERRORBody", { link = 'NormalFloat' }) - hl(0, "NotifyWARNBody", { link = 'NormalFloat' }) - hl(0, "NotifyINFOBody", { link = 'NormalFloat' }) - hl(0, "NotifyDEBUGBody", { link = 'NormalFloat' }) - hl(0, "NotifyTRACEBody", { link = 'NormalFloat' }) + hl(0, 'NotifyBackground', { link = 'NormalFloat' }) + hl(0, 'NotifyERRORBorder', { fg = c.error, bg = 'NONE' }) + hl(0, 'NotifyWARNBorder', { fg = c.warning, bg = 'NONE' }) + hl(0, 'NotifyINFOBorder', { fg = c.info, bg = 'NONE' }) + hl(0, 'NotifyDEBUGBorder', { fg = c.comment, bg = 'NONE' }) + hl(0, 'NotifyTRACEBorder', { fg = c.other, bg = 'NONE' }) + hl(0, 'NotifyERRORIcon', { fg = c.error, bg = 'NONE' }) + hl(0, 'NotifyWARNIcon', { fg = c.warning, bg = 'NONE' }) + hl(0, 'NotifyINFOIcon', { fg = c.info, bg = 'NONE' }) + hl(0, 'NotifyDEBUGIcon', { fg = c.comment, bg = 'NONE' }) + hl(0, 'NotifyTRACEIcon', { fg = c.other, bg = 'NONE' }) + hl(0, 'NotifyERRORTitle', { fg = c.error, bg = 'NONE' }) + hl(0, 'NotifyWARNTitle', { fg = c.warning, bg = 'NONE' }) + hl(0, 'NotifyINFOTitle', { fg = c.info, bg = 'NONE' }) + hl(0, 'NotifyDEBUGTitle', { fg = c.comment, bg = 'NONE' }) + hl(0, 'NotifyTRACETitle', { fg = c.other, bg = 'NONE' }) + hl(0, 'NotifyERRORBody', { link = 'NormalFloat' }) + hl(0, 'NotifyWARNBody', { link = 'NormalFloat' }) + hl(0, 'NotifyINFOBody', { link = 'NormalFloat' }) + hl(0, 'NotifyDEBUGBody', { link = 'NormalFloat' }) + hl(0, 'NotifyTRACEBody', { link = 'NormalFloat' }) -- Neorg - hl(0, "@neorg.headings.1.title", { fg = c.orange, bg = 'NONE' }) - hl(0, "@neorg.headings.2.title", { fg = c.cyan, bg = 'NONE' }) - hl(0, "@neorg.headings.3.title", { fg = c.green, bg = 'NONE' }) - hl(0, "@neorg.headings.4.title", { fg = c.yellow, bg = 'NONE' }) - hl(0, "@neorg.headings.5.title", { fg = c.red, bg = 'NONE' }) - hl(0, "@neorg.headings.6.title", { fg = c.purple, bg = 'NONE' }) - hl(0, "@neorg.headings.1.prefix", { link = '@neorg.headings.1.title' }) - hl(0, "@neorg.headings.2.prefix", { link = '@neorg.headings.2.title' }) - hl(0, "@neorg.headings.3.prefix", { link = '@neorg.headings.3.title' }) - hl(0, "@neorg.headings.4.prefix", { link = '@neorg.headings.4.title' }) - hl(0, "@neorg.headings.5.prefix", { link = '@neorg.headings.5.title' }) - hl(0, "@neorg.headings.6.prefix", { link = '@neorg.headings.6.title' }) - hl(0, "@neorg.lists.ordered.1.prefix", { link = '@neorg.headings.1.title' }) - hl(0, "@neorg.lists.ordered.2.prefix", { link = '@neorg.headings.2.title' }) - hl(0, "@neorg.lists.ordered.3.prefix", { link = '@neorg.headings.3.title' }) - hl(0, "@neorg.lists.ordered.4.prefix", { link = '@neorg.headings.4.title' }) - hl(0, "@neorg.lists.ordered.5.prefix", { link = '@neorg.headings.5.title' }) - hl(0, "@neorg.lists.ordered.6.prefix", { link = '@neorg.headings.5.title' }) - hl(0, "@neorg.lists.unordered.1.prefix", { link = '@neorg.lists.ordered.1.prefix' }) - hl(0, "@neorg.lists.unordered.2.prefix", { link = '@neorg.lists.ordered.2.prefix' }) - hl(0, "@neorg.lists.unordered.3.prefix", { link = '@neorg.lists.ordered.3.prefix' }) - hl(0, "@neorg.lists.unordered.4.prefix", { link = '@neorg.lists.ordered.4.prefix' }) - hl(0, "@neorg.lists.unordered.5.prefix", { link = '@neorg.lists.ordered.5.prefix' }) - hl(0, "@neorg.lists.unordered.6.prefix", { link = '@neorg.lists.ordered.6.prefix' }) - hl(0, "@neorg.links.file", { link = '@text.uri' }) + hl(0, '@neorg.headings.1.title', { fg = c.orange, bg = 'NONE' }) + hl(0, '@neorg.headings.2.title', { fg = c.cyan, bg = 'NONE' }) + hl(0, '@neorg.headings.3.title', { fg = c.green, bg = 'NONE' }) + hl(0, '@neorg.headings.4.title', { fg = c.yellow, bg = 'NONE' }) + hl(0, '@neorg.headings.5.title', { fg = c.red, bg = 'NONE' }) + hl(0, '@neorg.headings.6.title', { fg = c.purple, bg = 'NONE' }) + hl(0, '@neorg.headings.1.prefix', { link = '@neorg.headings.1.title' }) + hl(0, '@neorg.headings.2.prefix', { link = '@neorg.headings.2.title' }) + hl(0, '@neorg.headings.3.prefix', { link = '@neorg.headings.3.title' }) + hl(0, '@neorg.headings.4.prefix', { link = '@neorg.headings.4.title' }) + hl(0, '@neorg.headings.5.prefix', { link = '@neorg.headings.5.title' }) + hl(0, '@neorg.headings.6.prefix', { link = '@neorg.headings.6.title' }) + hl(0, '@neorg.lists.ordered.1.prefix', { link = '@neorg.headings.1.title' }) + hl(0, '@neorg.lists.ordered.2.prefix', { link = '@neorg.headings.2.title' }) + hl(0, '@neorg.lists.ordered.3.prefix', { link = '@neorg.headings.3.title' }) + hl(0, '@neorg.lists.ordered.4.prefix', { link = '@neorg.headings.4.title' }) + hl(0, '@neorg.lists.ordered.5.prefix', { link = '@neorg.headings.5.title' }) + hl(0, '@neorg.lists.ordered.6.prefix', { link = '@neorg.headings.5.title' }) + hl(0, '@neorg.lists.unordered.1.prefix', { link = '@neorg.lists.ordered.1.prefix' }) + hl(0, '@neorg.lists.unordered.2.prefix', { link = '@neorg.lists.ordered.2.prefix' }) + hl(0, '@neorg.lists.unordered.3.prefix', { link = '@neorg.lists.ordered.3.prefix' }) + hl(0, '@neorg.lists.unordered.4.prefix', { link = '@neorg.lists.ordered.4.prefix' }) + hl(0, '@neorg.lists.unordered.5.prefix', { link = '@neorg.lists.ordered.5.prefix' }) + hl(0, '@neorg.lists.unordered.6.prefix', { link = '@neorg.lists.ordered.6.prefix' }) + hl(0, '@neorg.links.file', { link = '@text.uri' }) -- IndentBlankLine - hl(0, "IndentBlanklineChar", { fg = c.blended_purple, bg = 'NONE' }) - hl(0, "IndentBlanklineContextChar", { fg = c.blended_pink, bg = 'NONE' }) - hl(0, "IndentBlanklineSpaceChar", { fg = c.purple, bg = 'NONE' }) - hl(0, "IndentBlanklineContextSpaceChar", { fg = c.pink, bg = 'NONE' }) + hl(0, 'IndentBlanklineChar', { fg = c.blended_purple, bg = 'NONE' }) + hl(0, 'IndentBlanklineContextChar', { fg = c.blended_pink, bg = 'NONE' }) + hl(0, 'IndentBlanklineSpaceChar', { fg = c.purple, bg = 'NONE' }) + hl(0, 'IndentBlanklineContextSpaceChar', { fg = c.pink, bg = 'NONE' }) -- Hop - hl(0, "HopNextKey", { fg = c.pink, bg = 'NONE', bold=true, }) - hl(0, "HopNextKey1", { fg = c.cyan, bg = 'NONE', bold=true, }) - hl(0, "HopUnmatched", { fg = c.comment, bg = 'NONE' }) + hl(0, 'HopNextKey', { fg = c.pink, bg = 'NONE', bold = true }) + hl(0, 'HopNextKey1', { fg = c.cyan, bg = 'NONE', bold = true }) + hl(0, 'HopUnmatched', { fg = c.comment, bg = 'NONE' }) -- Lazy - hl(0, "LazyH1", { fg = c.purple, bg = c.blended_purple }) - hl(0, "LazyButtonActive", { link = 'LazyH1' }) + hl(0, 'LazyH1', { fg = c.purple, bg = c.blended_purple }) + hl(0, 'LazyButtonActive', { link = 'LazyH1' }) -- BufferLine - hl(0, "BufferLineIndicatorSelected", { fg = c.purple, bg = 'NONE' }) - hl(0, "BufferLineSeparator", { fg = c.bg, bg = 'NONE' }) + hl(0, 'BufferLineIndicatorSelected', { fg = c.purple, bg = 'NONE' }) + hl(0, 'BufferLineSeparator', { fg = c.bg, bg = 'NONE' }) -- SymbolsOutline - hl(0, "FocusedSymbol", { fg = c.cyan, bg = 'NONE' }) - hl(0, "SymbolsOutlineConnector", { fg = c.comment, bg = 'NONE' }) + hl(0, 'FocusedSymbol', { fg = c.cyan, bg = 'NONE' }) + hl(0, 'SymbolsOutlineConnector', { fg = c.comment, bg = 'NONE' }) -- MiniCursor - hl(0, "MiniCursorword", { fg = 'NONE', bg = c.selection }) + hl(0, 'MiniCursorword', { fg = 'NONE', bg = c.selection }) -- MiniCompletion - hl(0, "MiniCompletionActiveParameter", { link = '@paramter' }) + hl(0, 'MiniCompletionActiveParameter', { link = '@paramter' }) -- MiniJump - hl(0, "MiniJump2dSpot", { fg = c.pink, bg = c.blended_pink }) - hl(0, "MiniJump2dSpotUnique", { fg = c.purple, bg = c.blended_purple }) + hl(0, 'MiniJump2dSpot', { fg = c.pink, bg = c.blended_pink }) + hl(0, 'MiniJump2dSpotUnique', { fg = c.purple, bg = c.blended_purple }) -- MiniIndent - hl(0, "MiniIndentscopeSymbol", { fg = c.blended_pink, bg = 'NONE' }) - hl(0, "MiniIndentscopeSymbolOff", { fg = 'NONE', bg = 'NONE' }) + hl(0, 'MiniIndentscopeSymbol', { fg = c.blended_pink, bg = 'NONE' }) + hl(0, 'MiniIndentscopeSymbolOff', { fg = 'NONE', bg = 'NONE' }) -- MiniMap - hl(0, "MiniMapNormal", { fg = c.comment, bg = c.bgdark }) - hl(0, "MiniMapSymbolCount", { fg = c.purple, bg = 'NONE' }) - hl(0, "MiniMapSymbolLine", { fg = c.pink, bg = 'NONE' }) - hl(0, "MiniMapSymbolView", { fg = c.bgdark, bg = 'NONE' }) + hl(0, 'MiniMapNormal', { fg = c.comment, bg = c.bgdark }) + hl(0, 'MiniMapSymbolCount', { fg = c.purple, bg = 'NONE' }) + hl(0, 'MiniMapSymbolLine', { fg = c.pink, bg = 'NONE' }) + hl(0, 'MiniMapSymbolView', { fg = c.bgdark, bg = 'NONE' }) -- MiniStatusLine - hl(0, "MiniStatuslineModeNormal", { fg = c.bg, bg = c.purple }) - hl(0, "MiniStatuslineModeInsert", { fg = c.bg, bg = c.green }) - hl(0, "MiniStatuslineModeVisual", { fg = c.bg, bg = c.yellow }) - hl(0, "MiniStatuslineModeReplace", { fg = c.bg, bg = c.red }) - hl(0, "MiniStatuslineModeCommand", { fg = c.purple, bg = c.blended_purple }) - hl(0, "MiniStatuslineDevinfo", { fg = c.fg, bg = c.comment }) - hl(0, "MiniStatuslineFileinfo", { fg = c.fg, bg = c.comment }) + hl(0, 'MiniStatuslineModeNormal', { fg = c.bg, bg = c.purple }) + hl(0, 'MiniStatuslineModeInsert', { fg = c.bg, bg = c.green }) + hl(0, 'MiniStatuslineModeVisual', { fg = c.bg, bg = c.yellow }) + hl(0, 'MiniStatuslineModeReplace', { fg = c.bg, bg = c.red }) + hl(0, 'MiniStatuslineModeCommand', { fg = c.purple, bg = c.blended_purple }) + hl(0, 'MiniStatuslineDevinfo', { fg = c.fg, bg = c.comment }) + hl(0, 'MiniStatuslineFileinfo', { fg = c.fg, bg = c.comment }) -- MiniTabLine - hl(0, "MiniTablineCurrent", { fg = c.fg, bg = c.comment }) - hl(0, "MiniTablineVisible", { fg = c.fg, bg = c.comment }) - hl(0, "MiniTablineHidden", { fg = c.comment, bg = c.bg }) - hl(0, "MiniTablineModifiedCurrent", { link = 'MiniTabLineCurrent' }) - hl(0, "MiniTablineModifiedVisible", { link = 'MiniTablineVisible' }) - hl(0, "MiniTablineModifiedHidden", { link = 'MiniTablineHidden' }) - hl(0, "MiniTablineFill", { link = 'NormalFloat' }) - hl(0, "MiniTablineTabpagesection", { link = 'NormalFloat' }) + hl(0, 'MiniTablineCurrent', { fg = c.fg, bg = c.comment }) + hl(0, 'MiniTablineVisible', { fg = c.fg, bg = c.comment }) + hl(0, 'MiniTablineHidden', { fg = c.comment, bg = c.bg }) + hl(0, 'MiniTablineModifiedCurrent', { link = 'MiniTabLineCurrent' }) + hl(0, 'MiniTablineModifiedVisible', { link = 'MiniTablineVisible' }) + hl(0, 'MiniTablineModifiedHidden', { link = 'MiniTablineHidden' }) + hl(0, 'MiniTablineFill', { link = 'NormalFloat' }) + hl(0, 'MiniTablineTabpagesection', { link = 'NormalFloat' }) -- MiniStarter - hl(0, "MiniStarterCurrent", { link = 'CursorLine' }) - hl(0, "MiniStarterHeader", { fg = c.red, bg = 'NONE' }) - hl(0, "MiniStarterFooter", { fg = c.comment, bg = 'NONE' }) - hl(0, "MiniStarterItem", { fg = c.fg, bg = 'NONE' }) - hl(0, "MiniStarterItemBullet", { fg = c.cyan, bg = 'NONE' }) - hl(0, "MiniStarterItemPrefix", { fg = c.cyan, bg = c.blended_cyan, bold=true, }) - hl(0, "MiniStarterSection", { link = 'Title' }) - hl(0, "MiniStarterQuery", { fg = c.red, bg = c.blended_red, bold=true, }) + hl(0, 'MiniStarterCurrent', { link = 'CursorLine' }) + hl(0, 'MiniStarterHeader', { fg = c.red, bg = 'NONE' }) + hl(0, 'MiniStarterFooter', { fg = c.comment, bg = 'NONE' }) + hl(0, 'MiniStarterItem', { fg = c.fg, bg = 'NONE' }) + hl(0, 'MiniStarterItemBullet', { fg = c.cyan, bg = 'NONE' }) + hl(0, 'MiniStarterItemPrefix', { fg = c.cyan, bg = c.blended_cyan, bold = true }) + hl(0, 'MiniStarterSection', { link = 'Title' }) + hl(0, 'MiniStarterQuery', { fg = c.red, bg = c.blended_red, bold = true }) end return theme diff --git a/lua/dracula/utils.lua b/lua/dracula/utils.lua index a775502..6a9715b 100644 --- a/lua/dracula/utils.lua +++ b/lua/dracula/utils.lua @@ -3,7 +3,7 @@ local M = {} function M.get_hl(group_name) local group = vim.api.nvim_get_hl(0, { name = group_name, link = false }) - if type(group) == "table" then + if type(group) == 'table' then return group end @@ -18,8 +18,8 @@ function M.update_highlight_groups(groups) for group_name, val in pairs(groups) do local group_val = M.get_hl(group_name) - if type(group_val) == "table" then - local value = vim.tbl_extend("force", group_val, val) + if type(group_val) == 'table' then + local value = vim.tbl_extend('force', group_val, val) vim.api.nvim_set_hl(0, group_name, value) end @@ -90,7 +90,7 @@ end function M.reduce_saturation(color, amount) -- remove "#" prefix if present - color = color:gsub("^#", "") + color = color:gsub('^#', '') -- split the color into its red, green, and blue components local r = tonumber(color:sub(1, 2), 16) @@ -107,7 +107,7 @@ function M.reduce_saturation(color, amount) r, g, b = hsl_to_rgb(h, s, l) -- convert the RGB color back to hexadecimal - return string.format("#%02x%02x%02x", r, g, b) + return string.format('#%02x%02x%02x', r, g, b) end return M diff --git a/lua/lualine/themes/dracula.lua b/lua/lualine/themes/dracula.lua index 110a090..a6625ab 100644 --- a/lua/lualine/themes/dracula.lua +++ b/lua/lualine/themes/dracula.lua @@ -1,35 +1,35 @@ -local dracula = require("dracula") +local dracula = require 'dracula' local colors = dracula.colors return { - normal = { - a = { bg = colors.purple, fg = colors.bg, gui = "bold" }, - b = { bg = colors.comment, fg = colors.fg }, - c = { bg = colors.bgdark, fg = colors.fg }, - }, - insert = { - a = { bg = colors.green, fg = colors.bg, gui = "bold" }, - b = { bg = colors.comment, fg = colors.fg }, - c = { bg = colors.bgdark, fg = colors.fg }, - }, - visual = { - a = { bg = colors.yellow, fg = colors.bg, gui = "bold" }, - b = { bg = colors.comment, fg = colors.fg }, - c = { bg = colors.bgdark, fg = colors.fg }, - }, - replace = { - a = { bg = colors.red, fg = colors.bg, gui = "bold" }, - b = { bg = colors.comment, fg = colors.fg }, - c = { bg = colors.bgdark, fg = colors.fg }, - }, - command = { - a = { bg = colors.blended_purple, fg = colors.purple, gui = "bold" }, - b = { bg = colors.comment, fg = colors.fg }, - c = { bg = colors.bgdark, fg = colors.fg }, - }, - inactive = { - a = { bg = colors.bgdark, fg = colors.fg, gui = "bold" }, - b = { bg = colors.comment, fg = colors.fg }, - c = { bg = colors.bgdark, fg = colors.fg }, - }, + normal = { + a = { bg = colors.purple, fg = colors.bg, gui = 'bold' }, + b = { bg = colors.comment, fg = colors.fg }, + c = { bg = colors.bgdark, fg = colors.fg }, + }, + insert = { + a = { bg = colors.green, fg = colors.bg, gui = 'bold' }, + b = { bg = colors.comment, fg = colors.fg }, + c = { bg = colors.bgdark, fg = colors.fg }, + }, + visual = { + a = { bg = colors.yellow, fg = colors.bg, gui = 'bold' }, + b = { bg = colors.comment, fg = colors.fg }, + c = { bg = colors.bgdark, fg = colors.fg }, + }, + replace = { + a = { bg = colors.red, fg = colors.bg, gui = 'bold' }, + b = { bg = colors.comment, fg = colors.fg }, + c = { bg = colors.bgdark, fg = colors.fg }, + }, + command = { + a = { bg = colors.blended_purple, fg = colors.purple, gui = 'bold' }, + b = { bg = colors.comment, fg = colors.fg }, + c = { bg = colors.bgdark, fg = colors.fg }, + }, + inactive = { + a = { bg = colors.bgdark, fg = colors.fg, gui = 'bold' }, + b = { bg = colors.comment, fg = colors.fg }, + c = { bg = colors.bgdark, fg = colors.fg }, + }, } diff --git a/stylua.toml b/stylua.toml new file mode 100644 index 0000000..78c5507 --- /dev/null +++ b/stylua.toml @@ -0,0 +1,6 @@ +column_width = 120 +line_endings = "Unix" +indent_type = "Spaces" +indent_width = 2 +quote_style = "AutoPreferSingle" +call_parentheses = "None"