scripts/dev/src2asciidoc.py: vim: readonly

Set 'readonly' via Vim modeline in generated scripts.
This commit is contained in:
Daniel Hahler 2018-01-22 21:21:51 +01:00
parent d62cb58f7d
commit dd0703eddf
3 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
// DO NOT EDIT THIS FILE DIRECTLY!
// It is autogenerated by running:
// $ python3 scripts/dev/src2asciidoc.py
// vim: readonly:
= Commands

View File

@ -1,6 +1,7 @@
// DO NOT EDIT THIS FILE DIRECTLY!
// It is autogenerated by running:
// $ python3 scripts/dev/src2asciidoc.py
// vim: readonly:
= Setting reference

View File

@ -44,6 +44,7 @@ FILE_HEADER = """
// DO NOT EDIT THIS FILE DIRECTLY!
// It is autogenerated by running:
// $ python3 scripts/dev/src2asciidoc.py
// vim: readonly:
""".lstrip()