mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
vim-patch:8.1.0970: text properties test fails when 'encoding' is not utf-8 (#26023)
Problem: Text properties test fails when 'encoding' is not utf-8.
Solution: Compare with original value of 'encoding'. (Christian Brabandt,
closes vim/vim#3986)
ed79d1e348
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
e3e5fadee0
commit
91872d7712
@ -84,7 +84,9 @@ source setup.vim
|
||||
set nocp viminfo+=nviminfo
|
||||
|
||||
" Use utf-8 by default, instead of whatever the system default happens to be.
|
||||
" Individual tests can overrule this at the top of the file.
|
||||
" Individual tests can overrule this at the top of the file and use
|
||||
" g:orig_encoding if needed.
|
||||
let g:orig_encoding = &encoding
|
||||
set encoding=utf-8
|
||||
|
||||
" REDIR_TEST_TO_NULL has a very permissive SwapExists autocommand which is for
|
||||
|
Loading…
Reference in New Issue
Block a user