Skip to content

vim syntax highlighting is broken #5885

@avysk

Description

@avysk

This is what vim syntax highlighting from the plugin produces:

Image

(notice "else" branch in "foo" function)

Now let's move plugin's syntax/unison.vim to syntax/unison.vim.bak and look at stock vim highlighting:

Image

Again, look at the same "else" branch.

This is just a small example; for bigger files with plugin highlighting they are mostly in one color. Example:

Image

Stock highlighting:

Image

Unison 0.5.48, vim-plug, vim 9.1.1744, FreeBSD 14.3-p3, solarized8 colorscheme (using "default" does not help)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions