mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 06:48:17 +00:00
vim-patch:8.2.0074: Python 3 unicode test someitmes fails
Problem: Python 3 unicode test someitmes fails.
Solution: Make 'termencoding' empty. Correct number of error message.
4b7cdca230
This commit is contained in:
@@ -69,7 +69,7 @@ See `:messages` above.
|
|||||||
LIST OF MESSAGES
|
LIST OF MESSAGES
|
||||||
*E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317*
|
*E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317*
|
||||||
*E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322*
|
*E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322*
|
||||||
*E323* *E341* *E473* *E570* *E685* *E950* >
|
*E323* *E341* *E473* *E570* *E685* *E292* >
|
||||||
Add to read buffer
|
Add to read buffer
|
||||||
makemap: Illegal mode
|
makemap: Illegal mode
|
||||||
Cannot create BalloonEval with both message and callback
|
Cannot create BalloonEval with both message and callback
|
||||||
|
@@ -757,7 +757,7 @@ int del_bytes(colnr_T count, bool fixpos_arg, bool use_delcombine)
|
|||||||
}
|
}
|
||||||
// If "count" is negative the caller must be doing something wrong.
|
// If "count" is negative the caller must be doing something wrong.
|
||||||
if (count < 1) {
|
if (count < 1) {
|
||||||
IEMSGN("E950: Invalid count for del_bytes(): %ld", count);
|
IEMSGN("E292: Invalid count for del_bytes(): %ld", count);
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2488,12 +2488,6 @@ return {
|
|||||||
varname='p_tbidi',
|
varname='p_tbidi',
|
||||||
defaults={if_true={vi=false}}
|
defaults={if_true={vi=false}}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
full_name='termencoding', abbreviation='tenc',
|
|
||||||
type='string', scope={'global'},
|
|
||||||
vi_def=true,
|
|
||||||
defaults={if_true={vi=""}}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
full_name='termguicolors', abbreviation='tgc',
|
full_name='termguicolors', abbreviation='tgc',
|
||||||
type='bool', scope={'global'},
|
type='bool', scope={'global'},
|
||||||
|
@@ -174,13 +174,20 @@ func Test_Catch_Exception_Message()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_unicode()
|
func Test_unicode()
|
||||||
throw 'skipped: Nvim only supports "utf-8" for "encoding" option'
|
throw 'skipped: Nvim does not support "termencoding" option and only supports "utf-8" for "encoding" option'
|
||||||
" this crashed Vim once
|
" this crashed Vim once
|
||||||
|
let save_tenc = &tenc
|
||||||
|
set tenc=
|
||||||
|
|
||||||
set encoding=utf32
|
set encoding=utf32
|
||||||
py3 print('hello')
|
py3 print('hello')
|
||||||
|
|
||||||
set encoding=debug
|
set encoding=debug
|
||||||
py3 print('hello')
|
py3 print('hello')
|
||||||
|
|
||||||
set encoding=euc-tw
|
set encoding=euc-tw
|
||||||
py3 print('hello')
|
py3 print('hello')
|
||||||
|
|
||||||
set encoding=utf8
|
set encoding=utf8
|
||||||
|
let &tenc = save_tenc
|
||||||
endfunc
|
endfunc
|
||||||
|
Reference in New Issue
Block a user