Browse Source

Rename sign definitions and simplify sign-ing

pull/73/head
gmarik 15 years ago
parent
commit
b9226caacb
2 changed files with 5 additions and 7 deletions
  1. +4
    -4
      autoload/vundle.vim
  2. +1
    -3
      autoload/vundle/installer.vim

+ 4
- 4
autoload/vundle.vim View File

@ -28,10 +28,10 @@ au Filetype vundle call vundle#scripts#setup_view()
au Syntax vim syn keyword vimCommand Bundle
if (has('signs'))
sign define VuEr text=! texthl=Error
sign define VuAc text=> texthl=Comment
sign define VuCu text=. texthl=Comment
sign define VuUp text=+ texthl=Comment
sign define Vu_error text=! texthl=Error
sign define Vu_active text=> texthl=Comment
sign define Vu_todate text=. texthl=Comment
sign define Vu_updated text=+ texthl=Comment
endif


+ 1
- 3
autoload/vundle/installer.vim View File

@ -46,9 +46,7 @@ func! s:sign(status)
return
endif
let markers = {'updated': 'VuUp', 'todate': 'VuCu', 'error': 'VuEr', 'active': 'VuAc' }
let marker = markers[a:status]
exe ":sign place ".line('.')." line=".line('.')." name=". marker ." buffer=" . bufnr("%")
exe ":sign place ".line('.')." line=".line('.')." name=Vu_". a:status ." buffer=" . bufnr("%")
endf
func! vundle#installer#install(bang, name) abort


Loading…
Cancel
Save