mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-11 12:33:47 -05:00
Remove unicode listchars to fix #57
As discussed in Issue #57, setting Unicode characters for `listchars` is a problematic default because of the scrolling performance impact incurred when one of the specified glyphs is missing from the user's selected font. An alternative approach would be to choose "safer" unicode characters that are likely to exist in most fonts. Given that the purpose of vim-sensible is to provide universal sane defaults it seems this would be best left to the user's `.vimrc` or another plugin.
This commit is contained in:
@@ -53,9 +53,6 @@ endif
|
||||
|
||||
if &listchars ==# 'eol:$'
|
||||
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
|
||||
if !has('win32') && (&termencoding ==# 'utf-8' || &encoding ==# 'utf-8')
|
||||
let &listchars = "tab:\u21e5 ,trail:\u2423,extends:\u21c9,precedes:\u21c7,nbsp:\u00b7"
|
||||
endif
|
||||
endif
|
||||
|
||||
if &shell =~# 'fish$'
|
||||
|
||||
Reference in New Issue
Block a user