aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/tex.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-19 10:28:16 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-19 12:05:03 +0100
commit4905f678318d6a95b30a56b0551a356593dbd00c (patch)
tree78d1b37cac1c79d017007989dad091f55dae4ded /lua/lexers/tex.lua
parentc73845177bad1fe27df105a06aac5f71f94b5ebd (diff)
downloadvis-4905f678318d6a95b30a56b0551a356593dbd00c.tar.gz
vis-4905f678318d6a95b30a56b0551a356593dbd00c.tar.xz
vis-lua: implement file.marks[] array
We need to retrieve a pointer to the File struct but can not store it directly in the Lua uservalue because the address is already used for the regular file object (of type vis.file). For now we use file->marks as an address and then use offsetof to retrieve the start of the struct.
Diffstat (limited to 'lua/lexers/tex.lua')
0 files changed, 0 insertions, 0 deletions