diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-16 12:11:39 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-16 12:52:04 +0200 |
| commit | 91bf6dc891409d54cf8cde5d6deb973f98ffed88 (patch) | |
| tree | 0df3e60d3bd1850cb4473c4eb362b85a1030522c /README.md | |
| parent | 2499521dc70b064007df652af8e68eaad8acbf2b (diff) | |
| download | vis-91bf6dc891409d54cf8cde5d6deb973f98ffed88.tar.gz vis-91bf6dc891409d54cf8cde5d6deb973f98ffed88.tar.xz | |
vis-lua: update API documentaiton in README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -577,6 +577,7 @@ At this time there exists no API stability guarantees. - `win_open(win)` - `win_close(win)` - `files()` iterator + - `win` currently focused window - `windows()` iterator - `command(cmd)` - `info(msg)` @@ -597,10 +598,11 @@ At this time there exists no API stability guarantees. - `size` current file size in bytes - `window` - `file` - - `syntax` lexer name used for syntax highlighting or `nil` - `cursors_iterator()` - `cursors[1..#cursors]` array giving read access to all cursors - `cursor` primary cursor + - `syntax` lexer name used for syntax highlighting or `nil` + - `cursor` - `line` (1 based), `col` (1 based) - `to(line, col)` - `pos` bytes from start of file (0 based) |
