diff options
author | Guillaume | 2023-02-16 14:48:35 +0000 |
---|---|---|
committer | GitHub | 2023-02-16 14:48:35 +0000 |
commit | 78a1e2db6035b326d7536fbd0fb60f9fc586d978 (patch) | |
tree | 183cd41715fe36b1adb13dc3a7e20b2f49f47bb9 /helix-view | |
parent | a1a6d5f3340ba8a587bbf8c178fe65589f36a51a (diff) |
feat: show current language when no argument is provided (#5895)
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/document.rs | 2 |
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)] |