mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
refactor(getchar): rename test variable (#34769)
Also, test_disable_char_avail() is superseded by test_override() in Vim,
so remove that from vim_diff.txt.
(cherry picked from commit 0c02c9c70b
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
282f9fb816
commit
85c9014c09
@@ -171,7 +171,7 @@ if s:has_ffi
|
||||
lua << trim EOF
|
||||
require('ffi').cdef([[
|
||||
int starting;
|
||||
bool disable_char_avail_for_testing;
|
||||
bool test_disable_char_avail;
|
||||
]])
|
||||
EOF
|
||||
endif
|
||||
@@ -200,7 +200,7 @@ func Ntest_override(name, val)
|
||||
endif
|
||||
|
||||
if a:name ==# 'char_avail' || a:name ==# 'ALL'
|
||||
exe 'lua require("ffi").C.disable_char_avail_for_testing =' a:val
|
||||
exe 'lua require("ffi").C.test_disable_char_avail =' a:val
|
||||
endif
|
||||
endfunc
|
||||
|
||||
|
Reference in New Issue
Block a user