mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-14 05:53:48 -05:00
Don't set 'encoding'
Vim 8.2.2912 changes the default on Windows, eliminating the primary issue this was intended to fix. Changing 'encoding' can prevent previously defined maps from working, so let's rip this out sooner rather than later. References: https://github.com/tpope/vim-sensible/issues/69
This commit is contained in:
@@ -50,10 +50,6 @@ if !&sidescrolloff
|
|||||||
endif
|
endif
|
||||||
set display+=lastline
|
set display+=lastline
|
||||||
|
|
||||||
if &encoding ==# 'latin1' && has('gui_running')
|
|
||||||
set encoding=utf-8
|
|
||||||
endif
|
|
||||||
|
|
||||||
if &listchars ==# 'eol:$'
|
if &listchars ==# 'eol:$'
|
||||||
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
|
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user