From f5f5c3f8f5bc0b7ce43c5ea64ff42dda80356a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 31 May 2017 11:11:28 +0200 Subject: vis-lua: fix file:match_at API documentation --- lua/vis.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/vis.lua b/lua/vis.lua index a6ed5bb..c7738e9 100644 --- a/lua/vis.lua +++ b/lua/vis.lua @@ -273,7 +273,7 @@ end --- Check whether LPeg pattern matches at a given file position. -- @function match_at -- @param pattern the LPeg pattern --- @tparam int the absolute position in bytes to test for a match +-- @tparam int pos the absolute file position which should be tested for a match -- @tparam[opt] int horizon the number of bytes around `pos` to consider (defaults to 1K) -- @treturn int start,end the range of the matched region or `nil` vis.types.file.match_at = function(file, pattern, pos, horizon) -- cgit v1.2.3