diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-05-21 20:16:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 20:16:05 +0200 |
commit | 384a3bc308c95c9511eff1b85cd55357bdaedd9e (patch) | |
tree | 4ec9a0ae9095af1dbacade1e10e53a3f4d842417 /test/functional/lua/luaeval_spec.lua | |
parent | edf9a897f089191f2b43985f7ebc11a0b540bb44 (diff) | |
parent | 1fe1bb084d0099fc4f9bfdc11189485d0f74b75a (diff) | |
download | rneovim-384a3bc308c95c9511eff1b85cd55357bdaedd9e.tar.gz rneovim-384a3bc308c95c9511eff1b85cd55357bdaedd9e.tar.bz2 rneovim-384a3bc308c95c9511eff1b85cd55357bdaedd9e.zip |
Merge pull request #23670 from famiu/refactor/deprecate_opt_api
refactor(options): deprecate nvim[_buf|_win]_[gs]et_option
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
-rw-r--r-- | test/functional/lua/luaeval_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/luaeval_spec.lua b/test/functional/lua/luaeval_spec.lua index 613008b5e1..31da5db1df 100644 --- a/test/functional/lua/luaeval_spec.lua +++ b/test/functional/lua/luaeval_spec.lua @@ -514,7 +514,7 @@ describe('v:lua', function() [5] = {bold = true, foreground = Screen.colors.SeaGreen4}, }) screen:attach() - meths.buf_set_option(0, 'omnifunc', 'v:lua.mymod.omni') + meths.set_option_value('omnifunc', 'v:lua.mymod.omni', { buf = 0 }) feed('isome st<c-x><c-o>') screen:expect{grid=[[ some stuff^ | @@ -526,7 +526,7 @@ describe('v:lua', function() {1:~ }| {4:-- Omni completion (^O^N^P) }{5:match 1 of 3} | ]]} - meths.set_option('operatorfunc', 'v:lua.mymod.noisy') + meths.set_option_value('operatorfunc', 'v:lua.mymod.noisy', {}) feed('<Esc>g@g@') eq("hey line", meths.get_current_line()) end) |