borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
557 stars 20 forks source link

HTML files are wrapped hardly by default #256

Closed caph1993 closed 2 years ago

caph1993 commented 4 years ago

If I open an HTML file without this package, the default word wrapping algorithm tries to break on spaces. I would expect the same behavior with this package, but when I use it, words are wrapped 'hardly', as in the example below:

Minimal code sample used to repr
oduce the error.

What I would expect:

Minimal code sample used to
reproduce the error.

Is there a setting I can tune for the having 'soft'-wrapping mode in html files?

caph1993 commented 4 years ago

This issue is the same as this other (solved), only that I am asking for HTML files instead of markdown.

caph1993 commented 4 years ago

Created PR: https://github.com/borela/naomi/pull/257