Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/document.rs')
-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 fb89e2e0..a0a56113 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -1172,7 +1172,7 @@ impl Document {
}
}
- pub(crate) fn detect_editor_config(&mut self) {
+ pub fn detect_editor_config(&mut self) {
if self.config.load().editor_config {
if let Some(path) = self.path.as_ref() {
self.editor_config = EditorConfig::find(path);