Skip to content

Commit

Permalink
docs: Mention force update sideline
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 11, 2024
1 parent ae0add9 commit 08dc9b3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,15 @@ Here is a list of supported commands:
* `face` - (optional) face overrides the default sideline face
* `name` - (optional) backend name to display

## 📇 How to force render the sideline on the next command?

You can force update sideline by adding a hook or advice with the function
`sideline-render-this`.

```elisp
(add-hook 'ts-fold-on-fold-hook #'sideline-render-this)
```

## 📂 Example projects

- [sideline-blame](https://github.com/emacs-sideline/sideline-blame)
Expand Down

0 comments on commit 08dc9b3

Please sign in to comment.