aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-19 19:14:01 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-20 00:58:18 +0300
commit445c8baa0b0885e172d18ade63135a7dd7b433ec (patch)
treea9e27be66c7f99c718a4ef19dd4ab0c8a0d5e7da /dotfiles/.config/nvim
parent35d8da7b83442acafbe4349534d28c4f170d88e4 (diff)
downloadvimrice-445c8baa0b0885e172d18ade63135a7dd7b433ec.tar.gz
vimrice-445c8baa0b0885e172d18ade63135a7dd7b433ec.zip
git-messenger diff highlight config
Fix retarded default highlight group choice of git-messenger for diffs.
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r--dotfiles/.config/nvim/init.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index f4dd3d2..cdb061b 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -86,6 +86,14 @@ call plug#end()
return strlen(l:branchname) > 0?'  '.l:branchname.' ':''
endfunction
+" git-messenger settings
+ let g:git_messenger_floating_win_opts = { 'border': 'single' }
+ let g:git_messenger_popup_content_margins = v:false
+ hi! link diffAdded DiffAdd
+ hi! link diffRemoved DiffDelete
+ hi! link diffWordsAdded DiffText
+ hi! link diffWordsRemoved DiffText
+
" Statusline
let laststatus=2
set statusline=