From 283f609b28bc14445b1fc0f3b3fe196d6844cf65 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 30 Jun 2020 14:25:06 -0400 Subject: [PATCH] Update Vim modeline and Emacs file-local variables Both: * Force the file type to Perl * Set the tab width to 8 so that people cringe in horror at the sight of a tab * Set the line with to 99 Emacs: * Disable indent-tabs-mode * Set the indentation level to 4 Vim: * Highlight column 100 Addresses #206 --- ddclient.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 4b05aa9..247bf7f 100755 --- a/ddclient.in +++ b/ddclient.in @@ -5215,7 +5215,16 @@ sub nic_cloudns_update { __PACKAGE__->main() unless caller() && caller() ne 'PAR'; ###################################################################### -# vim: ai et ts=4 sw=4 tw=78: +## Emacs and Vim settings +# Local Variables: +# mode: perl +# fill-column: 99 +# indent-tabs-mode: nil +# perl-indent-level: 4 +# tab-width: 8 +# End: + +# vim: ai et ts=8 sw=4 tw=99 cc=+1 filetype=perl __END__