From 91bf6dc891409d54cf8cde5d6deb973f98ffed88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 16 Apr 2016 12:11:39 +0200 Subject: vis-lua: update API documentaiton in README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0ad5141..c7b7d5f 100644 --- a/README.md +++ b/README.md @@ -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) -- cgit v1.2.3