Skip to content

Commit 8dfdb1c

Browse files
committed
docs: add *Delta* example for log_pager
1 parent 477210b commit 8dfdb1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Here's an example spec for [Lazy](https://github.com/folke/lazy.nvim), but you'r
3333
dependencies = {
3434
"nvim-lua/plenary.nvim", -- required
3535
"sindrets/diffview.nvim", -- optional - Diff integration
36+
"m00qek/baleia.nvim", -- optional - Required for a custom log pager
3637

3738
-- Only one of these is needed.
3839
"nvim-telescope/telescope.nvim", -- optional
@@ -90,7 +91,7 @@ neogit.setup {
9091
-- Show relative date by default. When set, use `strftime` to display dates
9192
commit_date_format = nil,
9293
log_date_format = nil,
93-
-- When set, used to format the diff.
94+
-- When set, used to format the diff. Requires *baleia* to colorize text with ANSI escape sequences. An example for *Delta* is `{ 'delta', '--width', '117' }`. It's recommended to set `disable_context_highlighting = true`, otherwise when the cursor is in the hunk, we lose background highlighting
9495
log_pager = nil,
9596
-- Used to generate URL's for branch popup action "pull request".
9697
git_services = {

0 commit comments

Comments
 (0)