read only flag
This commit is contained in:
parent
9413680f65
commit
a2cef1fe33
|
@ -74,6 +74,11 @@ function! GetStatus(isactive) "{{{
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let l:statusline.= l:separator . '%*%='
|
let l:statusline.= l:separator . '%*%='
|
||||||
|
|
||||||
|
if !a:isactive
|
||||||
|
let l:statusline .= ' '
|
||||||
|
endif
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" path/filename.extension
|
" path/filename.extension
|
||||||
|
@ -88,6 +93,7 @@ function! GetStatus(isactive) "{{{
|
||||||
let l:statusline.="%{strlen(expand('%:e'))?'.':''}"
|
let l:statusline.="%{strlen(expand('%:e'))?'.':''}"
|
||||||
let l:statusline.='%#StatusLineExtActive#'
|
let l:statusline.='%#StatusLineExtActive#'
|
||||||
let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')} "
|
let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')} "
|
||||||
|
let l:statusline .= '%#InterfaceSignWarning# %R' " TODO
|
||||||
let l:statusline.=' %*'
|
let l:statusline.=' %*'
|
||||||
else
|
else
|
||||||
let l:statusline.='%#StatusLineDir# '
|
let l:statusline.='%#StatusLineDir# '
|
||||||
|
@ -100,9 +106,9 @@ function! GetStatus(isactive) "{{{
|
||||||
let l:statusline.="%{strlen(expand('%:e'))?'.':''}"
|
let l:statusline.="%{strlen(expand('%:e'))?'.':''}"
|
||||||
let l:statusline.='%#StatusLineExt#'
|
let l:statusline.='%#StatusLineExt#'
|
||||||
let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')} "
|
let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')} "
|
||||||
|
let l:statusline .= '%#InterfaceSignWarning# %R' " TODO
|
||||||
let l:statusline.=' %*'
|
let l:statusline.=' %*'
|
||||||
endif
|
endif
|
||||||
let l:statusline .= '%#CRNormal#%r' " TODO color
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" linter status "
|
" linter status "
|
||||||
|
|
Loading…
Reference in New Issue