From 78a1e2db6035b326d7536fbd0fb60f9fc586d978 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 16 Feb 2023 15:48:35 +0100 Subject: feat: show current language when no argument is provided (#5895) --- helix-view/src/document.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-view/src') 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)] -- cgit v1.2.3-70-g09d2