diff options
author | Kirawi | 2022-04-18 03:10:51 +0000 |
---|---|---|
committer | GitHub | 2022-04-18 03:10:51 +0000 |
commit | c2a40d9d5229c701fa1a6d0fb80ce4ba86e8dc0c (patch) | |
tree | b27da29863432ca7ee48c582f5aeb538d7a39ea1 /helix-loader/src/grammar.rs | |
parent | be656c14e32243fc32ed68f9a3240301f2902df7 (diff) |
Add support for local language configuration (#1249)
* add local configuration
* move config loading to Application::new
* simplify find_root_impl
Diffstat (limited to 'helix-loader/src/grammar.rs')
-rw-r--r-- | helix-loader/src/grammar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-loader/src/grammar.rs b/helix-loader/src/grammar.rs index 7474713a..9d63a2be 100644 --- a/helix-loader/src/grammar.rs +++ b/helix-loader/src/grammar.rs @@ -92,7 +92,7 @@ pub fn build_grammars() -> Result<()> { // merged. The `grammar_selection` key of the config is then used to filter // down all grammars into a subset of the user's choosing. fn get_grammar_configs() -> Result<Vec<GrammarConfiguration>> { - let config: Configuration = crate::user_lang_config() + let config: Configuration = crate::config::user_lang_config() .context("Could not parse languages.toml")? .try_into()?; |