aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-20 13:21:31 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-22 00:05:30 +0200
commit70641c44040751ae6ff6f3d7567448dcc2fcc061 (patch)
treeafaacd7f3f65dee5172c5effa825ab5e06fc0568 /README.md
parente29bbbb8ea4f59d277a6e4f50d7d2501ddd04b07 (diff)
downloadvis-70641c44040751ae6ff6f3d7567448dcc2fcc061.tar.gz
vis-70641c44040751ae6ff6f3d7567448dcc2fcc061.tar.xz
vis-lua: add bindings for new view style functions
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 496e2f3..19fe88b 100644
--- a/README.md
+++ b/README.md
@@ -617,6 +617,8 @@ At this time there exists no API stability guarantees.
- `cursor` primary cursor
- `syntax` lexer name used for syntax highlighting or `nil`
- `map(mode, key, function)` map a Lua function to `key` in `mode`, local to the given window
+ - `style_define(id, style)` where `id` is a constant and `style` a string
+ - `style(id, start, end)` apply style to file range, will be cleared after every redraw
- `cursor`
- `line` (1 based), `col` (1 based)
- `to(line, col)`