Skip to content

Commit

Permalink
refactor: remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaRevenco committed Dec 7, 2024
1 parent a73e1fd commit 032bd5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions helix-term/src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ pub mod completers {
input: &str,
git_ignore: bool,
) -> Vec<Completion> {
// styles are not lost here
filename_impl(editor, input, git_ignore, |entry| {
let is_dir = entry.file_type().map_or(false, |entry| entry.is_dir());

Expand Down Expand Up @@ -533,7 +532,6 @@ pub mod completers {
.map(|file| (end.clone(), style_from_file(file)))
.collect();
files.sort_unstable_by(|(_, path1), (_, path2)| path1.content.cmp(&path2.content));
// ok, so the Styles get correctly applied
files
}
}
Expand Down

0 comments on commit 032bd5e

Please sign in to comment.