diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-04-26 14:07:47 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-04-26 15:13:06 +0100 |
commit | b8273c9a339626078d49e706d882878090b07d42 (patch) | |
tree | 92684f3aff0b70b317119f1b955e93b5a25b7e90 /runtime/lua/vim/_meta/re.lua | |
parent | c5b9fb2f256516398592c81f496dae75a036b18e (diff) | |
download | rneovim-b8273c9a339626078d49e706d882878090b07d42.tar.gz rneovim-b8273c9a339626078d49e706d882878090b07d42.tar.bz2 rneovim-b8273c9a339626078d49e706d882878090b07d42.zip |
fix: lua annotations
Diffstat (limited to 'runtime/lua/vim/_meta/re.lua')
-rw-r--r-- | runtime/lua/vim/_meta/re.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/re.lua b/runtime/lua/vim/_meta/re.lua index 14c94c7824..9721e6f8c8 100644 --- a/runtime/lua/vim/_meta/re.lua +++ b/runtime/lua/vim/_meta/re.lua @@ -30,8 +30,8 @@ function vim.re.compile(string, defs) end --- @param subject string --- @param pattern vim.lpeg.Pattern|string --- @param init? integer ---- @return integer|nil the index where the occurrence starts, nil if no match ---- @return integer|nil the index where the occurrence ends, nil if no match +--- @return integer|nil : the index where the occurrence starts, nil if no match +--- @return integer|nil : the index where the occurrence ends, nil if no match function vim.re.find(subject, pattern, init) end --- Does a global substitution, replacing all occurrences of {pattern} in the given {subject} by |