mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
refactor(iter): move helper functions under vim.iter
vim.iter is now both a function and a module (similar to vim.version).
This commit is contained in:
@@ -188,7 +188,7 @@ CONFIG = {
|
||||
f'*vim.{name}()*'
|
||||
if fstem.lower() == '_editor'
|
||||
else f'*{name}()*'
|
||||
if fstem in ('iter.lua')
|
||||
if name[0].isupper()
|
||||
else f'*{fstem}.{name}()*'),
|
||||
'module_override': {
|
||||
# `shared` functions are exposed on the `vim` module.
|
||||
@@ -202,6 +202,7 @@ CONFIG = {
|
||||
'fs': 'vim.fs',
|
||||
'secure': 'vim.secure',
|
||||
'version': 'vim.version',
|
||||
'iter': 'vim.iter',
|
||||
},
|
||||
'append_only': [
|
||||
'shared.lua',
|
||||
|
Reference in New Issue
Block a user