wilhelmtell / reimin

A Vim plugin: #include a header

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby support

nogweii opened this issue · comments

Would be great if you could include Ruby support as well. Looking at the ftplugin/ directory, it shouldn't be hard. (Not at the right computer at the moment so I can't do it..yet)

PS: Move 'reimin,vim' to plugin/ and you'll have pathogen support!

You're right. I'll get on it. I haven't touched this script for a while, and I see I have some scope issues there. Specifically, I have functions defined in ftplugin/ which I refer to in plugin/. That's wrong, they don't share the same SID. So I'll fix that and then adding the Ruby support should be trivial.

Hah! That's awesome. Thanks for getting on it.

I eliminated the ftplugin thingy. Didn't work. I use au in the plugin/reimin.vim script instead. Then, added Ruby require.