Add TermCursor and TermCursorNC highlights if :terminal exists

This commit is contained in:
Drew Neil
2017-02-14 22:17:49 +00:00
parent 769661a1fa
commit 9c32652c25
9 changed files with 38 additions and 0 deletions

View File

@@ -466,6 +466,12 @@ for s:solarized_background in ["dark", "light"]
call s:put("hi! ColorColumn" .s:fmt_none .s:fg_none .s:bg_base02)
call s:put("hi! Cursor" .s:fmt_none .s:fg_base3 .s:bg_blue)
call s:put("hi! link lCursor Cursor")
call s:put("if has('nvim')")
call s:put(" hi! link TermCursor Cursor")
call s:put(" hi! TermCursorNC" .s:fg_base03 .s:bg_base01 .s:fmt_none)
call s:put("endif")
" Changed by Lifepillar: better (in my opinion) highlighting for MatchParen:
if s:solarized_background == 'dark'
call s:put("hi! MatchParen" .s:fmt_bold .s:fg_base3 .s:bg_base02)