Skip to content

Slow syntax highlighting profile #172

Open
@rafaqz

Description

@rafaqz

I've just been profiling pandoc syntax as it seemed much slower than other highlighters when swapping buffers (I know: it still only takes a quarter of a second! but usually its virtually instant)

It seems the cause is running the html, javascript, css, vb, tex and yaml syntax highlighter every time, (especially html and css) wether there is code in the page or not. Is there a way of limiting this manually? eg. to just yaml and tex? It wasn't affected by:

let g:pandoc#syntax#codeblocks#embeds#langs = []

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions