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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MzE4NTksIm5iZiI6MTcyNDQzMTU1OSwicGF0aCI6Ii83NjIwNzg4My8yODc4Nzk3MTktZmI4NmViYjgtYjNhYy00N2M2LWFhNzgtNzFmN2M4YWMzMzAyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIzVDE2NDU1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVlZGFjZWU0NzBjZjFhMjczNDkyM2NkMzY3MDJiMzUyYzE1NjAwMDA1YTYwZTIyN2MxNzM4MzJjMmNkMzYyZmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.F3uQrGAZSZ0GHOctorMKYkdzdTjkIV7m7_GkSktQGnE)
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