aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorJan Hrastnik2021-03-02 22:57:18 +0000
committerBlaž Hrastnik2021-03-16 14:03:10 +0000
commitb738ae1bc7f42ce6756ee5d79307e416f86ef491 (patch)
tree39dc024b61eb1f99ec660d0b7131f4df41119e83 /helix-view/src
parent294791dffd707d0725db5eb35b5165fd1bb2c24a (diff)
more goto lsp functions
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 82258bde..9ec70023 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -19,7 +19,7 @@ pub enum Mode {
pub struct Document {
pub state: State, // rope + selection
/// File path on disk.
- path: Option<PathBuf>,
+ pub path: Option<PathBuf>, // pub for testing
/// Current editing mode.
pub mode: Mode,