diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-02-28 19:53:28 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-02-28 19:53:28 +0100 |
| commit | fdb56b003c9e0a00ded2878b0c174a7780bb39b2 (patch) | |
| tree | 2f10670e311cfb379cbde19c26c200c0c29ac478 /vis-lua.c | |
| parent | 113a6a6a84198432ed9258f4abd5ec490a64c518 (diff) | |
| parent | 0be1e2e70b797e7e3149d777a26bc69966079e07 (diff) | |
| download | vis-fdb56b003c9e0a00ded2878b0c174a7780bb39b2.tar.gz vis-fdb56b003c9e0a00ded2878b0c174a7780bb39b2.tar.xz | |
Merge branch 'vis-open-fixes' of https://github.com/kj/vis
Diffstat (limited to 'vis-lua.c')
| -rw-r--r-- | vis-lua.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2234,6 +2234,14 @@ static int file_mark_get(lua_State *L) { * @treturn Range range the range */ +/*** + * WORD text object. + * + * @function text_object_longword + * @tparam int pos the position which must be part of the word + * @treturn Range range the range + */ + static int file_text_object(lua_State *L) { Filerange range = text_range_empty(); File *file = obj_ref_check(L, 1, VIS_LUA_TYPE_FILE); |
