Skip to content

I can't fix the slowness. #95

Open
@trusktr

Description

@trusktr

When I was using <style lang="stylus"></style>, it was fairly zippy. However, when I modified it to lang="less" or lang="css", it became extremely slow!

I tried to do let g:vue_disable_pre_processors=1, and this time it became alright, but not zippy like with lang="stylus". But this doesn't work. No matter what lang I put, the syntax is highlighted like CSS it seems. And I have lang="pug" for the template, and now that's not highlighted.

Basically, it seems like let g:vue_disable_pre_processors=1 makes it work alright, at the expense of not working ideally. It effectively means I can just set the .vue file type to ft=html to achieve basically the same thing, without installing this plugin.

If that's the case, there's no point of using vim-vue with let g:vue_disable_pre_processors=1 because I can just use ft=html.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions