Skip to content

🐛 Line numbers style not taking effect with --side-by-side #251

@amanjitsk

Description

@amanjitsk

Hi, I don't see the line number style taking effect with the new --side-by-side option.
For example, I am getting this
image
but I am expecting this
image
My delta config is as follow:

[core]
  pager = delta --side-by-side --syntax-theme=Nord
  ; pager = delta --syntax-theme=ansi-dark
  ; pager = delta --syntax-theme=ansi-light
[delta]
  ; features = defaults unobtrusive-line-numbers decorations light
  features = defaults unobtrusive-line-numbers decorations dark
[delta "defaults"]
  navigate = true
  paging = always
  whitespace-error-style = 22 reverse
[delta "unobtrusive-line-numbers"]
    line-numbers = true
    line-numbers-minus-style = red
    line-numbers-plus-style = green
    line-numbers-left-format = "{nm:>4}┊"
    line-numbers-right-format = "{np:>4}┊"
    line-numbers-left-style = red
    line-numbers-right-style = green
[delta "decorations"]
    commit-style = yellow
    commit-decoration-style = yellow box ul
    file-style = bold cyan ul
    file-decoration-style = none
    hunk-header-style = bold blue
    hunk-header-decoration-style = blue box
[delta "dark"]
    line-numbers-zero-style = "#75829c"
    minus-style = syntax "#5A4646" 
    minus-emph-style = black red
    plus-style = syntax "#415541"
    plus-emph-style = black green
[delta "light"]
    line-numbers-zero-style = "#AAAAAA"
    minus-style = syntax "#FEEDEF" 
    plus-style = syntax "#E4FDEB"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions