Skip to content

Commit

Permalink
add syntax highlighting for blame view (extrawurst#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdtrung17693 committed Dec 31, 2023
1 parent 32d0a5c commit 1faaf4a
Show file tree
Hide file tree
Showing 3 changed files with 225 additions and 59 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Changes
- add syntax highlighting for blame view [[@tdtrung17693](https:/tdtrung17693)] ([#745](https:/extrawurst/gitui/issues/745))

### Added
* `theme.ron` now supports customizing line break symbol ([#1894](https:/extrawurst/gitui/issues/1894))
Expand Down
3 changes: 2 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ impl App {
&repo,
&queue,
sender,
sender_app,
&strings::blame_title(&key_config),
theme.clone(),
key_config.clone(),
Expand Down Expand Up @@ -525,7 +526,6 @@ impl App {
self.status_tab.update_git(ev)?;
self.stashing_tab.update_git(ev)?;
self.revlog.update_git(ev)?;
self.blame_file_popup.update_git(ev)?;
self.file_revlog_popup.update_git(ev)?;
self.inspect_commit_popup.update_git(ev)?;
self.compare_commits_popup.update_git(ev)?;
Expand All @@ -537,6 +537,7 @@ impl App {
}

self.files_tab.update_async(ev)?;
self.blame_file_popup.update_async(ev)?;
self.revision_files_popup.update(ev)?;
self.tags_popup.update(ev);

Expand Down
Loading

0 comments on commit 1faaf4a

Please sign in to comment.