Open Wiener234 opened 9 months ago
this isn't an issue. Items are ending on a linebreak. There is something you can put there to prevent that though. I don't know what the exact characters are but you can read about it in the specs.
If I understand the specs in the repo norg-specs/1.0-specification corect I should't need any extra character and list item should't end on a line break.
🤔 could be that this was changed somewhen then. We'll just wait for vhyrro to resolve this
Make a list in a heading of level 3 or deeper and add an item with multiple lines.
can't reproduce
Any idea what causes that on my system? I can reproduce it with the same config on another system.
The problem is somewhere in my config when i get the time i will dig trough it.
I found the problem. When using
vim.opt.expandtab = false
vim.opt.tabstop = 4
the problem occurs after heading level 3. Setting tabstop to 8 the problem occurs after heading level 7. With tabstop 2 the indentation acts even more different.
Solution i found is not using expandtab=false.
Prerequisites
Neovim Version
0.10.0-dev
Neorg setup
require('neorg').setup{
},
}, }
Actual behavior
When using a list with multiple lines belonging to one item in a heading of level three or deeper it gets the wrong indentation. It looks like it doesnt belong to the list item anymore and has the indentation level of the previous heading.![image](https://github.com/nvim-neorg/neorg/assets/70913337/7fb0d795-adcf-40a5-bcce-3179b056e530)
Expected behavior
Steps to reproduce
Make a list in a heading of level 3 or deeper and add an item with multiple lines.
Potentially conflicting plugins
No response
Other information
No response
Help
No
Implementation help
No response