Skip to content

Commit

Permalink
doc(action_state): improve description of action_state.get_current_li…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobu authored Jan 27, 2024
1 parent 1bfbb1f commit f1fd99e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/telescope.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down
2 changes: 1 addition & 1 deletion lua/telescope/actions/state.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1fd99e

Please sign in to comment.