diff --git a/doc/telescope.txt b/doc/telescope.txt index bab9c5e..c18059f 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -2975,7 +2975,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 b07248a..d8bcc1a 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