Merge pull request #5 from fcourchesne/master

Added support for Syntastic
master
Oskar Wickström 7 years ago committed by GitHub
commit cb4cc4fe51

@ -44,6 +44,7 @@ let s:light_green = { "gui": "#5FD7A7", "cterm": "10" }
let s:dark_purple = { "gui": "#af5fd7", "cterm": "134" }
let s:light_purple = { "gui": "#a790d5", "cterm": "140" }
let s:yellow = { "gui": "#F3E430", "cterm": "11" }
let s:light_yellow = { "gui": "#ffff87", "cterm": "228" }
let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" }
let s:background = &background
@ -59,6 +60,7 @@ if &background == "dark"
let s:green = s:light_green
let s:red = s:light_red
let s:visual = s:light_purple
let s:yellow = s:light_yellow
else
let s:bg = s:actual_white
let s:bg_subtle = s:light_gray
@ -70,6 +72,7 @@ else
let s:green = s:dark_green
let s:red = s:dark_red
let s:visual = s:dark_purple
let s:yellow = s:dark_yellow
endif
" https://github.com/noahfrederick/vim-hemisu/
@ -163,6 +166,7 @@ call s:h("DiffChange", {"fg": s:dark_yellow})
call s:h("DiffText", {"fg": s:dark_blue})
call s:h("SignColumn", {"fg": s:light_green})
if has("gui_running")
call s:h("SpellBad", {"gui": "underline", "sp": s:red})
call s:h("SpellCap", {"gui": "underline", "sp": s:light_green})
@ -196,6 +200,12 @@ call s:h("htmlH4", {"bg": s:bg, "fg": s:norm})
call s:h("htmlH5", {"bg": s:bg, "fg": s:norm})
call s:h("htmlH6", {"bg": s:bg, "fg": s:norm})
" Synatastic
call s:h("SyntasticWarningSign", {"fg": s:yellow})
call s:h("SyntasticWarning", {"bg": s:yellow, "fg": s:black, "gui": "bold", "cterm": "bold"})
call s:h("SyntasticErrorSign", {"fg": s:red})
call s:h("SyntasticError", {"bg": s:red, "fg": s:white, "gui": "bold", "cterm": "bold"})
" Signify, git-gutter
hi link SignifySignAdd LineNr
hi link SignifySignDelete LineNr

Loading…
Cancel
Save