summaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/document.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 76a3b8e9..e606ec3c 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -17,7 +17,8 @@ pub enum Mode {
}
pub struct Document {
- pub state: State, // rope + selection
+ // rope + selection
+ state: State,
path: Option<PathBuf>,
/// Current editing mode.