These TODOs have been resolved
This commit is contained in:
parent
96ae5897a1
commit
b4fd3148e3
2 changed files with 1 additions and 3 deletions
helix-term/src
|
@ -1472,7 +1472,6 @@ fn search_completions(cx: &mut Context, reg: Option<char>) -> Vec<String> {
|
|||
items.into_iter().cloned().collect()
|
||||
}
|
||||
|
||||
// TODO: use one function for search vs extend
|
||||
fn search(cx: &mut Context) {
|
||||
searcher(cx, Direction::Forward)
|
||||
}
|
||||
|
@ -1480,7 +1479,7 @@ fn search(cx: &mut Context) {
|
|||
fn rsearch(cx: &mut Context) {
|
||||
searcher(cx, Direction::Backward)
|
||||
}
|
||||
// TODO: use one function for search vs extend
|
||||
|
||||
fn searcher(cx: &mut Context, direction: Direction) {
|
||||
let reg = cx.register.unwrap_or('/');
|
||||
let scrolloff = cx.editor.config.scrolloff;
|
||||
|
|
|
@ -392,7 +392,6 @@ fn debug_parameter_prompt(
|
|||
}
|
||||
|
||||
pub fn dap_toggle_breakpoint(cx: &mut Context) {
|
||||
// TODO: accept line instead of current selection
|
||||
let (view, doc) = current!(cx.editor);
|
||||
let path = match doc.path() {
|
||||
Some(path) => path.clone(),
|
||||
|
|
Loading…
Add table
Reference in a new issue