Replace some UTF-8 characters with ASCII ones for compatibility reasons

This commit is contained in:
Kevin MacMartin 2017-02-10 16:47:47 -05:00
parent 1511f4e33f
commit 09cb77742c
2 changed files with 4 additions and 4 deletions

View file

@ -365,11 +365,11 @@ scriptencoding utf-8
let g:vimfiler_force_overwrite_statusline = 0
function! LLModified()
return &ft =~ 'help' ? '' : &modified ? '💾' : &modifiable ? '' : '-'
return &ft =~ 'help' ? '' : &modified ? '*' : &modifiable ? '' : '-'
endfunction
function! LLReadonly()
return &ft !~? 'help' && &readonly ? '🔏' : ''
return &ft !~? 'help' && &readonly ? '[RO]' : ''
endfunction
function! LLFilename()
@ -382,7 +382,7 @@ scriptencoding utf-8
\ &ft == 'qf' ? '[Error/Location List]' :
\ &ft == 'extradite' ? '[Commit History]' :
\ ('' != LLReadonly() ? LLReadonly() . ' ' : '') .
\ ('' != fname ? fname : '📄') .
\ ('' != fname ? fname : '[NEW]') .
\ ('' != LLModified() ? ' ' . LLModified() : '')
endfunction

View file

@ -69,7 +69,7 @@
set visualbell "notify visually instead of with an audible bell
set splitright "add new tiles on the right (and not left) when added
set scrolloff=0 sidescrolloff=0 "start scrolling if the cursor is one position away from the edge
set list listchars=tab:\┆·,trail:- "display tabs as: >-- and trailing spaces as: -
set list listchars=tab:>-,trail:- "display tabs as: >--- and trailing spaces as: -
set showmatch "show matching open bracket when closed bracket is inserted
set matchtime=5 "the amount of time before the matching bracket will highlight
let &showbreak="" "character to prepend to wrapped lines when linewrapping is enabled