From f1fd99ebfb105123f2325c5fceae96c04331f081 Mon Sep 17 00:00:00 2001 From: Kobu Date: Sat, 27 Jan 2024 13:52:55 +0100 Subject: [PATCH] doc(action_state): improve description of action_state.get_current_line (#2895) --- doc/telescope.txt | 2 +- lua/telescope/actions/state.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/telescope.txt b/doc/telescope.txt index ea9c424..6092e08 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -3329,7 +3329,7 @@ action_state.get_selected_entry() *telescope.actions.state.get_selected_entry()* action_state.get_current_line() *telescope.actions.state.get_current_line()* - Gets the current line + Gets the current line in the search prompt diff --git a/lua/telescope/actions/state.lua b/lua/telescope/actions/state.lua index d5109ed..539d97c 100644 --- a/lua/telescope/actions/state.lua +++ b/lua/telescope/actions/state.lua @@ -17,7 +17,7 @@ function action_state.get_selected_entry() return global_state.get_global_key "selected_entry" end ---- Gets the current line +--- Gets the current line in the search prompt function action_state.get_current_line() return global_state.get_global_key "current_line" or "" end