diff options
| author | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-09 14:15:06 -0700 |
|---|---|---|
| committer | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-09 14:15:06 -0700 |
| commit | 87a762d45e26ce49f3a6834c0b810cf1e2cba885 (patch) | |
| tree | 4c054d68e8da69495269b5391208258f28af014e /scratch/refresh.lua | |
| parent | 2c40101e1369061e95690ea5509199c7e42413a6 (diff) | |
| download | a4-87a762d45e26ce49f3a6834c0b810cf1e2cba885.tar.xz a4-87a762d45e26ce49f3a6834c0b810cf1e2cba885.zip | |
a working request... its looking good
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", |
