aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/Cargo.toml4
-rw-r--r--helix-core/src/syntax.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml
index bab062e1..726e90cc 100644
--- a/helix-core/Cargo.toml
+++ b/helix-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "helix-core"
-version = "0.2.0"
+version = "0.3.0"
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
edition = "2018"
license = "MPL-2.0"
@@ -14,7 +14,7 @@ include = ["src/**/*", "README.md"]
embed_runtime = ["rust-embed"]
[dependencies]
-helix-syntax = { version = "0.2", path = "../helix-syntax" }
+helix-syntax = { version = "0.3", path = "../helix-syntax" }
ropey = "1.3"
smallvec = "1.4"
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 63ca424e..42c275d3 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -194,7 +194,7 @@ impl LanguageConfiguration {
let language = get_language_name(self.language_id).to_ascii_lowercase();
let toml = load_runtime_file(&language, "indents.toml").ok()?;
- toml::from_slice(&toml.as_bytes()).ok()
+ toml::from_slice(toml.as_bytes()).ok()
})
.as_ref()
}