Add a new movement::surrounding_word function

This commit is contained in:
Antonio Scandurra 2021-11-23 16:19:11 +01:00
parent 005a7076af
commit a0ea5b38a0
2 changed files with 125 additions and 25 deletions

View file

@ -169,7 +169,7 @@ impl DisplayMap {
}
pub struct DisplayMapSnapshot {
buffer_snapshot: language::Snapshot,
pub buffer_snapshot: language::Snapshot,
folds_snapshot: fold_map::Snapshot,
tabs_snapshot: tab_map::Snapshot,
wraps_snapshot: wrap_map::Snapshot,