summaryrefslogtreecommitdiff
path: root/lua/telescope/actions/state.lua
diff options
context:
space:
mode:
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