aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorMatouš Dzivjak2021-12-25 15:10:46 +0000
committerGitHub2021-12-25 15:10:46 +0000
commit4b0b1a5657b78693efe609647360de30264fcc92 (patch)
tree2f8481ebc7065d8dcc775f9f32bde0f8a0ed8f3f /helix-core/src
parentec878e40114d8992c3ed1221f77271a4508d3cde (diff)
feat(ui): file encoding in statusline (#1355)
* feat(ui): file encoding in statusline Display file encoding in statusline if the encoding isn't UTF-8. * Re-export encoding_rs from core From there it can be imported by other mods that rely on it.
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs
index 92a59f31..1c78e7c0 100644
--- a/helix-core/src/lib.rs
+++ b/helix-core/src/lib.rs
@@ -1,3 +1,5 @@
+pub use encoding_rs as encoding;
+
pub mod auto_pairs;
pub mod chars;
pub mod comment;