Update diff colors

This commit is contained in:
Daniel Flanagan 2021-07-07 11:22:42 -05:00
parent e8ebb5d0e8
commit 0f00298156
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 15 additions and 14 deletions

View file

@ -36,6 +36,9 @@ hi preproc cterm=none ctermfg=1 ctermbg=0
hi identifier cterm=none ctermfg=4 ctermbg=0 hi identifier cterm=none ctermfg=4 ctermbg=0
hi constant cterm=none ctermfg=1 hi constant cterm=none ctermfg=1
hi nontext ctermfg=0 ctermbg=0 hi nontext ctermfg=0 ctermbg=0
hi diffoldfile cterm=none ctermfg=1
hi diffremoved cterm=none ctermfg=1
hi diffadded cterm=none ctermfg=2
" TODO: diagnostics popups, telescope dialogs " TODO: diagnostics popups, telescope dialogs

View file

@ -69,21 +69,19 @@ vim.api.nvim_command'colorscheme donokai'
vim.api.nvim_command[[ vim.api.nvim_command[[
function! SynGroup() function! SynGroup()
let l:s = synID(line('.'), col('.'), 1) let l:s = synID(line('.'), col('.'), 1)
echo synIDattr(l:s, 'name') . ' -> ' . synIDattr(synIDtrans(l:s), 'name') echo synIDattr(l:s, 'name') . ' -> ' . synIDattr(synIDtrans(l:s), 'name')
endfun endfun
nnoremap <c-m> :call SynGroup()<cr> nnoremap <c-m> :call SynGroup()<cr>
]] ]]
-- vim.api.nvim_command[[ vim.api.nvim_command[[
-- command! W write command! W write
-- augroup oncommit command! X writequit
-- au! BufReadPost * augroup gitcommit
-- if stridx(&ft, 'commit') >= 0 au! VimEnter COMMIT_EDITMSG exec 'norm gg' | startinsert!
-- exe "startinsert!" augroup END
-- endif augroup slime
-- augroup END au! BufNewFile,BufRead *.slimleex set syntax=slim
-- augroup slime augroup END
-- au! BufNewFile,BufRead *.slimleex set syntax=slim ]]
-- augroup END
-- ]]