mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
vim-patch:8.1.1925: more functions can be used as methods
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.4c313b13fb
The rest of this patch was ported in3137c7d635
N/A patches for version.c: vim-patch:8.1.2012: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make terminal functions usable as a method. Fix term_getattr().7ee80f7661
vim-patch:8.2.3576: some functions are not documented for use with a method Problem: Some functions are not documented for use with a method. Solution: Add examples. Fix that sign_unplacelist() only takes one argument. (Sean Dewar, closes vim/vim#9081)a63780b977
Addressed in the port of v8.1.1995.
This commit is contained in:
parent
afbf89dc01
commit
fa9076f276
@ -101,7 +101,7 @@ func Test_chdir_func()
|
||||
call assert_match('^\[global\] .*/Xdir$', trim(execute('verbose pwd')))
|
||||
call chdir('..')
|
||||
call assert_equal('y', fnamemodify(getcwd(1, 2), ':t'))
|
||||
call assert_equal('z', fnamemodify(getcwd(3, 2), ':t'))
|
||||
call assert_equal('z', fnamemodify(3->getcwd(2), ':t'))
|
||||
tabnext | wincmd t
|
||||
call assert_match('^\[tabpage\] .*/y$', trim(execute('verbose pwd')))
|
||||
call chdir('..')
|
||||
|
Loading…
Reference in New Issue
Block a user