Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #13 from jvortmann/jasmine.vim

---

Give the user the ability to use their own colors for the JasmineRedGreen because some color schemes have them set already.
  • Loading branch information...
commit 9e389d6159515d2eaf617b658bf38cb0a59c144e 2 parents d9041a4 + 7dcd829
@claco authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 autoload/jasmine.vim
View
7 autoload/jasmine.vim
@@ -98,9 +98,13 @@ function jasmine#redgreen()
endfor
endfunction
+if !exists("g:jasmine_use_own_colors")
+ hi RedBar ctermfg=white ctermbg=red guifg=white guibg=red
+ hi GreenBar ctermfg=black ctermbg=green guifg=black guibg=green
+endif
+
function jasmine#redbar(message)
let message = " ".a:message
- hi RedBar ctermfg=white ctermbg=red guifg=white guibg=red
echohl RedBar
echon message repeat(" ", &columns - strlen(message) - 1)
echohl
@@ -108,7 +112,6 @@ endfunction
function jasmine#greenbar(message)
let message = " ".a:message
- hi GreenBar ctermfg=black ctermbg=green guifg=black guibg=green
echohl GreenBar
echon message repeat(" ", &columns - strlen(message) - 1)
echohl
Please sign in to comment.
Something went wrong with that request. Please try again.