Fix more vi modelines (#1006)

* modelines: tw -> sw

shiftwidth, not textwidth.

* space-surround modelines

* fix irregular modelines

* Fix modeline in titlegen.c
This commit is contained in:
Jōshin 2023-12-13 02:28:11 -05:00 committed by GitHub
parent bd10cf9d38
commit 2fc507c98f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
657 changed files with 664 additions and 664 deletions

View file

@ -39,7 +39,7 @@ void showtitle(const char *brand, const char *tool, const char *title,
}
printf("/*");
if (modeline) {
printf("-*-%-71s-*-│\nvi:%-72s:vi\n", modeline->emacs, modeline->vim);
printf("-*-%-71s-*-│\n vi:%-70s:vi \n", modeline->emacs, modeline->vim);
for (unsigned i = 0; i < 78; ++i) printf("");
printf("\n│ %-76s ", buf);
} else {