summaryrefslogtreecommitdiff
path: root/scratch/fuzzy_tester.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-07-31 00:05:22 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-07-31 00:05:22 -0400
commitfa0382d93e73b66e7ec769cec27b9fbb21020641 (patch)
tree624d5dc3de80426956a1c46447f1f26443a87a64 /scratch/fuzzy_tester.lua
parentababfbfd88334ca6d94d5d0a8b6324dd6600d602 (diff)
Streamed some refactoring. More work to do
Diffstat (limited to 'scratch/fuzzy_tester.lua')
-rw-r--r--scratch/fuzzy_tester.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/scratch/fuzzy_tester.lua b/scratch/fuzzy_tester.lua
new file mode 100644
index 0000000..0971381
--- /dev/null
+++ b/scratch/fuzzy_tester.lua
@@ -0,0 +1,8 @@
+
+line = "hello"
+prompt = "h"
+print(vim.inspect(vim.fn.systemlist(string.format(
+ "echo '%s' | ~/tmp/fuzzy_test/target/debug/fuzzy_test '%s'",
+ line,
+ prompt
+))))