Skip to content

help: How to apply padding to list for all levels? #349

@Nishanth-2024

Description

@Nishanth-2024

Neovim version (nvim -v)

0.10.4

Neovim distribution

N/A

Description

bullet = { left_pad = 4 }
applies padding to only first level not other levels

for exact calculation I want, (left_pad + 1 + right_pad)*(n-1) + left_pad for level n
if I configure left_pad = 4, right_pad = 0,

level 1 - indentation of 4
level 2 - indentation of 9
level 3 - indentation of 14 ...

Is there a way we can add this calculation as a function inside bullet configuration and make it work like I intend to?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions