Revision 1.1
Nate SoaresEach style point has a summary for which additional information is available by toggling the accompanying arrow button that looks this way: . You may toggle all summaries with the big arrow button:
This is a casual version of the vimscript style guide, because vimscript is a casual language. When submitting vim plugin code, you must adhere to these rules. For clarifications, justifications, and explanations about the finer points of vimscript, please refer to the heavy guide.
It's hard to get vimscript right. Many commands depend upon the user's settings. By following these guidelines, you can hope to make your scripts portable.
Follow google style conventions. When in doubt, treat vimscript style like python style.
In general, use
plugin-names-like-this,
FunctionNamesLikeThis,
CommandNamesLikeThis,
augroup_names_like_this,
variable_names_like_this.
Always prefix variables with their scope.
Revision 1.1
Nate Soares