mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 03:02:28 +00:00
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:
parent
bd10cf9d38
commit
2fc507c98f
657 changed files with 664 additions and 664 deletions
|
@ -1,5 +1,5 @@
|
|||
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
|
||||
#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘
|
||||
#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘
|
||||
|
||||
PKGS += TOOL_DECODE_LIB
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ void showtitle(const char *brand, const char *tool, const char *title,
|
|||
}
|
||||
printf("/*");
|
||||
if (modeline) {
|
||||
printf("-*-%-71s-*-│\n│vi:%-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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue