-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Neovim version (nvim -v)
0.11.0
Neovim distribution
N/A
Description
I want paragraphs to be rendered in the french style, which means that they have a left margin on the first line only. Something that looks like that :
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent fringilla quam nec
lectus commodo, ac semper ante semper. Curabitur et consectetur elit, id facilisis magna.
Donec interdum, risus id aliquet hendrerit, sem ante dictum ex, volutpat imperdiet purus
orci sed metus. Duis sit amet lorem urna.
I was able to achieve it with the following config options :
paragraph = {
enabled = true,
left_margin = 4,
min_width = 80
}
This works fine but the indentation is annoying for small lines. It was my understanding that the this was purpose of the min_width options, i.e. disable paragraph-rendering (aka. adding indentation) if the paragraph is under min_width characters long. I've been testing it for about an hour and no matter what I do, changing min_width has no effect on rendering. I tried disabling potentially conflicting plugins like obsidian.nvim but it still doesn't do anything. Am I not understanding this config option properly?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested