Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Some incorrect highlighting #3

dre3k opened this Issue · 5 comments

3 participants


It's easy to see in the following example:
h1 this is header h1
p this is paragraph p

  h1 this is header h1
  p this is paragraph p 

vim-slim incorrect highlighting example


i guess the problem is due to the fact that HTML is simply included to the syntax, so any tag name gets highlighted randomly. is there anyone out there with the knowledge to implement a real syntax? it should not be too difficult, considering that large parts of the code can probably be pasted from


It's not quite as simple as copying haml.vim. Slim's syntax doesn't have the same constraints and therefore makes it a bit more difficult.

Pull requests are very welcome.


I'll make a try Andrew :) thanks


corrected with @stefanoverna 's great work

@stonean stonean closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.