diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2021-08-20 11:11:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-20 11:11:24 -0400 |
| commit | a97af306c4e9c9a6fa7c886c0ffe3079822c5203 (patch) | |
| tree | f5e2b50a767e93618d0d8fdddb8a964c90633c8a /scratch/simple_rg.lua | |
| parent | d6d28dbe324de9826a579155076873888169ba0f (diff) | |
feat(performance): Major performance improvements using async v2 from @oberblastmeister (#987)
* start: Working w/ async jobs
* short circuit to using bad finder if you pass writer.
Diffstat (limited to 'scratch/simple_rg.lua')
| -rw-r--r-- | scratch/simple_rg.lua | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/scratch/simple_rg.lua b/scratch/simple_rg.lua deleted file mode 100644 index 8bd2586..0000000 --- a/scratch/simple_rg.lua +++ /dev/null @@ -1,23 +0,0 @@ -local telescope = require('telescope') - --- Uhh, finder should probably just GET the results --- and then update some table. --- When updating the table, we should call filter on those items --- and then only display ones that pass the filter -local rg_finder = telescope.finders.new { - fn_command = function(_, prompt) - return string.format('rg --vimgrep %s', prompt) - end, - - responsive = false -} - -local p = telescope.pickers.new { - previewer = telescope.previewers.vim_buffer -} -p:find { - prompt = 'grep', - finder = rg_finder -} - - |
