diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-17 21:05:38 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-17 21:05:38 +0200 |
commit | a0cca5b1b1c8f9eba2b326905be4d8ef47fde95b (patch) | |
tree | 1d4c0eee5600d274aeb7478663f5cb5cd4f79dcd /.config | |
parent | 356ca1446b184d3242943c963f3bc2369ef789dd (diff) |
nvim: Configure some colors
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/init.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index ffe7b3d..205cb83 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -135,6 +135,27 @@ vim.api.nvim_create_autocmd('TextYankPost', { end, }) +vim.api.nvim_create_autocmd('VimEnter', { + desc = 'Remove the Vim background color', + group = vim.api.nvim_create_augroup('mango-transparent-bg', { clear = true }), + callback = function() + vim.cmd [[ + highlight CursorColumn guibg=#1D2635 + highlight CursorLine guibg=#1D2635 + highlight EndOfBuffer guibg=NONE + highlight Normal guibg=NONE + highlight NormalNC guibg=NONE + highlight StatusLine guibg=#19212E + highlight TabLineFill guibg=#19212E + highlight TabLine guibg=#131A25 + highlight TelescopeNormal guibg=NONE + highlight TelescopeBorder guibg=NONE + highlight TelescopePromptBorder guibg=NONE + highlight TelescopePromptTitle guibg=NONE + ]] + end, +}) + -- Weird way to make buffer auto-reverting work? vim.cmd [[ if !exists('g:CheckUpdateStarted') |