From 2cb5d914fb73f58973f0dd3aa17f4f15432693ef Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 4 Jul 2025 21:58:43 +0200 Subject: [PATCH] chore(nvim): new theme --- .config/nvim/lua/plugins/deco.lua | 7 +++-- .config/nvim/lua/plugins/theme.lua | 41 +++++++++++++++++++++++++++++- 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/.config/nvim/lua/plugins/deco.lua b/.config/nvim/lua/plugins/deco.lua index 0115b5b..f7483de 100644 --- a/.config/nvim/lua/plugins/deco.lua +++ b/.config/nvim/lua/plugins/deco.lua @@ -21,9 +21,12 @@ return { { 'sphamba/smear-cursor.nvim', opts = { - time_interval = 10, + time_interval = 17, + anticipation = 0, + damping = 0.8, + + cursor_color = '#b7bcb9', legacy_computing_symbols_support = true, - cursor_color = '#fcdc34', }, }, } diff --git a/.config/nvim/lua/plugins/theme.lua b/.config/nvim/lua/plugins/theme.lua index 9765750..ec99214 100644 --- a/.config/nvim/lua/plugins/theme.lua +++ b/.config/nvim/lua/plugins/theme.lua @@ -3,8 +3,47 @@ return { 'blazkowolf/gruber-darker.nvim', priority = 999, config = function() - -- require('gruber-darker').setup() vim.cmd.colorscheme('gruber-darker') end, + enabled = false, + }, + { + 'nyoom-engineering/oxocarbon.nvim', + priority = 999, + config = function() + vim.cmd.colorscheme('oxocarbon') + + local function hi(c, link) + vim.api.nvim_set_hl(0, 'BlinkCmpKind' .. c, { link = link }) + end + + hi('Text', 'Identifier') + hi('Method', '@function.builtin') + hi('Function', 'Function') + hi('Constructor', '@character') + hi('Field', '@property') + hi('Variable', '@label') + hi('Class', 'Todo') + hi('Interface', 'Type') + hi('Module', 'Macro') + hi('Property', '@property') + hi('Unit', 'Type') + hi('Value', 'Number') + hi('Enum', 'String') + hi('Keyword', 'Identifier') + hi('Snippet', 'Identifier') + hi('Color', 'Identifier') + hi('File', 'Identifier') + hi('Folder', 'identifier') + hi('Reference', 'Identifier') + hi('EnumMember', 'String') + hi('Constant', '@constant.builtin') + hi('Struct', 'Type') + hi('Event', '@constant') + hi('Operator', 'Structure') + hi('TypeParameter', 'Type') + + vim.api.nvim_set_hl(0, 'BlinkCmpMenuSelection', { link = 'IncSearch' }) + end, }, }