b4winckler / vim-objc

My Objective-C config for Vim
77 stars 6 forks source link

Ensure cinoptions are default #8

Open idbrii opened 3 years ago

idbrii commented 3 years ago

If user changed to nondefault cinoptions, then we want to go back to vim defaults which work well for C code and are assumed for this indent to work correctly.

I set cino=#1 to allow using # as a comment by default. I think it makes sense for plugins to explicitly set cinoptions instead of assuming they're at vim default, right?