diff options
author | Josh Rahm <rahm@google.com> | 2023-01-25 20:32:09 +0000 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2023-01-25 20:32:09 +0000 |
commit | 72d6c06eabd7929e121411f5bf68505b399a0fbf (patch) | |
tree | e315ebc96c351da34d1d598a146bb3dcb0c7f822 | |
parent | c4523c5aadbdfeaf30e33ab0ce6d29697b2d16d8 (diff) | |
download | zshrcd-72d6c06eabd7929e121411f5bf68505b399a0fbf.tar.gz zshrcd-72d6c06eabd7929e121411f5bf68505b399a0fbf.tar.bz2 zshrcd-72d6c06eabd7929e121411f5bf68505b399a0fbf.zip |
Optional ability to use fast-syntax-highlighting instead
-rw-r--r-- | 99-plugins.zsh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/99-plugins.zsh b/99-plugins.zsh index 466ba90..4f10476 100644 --- a/99-plugins.zsh +++ b/99-plugins.zsh @@ -1,5 +1,4 @@ source ~/.zshrc.d/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh -source ~/.zshrc.d/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh fpath=(~/.zshrc.d/plugins/completions/ $fpath) @@ -9,4 +8,10 @@ for f in ~/.zshrc.d/local/*.zsh ; do source "$f" done 2>/dev/null +if [ -z "$USE_FAST_SYNTAX" ] ; then + source ~/.zshrc.d/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +else + source ~/.zshrc.d/plugins/fast-syntax-highlighting/F-Sy-H.plugin.zsh +fi + /bin/true |