diff --git a/dot_config/nvim/lua/configs/packages/colors.lua b/dot_config/nvim/lua/configs/packages/colors.lua index 44e7468..1c8f6e7 100644 --- a/dot_config/nvim/lua/configs/packages/colors.lua +++ b/dot_config/nvim/lua/configs/packages/colors.lua @@ -1,5 +1,6 @@ local M = { 'gruvbox-community/gruvbox', + commit = 'f150aa7', lazy = false, priority = 999, } @@ -175,6 +176,16 @@ function M.config() gr:hl('DiagnosticVirtualTextHint', 'hint', nil, { 'italic' }) gr:hl('DiagnosticVirtualTextOk', 'ok', nil, { 'italic' }) + gr:hl('Function', 'light1', nil, {}) + gr:hl('Operator', 'light1', nil, {}) + + gr:hl('Bold', nil, nil, { 'bold' }, {}) + gr:hl('Strikethrough', nil, nil, { 'strikethrough' }, {}) + gr:hl('Underlined', nil, nil, { 'underline' }, {}) + + gr:hl('@text.uri', 'bright_blue', nil, {'underline'}, {}) + gr:hl('@text.emphasis', nil, nil, {'italic'}, {}) + -- gr:hl('GitSignsAddLine', nil, 'faded_green', {}) -- vim.fn.sign_define('GitSignsAdd', { text = '│', texthl = 'GitSignsAdd', linehl = 'GitSignsAddLine', culhl='CursorLine' }) end, @@ -201,3 +212,66 @@ function M.config() end return M + +-- return { +-- 'ellisonleao/gruvbox.nvim', +-- lazy = false, +-- priority = 999, +-- config = function() +-- local g = require('gruvbox') +-- local p = require('gruvbox.palette').colors +-- local overrides = { +-- Directory = { link = 'GruvboxGreen' }, +-- ['@variable'] = { link = 'GruvboxBlue' }, +-- Function = { link = 'GruvboxFg1' }, +-- Operator = { link = 'GruvboxFg1' }, +-- IndentBlanklineContextChar = { fg = p.neutral_orange }, +-- +-- NeoTreeGitAdded = { link = 'GruvboxGreen' }, +-- NeoTreeGitDeleted = { link = 'GruvboxRed' }, +-- NeoTreeGitModified = { link = 'GruvboxOrange' }, +-- NeoTreeGitUntracked = { link = 'GruvboxOrange' }, +-- +-- CmpItemAbbrMatch = { link = 'GruvboxAquaBold' }, +-- CmpItemAbbrMatchFuzzy = { link = 'GruvboxAquaBold' }, +-- +-- CmpItemKindClass = { link = 'Identifier' }, +-- CmpItemKindConstant = { link = 'Constant' }, +-- CmpItemKindConstructor = { link = 'Special' }, +-- CmpItemKindEnum = { link = 'Identifier' }, +-- CmpItemKindEnumMember = { link = 'String' }, +-- CmpItemKindField = { link = 'Identifier' }, +-- CmpItemKindFile = { link = 'File' }, +-- CmpItemKindFolder = { link = 'Directory' }, +-- CmpItemKindFunction = { link = 'Function' }, +-- CmpItemKindInterface = { link = 'Identifier' }, +-- CmpItemKindKeyword = { link = 'Keyword' }, +-- CmpItemKindMethod = { link = 'Function' }, +-- CmpItemKindModule = { link = 'Include' }, +-- CmpItemKindProperty = { link = 'Identifier' }, +-- CmpItemKindSnippet = { link = 'Special' }, +-- CmpItemKindStruct = { link = 'Identifier' }, +-- CmpItemKindText = { link = 'String' }, +-- CmpItemKindTypeParameter = { link = 'Identifier' }, +-- CmpItemKindValue = { link = 'String' }, +-- CmpItemKindVariable = { link = 'Identifier' }, +-- } +-- +-- local augr = vim.api.nvim_create_augroup('config_colorscheme', {}); +-- vim.api.nvim_create_autocmd('ColorschemePre', { +-- group = augr, +-- pattern = '*', +-- callback = function() +-- vim.fn.sign_define('DiagnosticSignError', { text = ' ', texthl = 'DiagnosticSignError' }) +-- vim.fn.sign_define('DiagnosticSignWarn', { text = ' ', texthl = 'DiagnosticSignWarn' }) +-- vim.fn.sign_define('DiagnosticSignInfo', { text = ' ', texthl = 'DiagnosticSignInfo' }) +-- vim.fn.sign_define('DiagnosticSignHint', { text = '󰌵', texthl = 'DiagnosticSignHint' }) +-- end, +-- }) +-- +-- g.setup({ overrides = overrides }) +-- +-- vim.cmd.colorscheme('gruvbox') +-- end, +-- } +