mirror of
https://github.com/neovim/neovim.git
synced 2026-02-09 14:02:05 +10:00
vim-patch:9.0.1614: strlen() called too often for :spellrepall (#23940)
Problem: strlen() called too often for :spellrepall.
Solution: Store the result in a variable. (closes vim/vim#12497)
59f7038536
This commit is contained in:
@@ -281,7 +281,7 @@ func Test_compl_with_CTRL_X_CTRL_K_using_spell()
|
||||
set spell& spelllang& dictionary& ignorecase&
|
||||
endfunc
|
||||
|
||||
func Test_spellreall()
|
||||
func Test_spellrepall()
|
||||
new
|
||||
set spell
|
||||
call assert_fails('spellrepall', 'E752:')
|
||||
|
||||
Reference in New Issue
Block a user