diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-10-21 11:36:02 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-10-21 12:09:33 +0100 |
commit | c8e47f648052f8001d8a493cf7ca6c4867a36bc3 (patch) | |
tree | b04134d30fd21fad10cb42d26e621465cbcd0a27 /runtime/lua/vim/_meta | |
parent | 3572319b4cb1a4163624a5fe328886f1928dbc4a (diff) | |
download | rneovim-c8e47f648052f8001d8a493cf7ca6c4867a36bc3.tar.gz rneovim-c8e47f648052f8001d8a493cf7ca6c4867a36bc3.tar.bz2 rneovim-c8e47f648052f8001d8a493cf7ca6c4867a36bc3.zip |
fix(meta): do not use hyphens in param names
Fixes #30882
Diffstat (limited to 'runtime/lua/vim/_meta')
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index f40a94a442..bde3101479 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -221,16 +221,16 @@ function vim.fn.assert_beeps(cmd) end --- @return 0|1 function vim.fn.assert_equal(expected, actual, msg) end ---- When the files {fname-one} and {fname-two} do not contain +--- When the files {fname_one} and {fname_two} do not contain --- exactly the same text an error message is added to |v:errors|. --- Also see |assert-return|. ---- When {fname-one} or {fname-two} does not exist the error will +--- When {fname_one} or {fname_two} does not exist the error will --- mention that. --- ---- @param fname-one string ---- @param fname-two string +--- @param fname_one string +--- @param fname_two string --- @return 0|1 -function vim.fn.assert_equalfile(fname-one, fname-two) end +function vim.fn.assert_equalfile(fname_one, fname_two) end --- When v:exception does not contain the string {error} an error --- message is added to |v:errors|. Also see |assert-return|. |