home: vim: fix icon for read-only files
This commit is contained in:
parent
1b829076f8
commit
ef36a100af
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ let g:lightline#ale#indicator_ok='✓'
|
||||||
|
|
||||||
" Show a lock icon when editing a read-only file when it makes sense
|
" Show a lock icon when editing a read-only file when it makes sense
|
||||||
function! LightlineReadonly()
|
function! LightlineReadonly()
|
||||||
return &ft!~?'help\|vimfiler\|netrw' && &readonly ? '' : ''
|
return &ft!~?'help\|vimfiler\|netrw' && &readonly ? '🔒' : ''
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Show a '+' when the buffer is modified, '-' if not, when it makes sense
|
" Show a '+' when the buffer is modified, '-' if not, when it makes sense
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue