Skip to content

Commit 6d8e4a6

Browse files
authored
Make documentation mirror custom_linting_rules (#5056)
Co-authored-by: cos <cos>
1 parent d2f4090 commit 6d8e4a6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/ale-development.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,11 @@ The following general coding standards should be adhered to for Vim code.
8585
* Try to keep lines no longer than 80 characters, but this isn't an absolute
8686
requirement.
8787
* Use 4 spaces for every level of indentation in Vim code.
88-
* Add a blank line before every `function`, `if`, `for`, `while`, or `return`,
89-
which doesn't start a new level of indentation. This makes the logic in
90-
your code easier to follow.
88+
* Add a blank line before every `function`, `if`, `for`, `while`, `try`, or `return`,
89+
which doesn't start a new level of indentation. When adding more code on the
90+
same indentation level, also add blank lines after every corresponding end
91+
for those mentioned keywords. This makes the logic in your code easier to
92+
follow.
9193
* End every file with a trailing newline character, but not with extra blank
9294
lines. Remove trailing whitespace from the ends of lines.
9395
* Write the full names of commands instead of abbreviations. For example, write

0 commit comments

Comments
 (0)