jwalton512 / vim-blade

Vim syntax highlighting for Blade templates.
226 stars 37 forks source link

Too long lines breaks blade highlight #69

Closed lcjury closed 6 years ago

lcjury commented 6 years ago

I have the following piece of code in one of my blade files. For some reason, the first line of code breaks the highlight as seen on the screenshot

<button class="navbar-toggler"  data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
    <span class="navbar-toggler-icon"></span>
</button>

captura de pantalla 2018-08-26 a la s 18 53 10

If I break the first line in two lines, the higlight works as expected.

adriaanzon commented 6 years ago

This might be related to the 'synmaxcol' option, try increasing it.

lcjury commented 6 years ago

Already tried changing synmaxcol to 6000 (it was in 3000), but it didn't worked

Gonna try to reproduce this with the minimum amount of code and vim config to make it reproducible.

jwalton512 commented 6 years ago

I can't seem to reproduce this.

The attached code highlights normally for me.

lcjury commented 6 years ago

I tried to reproduce this with the same file from the picture and now it works fine. I haven't changed anything, so, I gonna close this until I have a real full file to upload as an example to reproduce this.

Sorry for the wasted time.