Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Setup Sparkup for Vim without ftplugins #23
I'd like to setup Sparkup vor Vim without using the ftplugins approach.
The thing is, in a situation where I could use Sparkup, I just created a new file and didn't save it yet. Therefore the file has no filetype, and to vim it has no filetype.
Is there a way to get the plugin loades without using the ftplugin approach?
(Also, I heard the ftplugin causes problems with disabled autoindent feature)
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I'm not sure about all the details of using vim (I haven't been using it for that long... ok a couple of years now and it's been my primary editor for at least a year)
BUT you should be able to say
(or any other filetype which enables the sparkup plugin)