diff options
| author | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-23 13:30:16 -0700 |
|---|---|---|
| committer | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-23 13:30:16 -0700 |
| commit | 493d7b91843e791cd1b70d0208cb3a705cee1bed (patch) | |
| tree | 3ffeb61bcaa28ebdcac02aed62257366e1323031 /scratch | |
| parent | b26cc8c866085ab606fa140a606352a968564a65 (diff) | |
| download | a4-493d7b91843e791cd1b70d0208cb3a705cee1bed.tar.xz a4-493d7b91843e791cd1b70d0208cb3a705cee1bed.zip | |
visual selection coming in
Diffstat (limited to 'scratch')
| -rw-r--r-- | scratch/refresh.lua | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/scratch/refresh.lua b/scratch/refresh.lua index 680dd0b..24e864b 100644 --- a/scratch/refresh.lua +++ b/scratch/refresh.lua @@ -1,18 +1,5 @@ R("99") -function test_function() - return 42 -end +local Range = require("99.geo").Range -function test_empty() end - -function test_body() - local ts = require("99.editor.treesitter") - local Point = require("99.geo").Point - local Lang = require("99.language") - local cursor = Point:from_cursor() - local func = ts.containing_function(0, cursor) - -end - -test_body() +local selection = Range:from_visual_selection() |
