diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-02-23 08:03:08 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-02-23 08:03:08 +0100 |
| commit | 8b0b98fcbb0db6475c081ed6b1bf7eae76c13595 (patch) | |
| tree | 24ea36175e0aa92c7a46ed1aebf9a0e2ddd0b135 /lua | |
| parent | 0be5f050599733b415e00cd957634aa6aabd638d (diff) | |
| download | vis-8b0b98fcbb0db6475c081ed6b1bf7eae76c13595.tar.gz vis-8b0b98fcbb0db6475c081ed6b1bf7eae76c13595.tar.xz | |
vis-lua: use shorter type names
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/vis.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/vis.lua b/lua/vis.lua index f18792e..286af3d 100644 --- a/lua/vis.lua +++ b/lua/vis.lua @@ -199,7 +199,7 @@ vis.events = events -- @tparam int the absolute position in bytes to test 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['vis.file'].match_at = function(file, pattern, pos, horizon) +vis.types.file.match_at = function(file, pattern, pos, horizon) horizon = horizon or 1024 local lpeg = vis.lpeg if not lpeg then return nil end |
