summaryrefslogtreecommitdiff
path: root/lua/telescope/actions/state.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2021-08-20 11:11:24 -0400
committerGitHub <noreply@github.com>2021-08-20 11:11:24 -0400
commita97af306c4e9c9a6fa7c886c0ffe3079822c5203 (patch)
treef5e2b50a767e93618d0d8fdddb8a964c90633c8a /lua/telescope/actions/state.lua
parentd6d28dbe324de9826a579155076873888169ba0f (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 'lua/telescope/actions/state.lua')
-rw-r--r--lua/telescope/actions/state.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/actions/state.lua b/lua/telescope/actions/state.lua
index 0be2c3f..80fef56 100644
--- a/lua/telescope/actions/state.lua
+++ b/lua/telescope/actions/state.lua
@@ -18,7 +18,7 @@ end
--- Gets the current line
function action_state.get_current_line()
- return global_state.get_global_key "current_line"
+ return global_state.get_global_key "current_line" or ""
end
--- Gets the current picker