aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index c123094..645e298 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -121,8 +121,8 @@ endif
map <LocalLeader>s :syn sync fromstart<CR>
-autocmd BufEnter * set bg=dark
-autocmd BufEnter *.txt,*.md set bg=light
+autocmd BufEnter * set bg=dark | call s:set_terminal_line_border()
+autocmd BufEnter *.md,*.tex,*.txt set bg=light | call s:set_terminal_line_border()
" Setting the color scheme messes up the git gutter highlight groups, so reset
" them. For some discussion, see: