Skip to content

Commit ce0917c

Browse files
committed
maint: Allow trailing whitespace in .pod
Otherwise, indented blocks for code samples get broken up. Fixes: 3eea6d7 ("Add .editorconfig file")
1 parent 0e2dd4b commit ce0917c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ insert_final_newline = true
99
trim_trailing_whitespace = true
1010
charset = utf-8
1111

12+
[*.pod]
13+
# Indented code samples in pod require trailing whitespace
14+
trim_trailing_whitespace = false
15+
1216
[{*.py,*.py.in,*.pl,*.pl.in,*.sh,*.sh.in}]
1317
indent_size = 4
1418

TODO

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ OCaml:
8383
- Translate *error between OCaml Unix.error and C errno automatically
8484
using the functions in <caml/unixsupport.h>. This requires a
8585
change to the generator CBMutable (Int _) -> CBMutable (Errno _)
86-
which is quite a large change.
86+
which is quite a large change.

0 commit comments

Comments
 (0)