Home / Emacs / Programming mode
Customize line truncation
Do not wrap long lines, as it breaks the structure for the reader.
(with-eval-after-load 'prog-mode
(add-hook 'prog-mode-hook
(lambda ()
(setopt truncate-lines t))))