aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorGuillaume2023-02-16 14:48:35 +0000
committerGitHub2023-02-16 14:48:35 +0000
commit78a1e2db6035b326d7536fbd0fb60f9fc586d978 (patch)
tree183cd41715fe36b1adb13dc3a7e20b2f49f47bb9 /helix-view/src
parenta1a6d5f3340ba8a587bbf8c178fe65589f36a51a (diff)
feat: show current language when no argument is provided (#5895)
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/document.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index bbcc8666..579c6725 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -39,6 +39,8 @@ const BUF_SIZE: usize = 8192;
const DEFAULT_INDENT: IndentStyle = IndentStyle::Tabs;
+pub const DEFAULT_LANGUAGE_NAME: &str = "text";
+
pub const SCRATCH_BUFFER_NAME: &str = "[scratch]";
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]