diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2022-03-30 22:35:40 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2022-03-30 22:36:04 +0000 |
commit | ecb3475434f22b6101a7422e667e809ef4c2991a (patch) | |
tree | 8afc379f1bbc9f7344948666d38d9c36f5dda497 /editors/helix/files/patch-helix-loader_src_grammar.rs | |
parent | 6987652045875bd891ebc8710ac5b8163818f9b5 (diff) | |
download | ports-ecb3475434f22b6101a7422e667e809ef4c2991a.tar.gz ports-ecb3475434f22b6101a7422e667e809ef4c2991a.zip |
editors/helix: Update to 22.03
Reported by: portscout
Diffstat (limited to 'editors/helix/files/patch-helix-loader_src_grammar.rs')
-rw-r--r-- | editors/helix/files/patch-helix-loader_src_grammar.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/helix/files/patch-helix-loader_src_grammar.rs b/editors/helix/files/patch-helix-loader_src_grammar.rs new file mode 100644 index 000000000000..4fd2e1f10026 --- /dev/null +++ b/editors/helix/files/patch-helix-loader_src_grammar.rs @@ -0,0 +1,12 @@ +--- helix-loader/src/grammar.rs.orig 2022-03-30 19:54:07 UTC ++++ helix-loader/src/grammar.rs +@@ -79,8 +79,7 @@ pub fn fetch_grammars() -> Result<()> { + // We do not need to fetch local grammars. + let mut grammars = get_grammar_configs()?; + grammars.retain(|grammar| !matches!(grammar.source, GrammarSource::Local { .. })); +- +- run_parallel(grammars, fetch_grammar, "fetch") ++ Ok(()) + } + + pub fn build_grammars() -> Result<()> { |