aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim/plugin/colors.vim
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-02 19:09:29 -0600
committerToby Vincent <tobyv13@gmail.com>2022-03-02 19:09:29 -0600
commit6a36592700b75e3658584db672f09ee33b2ba840 (patch)
treedd908e0eadd96e168f2d723e4d778ee3e037b81b /nvim/plugin/colors.vim
parent10c8ca3c945a1bf7adffbb1dbac0789be85387e0 (diff)
feat: woof
Diffstat (limited to 'nvim/plugin/colors.vim')
-rw-r--r--nvim/plugin/colors.vim33
1 files changed, 33 insertions, 0 deletions
diff --git a/nvim/plugin/colors.vim b/nvim/plugin/colors.vim
new file mode 100644
index 0000000..d200e2a
--- /dev/null
+++ b/nvim/plugin/colors.vim
@@ -0,0 +1,33 @@
+let g:theprimeagen_colorscheme = "gruvbox"
+fun! ColorMyPencils()
+ let g:gruvbox_contrast_dark = 'hard'
+ if exists('+termguicolors')
+ let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
+ let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
+ endif
+ let g:gruvbox_invert_selection='0'
+
+ set background=dark
+ if has('nvim')
+ call luaeval('vim.cmd("colorscheme " .. _A[1])', [g:theprimeagen_colorscheme])
+ else
+ " TODO: What the way to use g:theprimeagen_colorscheme
+ colorscheme gruvbox
+ endif
+
+ highlight ColorColumn ctermbg=0 guibg=grey
+ hi SignColumn guibg=none
+ hi CursorLineNR guibg=None
+ highlight Normal guibg=none
+ " highlight LineNr guifg=#ff8659
+ " highlight LineNr guifg=#aed75f
+ highlight LineNr guifg=#5eacd3
+ highlight netrwDir guifg=#5eacd3
+ highlight qfFileName guifg=#aed75f
+ hi TelescopeBorder guifg=#5eacd
+endfun
+call ColorMyPencils()
+
+" Vim with me
+nnoremap <leader>cmp :call ColorMyPencils()<CR>
+nnoremap <leader>vwb :let g:theprimeagen_colorscheme =