Has anyone seen a vim indent file for treetop, the Ruby parser/generator? I've found a vim syntax highlighting file, but haven't seen one for indentation.
It seems like it's fairly easy - I just create a file
~/.vim/indent/treetop.vim
and make its sole contents
runtime! indent/ruby.vim
and it seems to then support all I need. I think it just wasn't loading Ruby's indentation file!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With