aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorPerry Thompson2021-07-02 02:52:22 +0000
committerBlaž Hrastnik2021-07-02 03:10:15 +0000
commite177b27baf85611892b024453005808fed49707f (patch)
treeb90d57dde458ecbfcdce5e0333b81454657b0400 /helix-core/src
parent9f62ad0715240156b512dfc7c584d2d0df05a664 (diff)
Add missing import
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/syntax.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 9dbb2c03..5b45a88f 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -94,6 +94,7 @@ fn load_runtime_file(language: &str, filename: &str) -> Result<String, std::io::
#[cfg(feature = "embed_runtime")]
fn load_runtime_file(language: &str, filename: &str) -> Result<String, Box<dyn std::error::Error>> {
use std::fmt;
+ use std::path::PathBuf;
#[derive(rust_embed::RustEmbed)]
#[folder = "../runtime/"]