summaryrefslogtreecommitdiff
path: root/scratch
diff options
context:
space:
mode:
Diffstat (limited to 'scratch')
-rw-r--r--scratch/refresh.lua17
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()