whatyouhide / vim-lengthmatters

Highlight the flooding part of an overly long line 📐
Do What The F*ck You Want To Public License
83 stars 12 forks source link

different length for different filetypes #22

Closed lewicki-pk closed 5 years ago

lewicki-pk commented 5 years ago

Hi, At first I wanted to propose that somebody add a possibility to have different line length in different filetypes but after short googleing I've found that it is possible with local textwidth.

Could you add that to the documentation?

The command I'm using is:

autocmd bufreadpre *.java setlocal textwidth=120

for other filetypes I use a default 80.

whatyouhide commented 5 years ago

Hey @lewicki-pk, thanks for letting me know. Would you mind opening a PR to add this to the documentation please? I'm swamped with work 😄

lewicki-pk commented 5 years ago

Sure. I get that very well :-) I've added a PR #23

whatyouhide commented 5 years ago

Closed by #23.