diff options
author | Will Hopkins <willothyh@gmail.com> | 2024-03-02 14:39:25 -0800 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-03-06 16:03:58 +0000 |
commit | 191cca2566a8afe2b2f2744f3eb763d810cc416c (patch) | |
tree | cac20e317da9138c5a5f93a5d7b90150c95f70c1 | |
parent | 85b13751a5fc28fadbe74d72982325ca27b4c775 (diff) | |
download | rneovim-191cca2566a8afe2b2f2744f3eb763d810cc416c.tar.gz rneovim-191cca2566a8afe2b2f2744f3eb763d810cc416c.tar.bz2 rneovim-191cca2566a8afe2b2f2744f3eb763d810cc416c.zip |
fix(types): move type annotation for `IterMod`
-rw-r--r-- | runtime/lua/vim/iter.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/lua/vim/iter.lua b/runtime/lua/vim/iter.lua index 77c8d1d170..357dd35bdc 100644 --- a/runtime/lua/vim/iter.lua +++ b/runtime/lua/vim/iter.lua @@ -1140,9 +1140,8 @@ function M.map(f, src, ...) return Iter.new(src, ...):map(f):totable() end ----@type IterMod return setmetatable(M, { __call = function(_, ...) return Iter.new(...) end, -}) +}) --[[@as IterMod]] |