malgorithms / toffee

a NodeJS and browser templating language based on coffeescript, with the slickest syntax ever
MIT License
174 stars 10 forks source link

Vim syntax #11

Closed jwarchol closed 11 years ago

jwarchol commented 11 years ago

Does anyone have a working vim syntax highlighter for toffee? I tried lchi/vim-toffee, but that didn't seem to work. Any pointers would be very much appreciated :smile:

malgorithms commented 11 years ago

hey @jwarchol, not sure of another. Maybe @lchi can help you get his working?

lchi commented 11 years ago

@jwarchol do you have vim-coffeescript installed? The syntax highlighter assumes you already have that. I haven't tried it with any other coffeescript plugins, but in theory it should work.

jwarchol commented 11 years ago

Yup, and I just updated it to make sure I've got the latest. I think I've figured out the root of my issue. There was nothing in ftdetect to tell vim that the file was toffee. When I add that, I get syntax. So my bad!