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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NDcxOTMsIm5iZiI6MTcxODk0Njg5MywicGF0aCI6Ii8xNjQ3MzY0ODYvMzIxODM2MTA3LTgzNzJkNWRiLTJmZjQtNGM4ZC04MzhhLThjZDAwODBlNDdlYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMVQwNTE0NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNzBiZjc2ODZhYTUyM2Q5OTkwMmYxMzU4MGEwNmQyZDUwNGZmMGU2NWUxNTQ3NDQ2NWRhMGNiMTMyNzUxNTRhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.CdARcjkGNwj_Dw3XMclfXXIirQJl8Y_Ofv038FXxAMg)
![image](https://private-user-images.githubusercontent.com/164736486/321836199-3e93d90f-be20-4251-b5d8-20299344043c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NDcxOTMsIm5iZiI6MTcxODk0Njg5MywicGF0aCI6Ii8xNjQ3MzY0ODYvMzIxODM2MTk5LTNlOTNkOTBmLWJlMjAtNDI1MS1iNWQ4LTIwMjk5MzQ0MDQzYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMVQwNTE0NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jM2NmNWE3ODk5NTlkYzkyMzNjNGE0ZjhkMDYwM2U4M2UzNDI5ZGEzMzNhNmI1ZjMyNzJiYmQ4YjcwODgzYTQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.5D-ANbPE-KySkGXQSe8BwtMmPIF-VBC7z1gYAr21aiU)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NDcxOTMsIm5iZiI6MTcxODk0Njg5MywicGF0aCI6Ii8xNjQ3MzY0ODYvMzIxODM2NDM2LTVhMDQwNjJlLThmY2QtNGJlZS05YzRiLTkzNzk0MWIwNzFmYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMVQwNTE0NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xZmYxZWQyMmI4NGEwNzljZTNjOTUxOWY0NmZkZGUxZTAwNGFlNDU5NDFiOTgyYTNjZTBiMDBjYWMyNGJiNWIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.sDlABfYweb-s7Sxo5PWP5Noejli6mY5x6ViKpVohjN8)
![image](https://private-user-images.githubusercontent.com/164736486/321836489-dcf12359-fd39-4f36-a05e-3d58d2dd9cdf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NDcxOTMsIm5iZiI6MTcxODk0Njg5MywicGF0aCI6Ii8xNjQ3MzY0ODYvMzIxODM2NDg5LWRjZjEyMzU5LWZkMzktNGYzNi1hMDVlLTNkNThkMmRkOWNkZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMVQwNTE0NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wOWY0YmI4MTUxODU3Y2I5Mjk1NDM1MDE3ODg0ZjRhYTk0YmNiNWM0N2QxMTgzMWUxNzg5YmM1YzdjYjAwZjk3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.prxxuIrDDOY0n8OpuheC7t6gwbvYFKwj6R5pimnRgWc)
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