diff options
Diffstat (limited to 'scratch/refresh.lua')
| -rw-r--r-- | scratch/refresh.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scratch/refresh.lua b/scratch/refresh.lua index 5a6cee0..1bd4fb4 100644 --- a/scratch/refresh.lua +++ b/scratch/refresh.lua @@ -55,7 +55,8 @@ function create_mark() local fn = ts.containing_function(buffer, Point:from_cursor()) assert(fn, "could not find containing function") - local m = Mark.mark_func_body(buffer, fn):set_max_virt_lines(3) + local _99 = require("99") + local m = Mark.mark_func_body(_99.__get_state(), buffer, fn) write(m, { "hello, world", |
