hashivim/vim-terraform

Why are the majority of ftplugins defined in after/ftplugin

dsifford opened this issue · 3 comments

Is there a reason that the majority of ftplugins are in after/ftplugin?

Also, and possibly more importantly, may I suggest the avoidance of using set (rather than setlocal) when defining options, and also defining a b:undo_ftplugin?

ping: @vancluever

set formatoptions-=t

Thanks for considering.

@dsifford I honestly don't have the answer to these questions. I didn't write the plugin as a whole.

The option might be better as a setlocal. I don't have to time to change it right now, but I'm sure any contribution to improve the plugin would be appreciated.

Sure thing. No worries, just wanted to make sure there wasn't some reason for this prior to opening a PR.

#89 addresses the above.