mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
vim-patch:8.1.0811: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
30276f2beb
This commit is contained in:
@@ -479,9 +479,6 @@ endfunc
|
|||||||
|
|
||||||
func Test_show_digraph_cp1251()
|
func Test_show_digraph_cp1251()
|
||||||
throw 'skipped: Nvim supports ''utf8'' encoding only'
|
throw 'skipped: Nvim supports ''utf8'' encoding only'
|
||||||
if !has('multi_byte')
|
|
||||||
return
|
|
||||||
endif
|
|
||||||
new
|
new
|
||||||
set encoding=cp1251
|
set encoding=cp1251
|
||||||
call Put_Dig("='")
|
call Put_Dig("='")
|
||||||
|
@@ -10,10 +10,6 @@ function Test_edit()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
func Test_edit_bad()
|
func Test_edit_bad()
|
||||||
if !has('multi_byte')
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Test loading a utf8 file with bad utf8 sequences.
|
" Test loading a utf8 file with bad utf8 sequences.
|
||||||
call writefile(["[\xff][\xc0][\xe2\x89\xf0][\xc2\xc2]"], "Xfile")
|
call writefile(["[\xff][\xc0][\xe2\x89\xf0][\xc2\xc2]"], "Xfile")
|
||||||
new
|
new
|
||||||
|
@@ -1053,7 +1053,7 @@ func Test_search_Ctrl_L_combining()
|
|||||||
" ' ̇' U+0307 Dec:775 COMBINING DOT ABOVE ̇ /\%u307\Z "\u0307"
|
" ' ̇' U+0307 Dec:775 COMBINING DOT ABOVE ̇ /\%u307\Z "\u0307"
|
||||||
" ' ̣' U+0323 Dec:803 COMBINING DOT BELOW ̣ /\%u323 "\u0323"
|
" ' ̣' U+0323 Dec:803 COMBINING DOT BELOW ̣ /\%u323 "\u0323"
|
||||||
" Those should also appear on the commandline
|
" Those should also appear on the commandline
|
||||||
if !has('multi_byte') || !exists('+incsearch')
|
if !exists('+incsearch')
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
call Cmdline3_prep()
|
call Cmdline3_prep()
|
||||||
|
Reference in New Issue
Block a user