How to wrap / auto-break long lines? #2545
Unanswered
ThomasGrafNumerics
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@ThomasGrafNumerics comment your code and reopen nvim, print the value of breakline opt , if its there then probably some plugin's doing it |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For C++ I use the clang-formater that allows me to set a maximum text width but how do I make NvChad break / wrap long lines of text for example in a .txt-file?
![issue](https://private-user-images.githubusercontent.com/76207883/287879719-fb86ebb8-b3ac-47c6-aa78-71f7c8ac3302.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4Nzk4MjksIm5iZiI6MTcxODg3OTUyOSwicGF0aCI6Ii83NjIwNzg4My8yODc4Nzk3MTktZmI4NmViYjgtYjNhYy00N2M2LWFhNzgtNzFmN2M4YWMzMzAyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIwVDEwMzIwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3ZTA0YmExOWZjMmZmM2FmY2RiZmRhZDA2Nzg0ZDIyOGMwMDkzZTZmM2IxYTEwY2MwNjc0YzY3YTNlZDE2ZjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pdM9uqn0rpy7QOLwZFAJybGz2MsHeh_IpbnQ3Iukbmg)
I have tried things like putting 'vim.opt.breakline = 120' into my custom init.lua but it seems that something is overwritting this option. How do you handle this. I'm assuming a fresh / unaltered NvChad configuration.
Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions