mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.1956: screenshot tests may use a different encoding
Problem: Screenshot tests may use a different encoding. (Dominique Pelle)
Solution: Always set 'encoding' to "utf-8" when running Vim in a terminal.
(closes vim/vim#4884)
0fdddeeb66
Comment out the encoding change in shared.vim
because Neovim always uses utf-8 for internal character encoding.
This commit is contained in:
parent
7ef3e2b880
commit
fa9dd9abf3
@ -291,6 +291,9 @@ func GetVimCommandClean()
|
|||||||
let cmd = substitute(cmd, '-u NONE', '--clean', '')
|
let cmd = substitute(cmd, '-u NONE', '--clean', '')
|
||||||
let cmd = substitute(cmd, '--headless', '', '')
|
let cmd = substitute(cmd, '--headless', '', '')
|
||||||
|
|
||||||
|
" Force using utf-8, Vim may pick up something else from the environment.
|
||||||
|
" let cmd ..= ' --cmd "set enc=utf8" '
|
||||||
|
|
||||||
" Optionally run Vim under valgrind
|
" Optionally run Vim under valgrind
|
||||||
" let cmd = 'valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind ' . cmd
|
" let cmd = 'valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind ' . cmd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user