Replies: 2 comments
-
I have this issue also :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
@lars-vc Sorry to hear you're having it as well! The Discussion forum isn't very active, so I have opened a proper bug. You can follow it here: #1396 I'm leaving this thread open in case someone else has had this issue and has successfully fixed it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. Sometimes, when I fold anything, such as a level 3 headers, it folds everything below it, including level 2 headers.
I'm not exactly sure how to reproduce it, but it only seems to occur when I have manually typed everything - if I copy and paste the very same text, folding works as expected (only the header that I have my cursor in is folded). It also seems to randomly fix itself if I modify the text in one of the headers.
I'm on Neorg 8.4.0. My OS is Fedora 39, and I'm using nvim 0.9.5. I installed Neorg via Lazy and use vhyrro's luarocks.nvim.
EXAMPLE:
Folding a level 3 header results in EVERYTHING below getting folded, including the level 2 header.
Before
![image](https://private-user-images.githubusercontent.com/164736486/321836107-8372d5db-2ff4-4c8d-838a-8cd0080e47ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzMzY4MzksIm5iZiI6MTcxOTMzNjUzOSwicGF0aCI6Ii8xNjQ3MzY0ODYvMzIxODM2MTA3LTgzNzJkNWRiLTJmZjQtNGM4ZC04MzhhLThjZDAwODBlNDdlYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNVQxNzI4NTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iN2FmZjZhNWM0ZGIzN2FlZTkyYTc3NDdlZGFkZWI0ZDdmNDUwOGQ1ZmZjMmJjNDJhNWY1MGY4YTExMjMxYjA0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.lLDeGlfjJ0SpkPUF2t6psBPaESFW1rk20r99sIyGXpg)
![image](https://private-user-images.githubusercontent.com/164736486/321836199-3e93d90f-be20-4251-b5d8-20299344043c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzMzY4MzksIm5iZiI6MTcxOTMzNjUzOSwicGF0aCI6Ii8xNjQ3MzY0ODYvMzIxODM2MTk5LTNlOTNkOTBmLWJlMjAtNDI1MS1iNWQ4LTIwMjk5MzQ0MDQzYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNVQxNzI4NTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lZTdlOGVhNjA0OTA3OWQ0OTE3ODIyOTdjZTZiZWM1MjE5OTFhZmM1YmVmZjRjZmQ3NzE2ZDk4ZjUxMDlkYWY5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.9a-HfvkMrwW06WY2n_zmLVTmn9N897fkgiaNi-OjrUY)
After
However, if I paste the very same set of headers and content, and try folding the same header, it only folds itself and its contents, not anything below it.
Before
![image](https://private-user-images.githubusercontent.com/164736486/321836436-5a04062e-8fcd-4bee-9c4b-937941b071fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzMzY4MzksIm5iZiI6MTcxOTMzNjUzOSwicGF0aCI6Ii8xNjQ3MzY0ODYvMzIxODM2NDM2LTVhMDQwNjJlLThmY2QtNGJlZS05YzRiLTkzNzk0MWIwNzFmYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNVQxNzI4NTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OWZkOGI0YjllZTM4ODQ1NWUwYjMxMzAwMWU5MjRkZmY2YTc1ZTIwMGJhOThlYThlYmJhYjg5YWQ5MjRiMjc2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.T4kYtC_aYKSGWugHeKXyhi47tFHcX03mlpAH165CzGY)
![image](https://private-user-images.githubusercontent.com/164736486/321836489-dcf12359-fd39-4f36-a05e-3d58d2dd9cdf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzMzY4MzksIm5iZiI6MTcxOTMzNjUzOSwicGF0aCI6Ii8xNjQ3MzY0ODYvMzIxODM2NDg5LWRjZjEyMzU5LWZkMzktNGYzNi1hMDVlLTNkNThkMmRkOWNkZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNVQxNzI4NTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNjkzMDBjY2RhMGExM2MyZGY1M2MyYjM4ZTY1NGU5MDBjMTE2ZTA2N2NkM2NmY2MwMDE0MjRmYmUwMTc1NDc2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.nT_dvmnx-3IVQIcv3aPaR-hbfBM1wReTpsYKTPKVmVU)
After
The only solution I have for my problem right now is deleting the entire file and pasting its contents again. Other than that, I'm not sure how to troubleshoot this. I'd appreciate any help - this is making folds difficult to work with. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions