Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Setup Sparkup for Vim without ftplugins #23

Closed
dbrgn opened this Issue · 2 comments

2 participants

@dbrgn

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)

@terencehonles

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
set filetype=html

(or any other filetype which enables the sparkup plugin)

@dbrgn

Ah, this helps. Thanks.

This issue was closed.
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.