Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Syntax Highlighting plugin to fast-syntax-highlighting #8

Open
wants to merge 3 commits into
base: um40
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion ultramarine/shell-config/ultramarine-shell-config.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Source3: ultramarine-shell.sh
Source4: starship.toml

Requires: zsh-autosuggestions
Requires: zsh-syntax-highlighting
Requires: F-Sy-H
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think F-Sy-H is packaged in Fedora or Terra, is it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would need to be packaged, then. I don't know how to do that, but I assume that it is easy to do for shell plugins.

Requires: bat
Requires: starship

Expand Down
4 changes: 2 additions & 2 deletions ultramarine/shell-config/ultramarine-shell.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# initialize starship
eval "$(starship init zsh)"

source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/F-Sy-H/F-Sy-H.plugin.zsh
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh

# Ctrl + Arrow keybindings
Expand All @@ -14,4 +14,4 @@ HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory
setopt SHARE_HISTORY
setopt SHARE_HISTORY