aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md15
-rw-r--r--helix-core/src/syntax.rs2
2 files changed, 2 insertions, 15 deletions
diff --git a/TODO.md b/TODO.md
index b3578b61..a3152f19 100644
--- a/TODO.md
+++ b/TODO.md
@@ -8,16 +8,7 @@
------
1
-- [x] selection mode
-- [x] % for whole doc selection
-- [x] vertical splits
-- [x] input counts (30j)
- - [x] input counts for b, w, e
- [ ] respect view fullscreen flag
-- [x] retain horiz when moving vertically
-- [w] retain horiz when moving via ctrl-u/d
-- [x] deindent
-- [x] update lsp on redo/undo
- [ ] Implement marks (superset of Selection/Range)
- [ ] ctrl-v/ctrl-x on file picker
- [ ] linewise selection work
@@ -25,17 +16,13 @@
- [ ] CI binary builds
- [ ] regex search / select next
-- [x] f / t mappings
- [ ] open_above (O) command
- [ ] = for auto indent line/selection
- [x] q should only close the view, if all are closed, close the editor
- [ ] buffers should sit on editor.buffers, view simply refs them
+- [ ] yank on delete
-- [ ] pressing b at start of file needs to not crash
- [ ] draw separator line between views
-- [ ] command to drop all selections except primary
-
-- [ ] diagnostic severity
- [ ] lsp: signature help
- [x] lsp: hover
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index acf4ad61..2ad06bef 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -178,7 +178,7 @@ pub struct Syntax {
pub(crate) root_layer: LanguageLayer,
}
-fn byte_range_to_str<'a>(range: std::ops::Range<usize>, source: RopeSlice<'a>) -> Cow<'a, str> {
+fn byte_range_to_str(range: std::ops::Range<usize>, source: RopeSlice) -> Cow<str> {
let start_char = source.byte_to_char(range.start);
let end_char = source.byte_to_char(range.end);
Cow::from(source.slice(start_char..end_char))