diff options
Diffstat (limited to 'helix-loader/src/grammar.rs')
-rw-r--r-- | helix-loader/src/grammar.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/helix-loader/src/grammar.rs b/helix-loader/src/grammar.rs index f0c5ea28..7474713a 100644 --- a/helix-loader/src/grammar.rs +++ b/helix-loader/src/grammar.rs @@ -143,7 +143,8 @@ fn fetch_grammar(grammar: GrammarConfiguration) -> Result<()> { } = grammar.source { let grammar_dir = crate::runtime_dir() - .join("grammars/sources") + .join("grammars") + .join("sources") .join(&grammar.grammar_id); fs::create_dir_all(&grammar_dir).context(format!( @@ -233,7 +234,8 @@ fn build_grammar(grammar: GrammarConfiguration) -> Result<()> { PathBuf::from(&path) } else { crate::runtime_dir() - .join("grammars/sources") + .join("grammars") + .join("sources") .join(&grammar.grammar_id) }; |