@@ -143,7 +143,8 @@ fn fetch_grammar(grammar: GrammarConfiguration) -> Result<()> {
143143 } = grammar.source
144144 {
145145 let grammar_dir = crate::runtime_dir()
146− .join("grammars/sources")
146+ .join("grammars")
147+ .join("sources")
147148 .join(&grammar.grammar_id);
148149
149150 fs::create_dir_all(&grammar_dir).context(format!(
@@ -233,7 +234,8 @@ fn build_grammar(grammar: GrammarConfiguration) -> Result<()> {
233234 PathBuf::from(&path)
234235 } else {
235236 crate::runtime_dir()
236− .join("grammars/sources")
237+ .join("grammars")
238+ .join("sources")
237239 .join(&grammar.grammar_id)
238240 };
239241