From 8a02a37c7acde3cb09b09c49f2209227c24c6d90 Mon Sep 17 00:00:00 2001 From: eleksir Date: Thu, 31 Oct 2019 00:32:22 +0300 Subject: [PATCH] Add vim modeline to all sources --- bootstrap.sh | 2 ++ lib/conf.pm | 2 ++ lib/easter_egg.pm | 2 ++ lib/image_dl.pm | 2 ++ lib/ircbot.pm | 2 ++ lib/jabberbot.pm | 2 ++ lib/paste.pm | 2 ++ lib/ping.pm | 2 ++ lib/utils.pm | 2 ++ myapi-confcheck.pl | 2 ++ myapi-repo.psgi | 1 - 11 files changed, 20 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 6fbf129..5cf8db6 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,3 +1,5 @@ #!/bin/bash cpanm -l vendor_perl --force --installdeps . + +# vim: set ft=sh noet ai ts=4 sw=4 sts=4: diff --git a/lib/conf.pm b/lib/conf.pm index a21ce36..d7dbadd 100644 --- a/lib/conf.pm +++ b/lib/conf.pm @@ -33,3 +33,5 @@ sub saveConf($) { } 1; + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: \ No newline at end of file diff --git a/lib/easter_egg.pm b/lib/easter_egg.pm index 30bed66..8cbbf6c 100644 --- a/lib/easter_egg.pm +++ b/lib/easter_egg.pm @@ -30,3 +30,5 @@ sub me { } 1; + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: diff --git a/lib/image_dl.pm b/lib/image_dl.pm index 73f316c..01d9ea0 100644 --- a/lib/image_dl.pm +++ b/lib/image_dl.pm @@ -168,3 +168,5 @@ sub image_dl_thread { } 1; + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: diff --git a/lib/ircbot.pm b/lib/ircbot.pm index 7e3feed..3c42bd5 100644 --- a/lib/ircbot.pm +++ b/lib/ircbot.pm @@ -86,3 +86,5 @@ sub run_ircbot { } 1; + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: diff --git a/lib/jabberbot.pm b/lib/jabberbot.pm index 550d9c0..1490b45 100644 --- a/lib/jabberbot.pm +++ b/lib/jabberbot.pm @@ -141,3 +141,5 @@ sub run_jabberbot { } 1; + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: diff --git a/lib/paste.pm b/lib/paste.pm index 3d43c17..39680e3 100644 --- a/lib/paste.pm +++ b/lib/paste.pm @@ -28,3 +28,5 @@ sub shorten { } 1; + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: diff --git a/lib/ping.pm b/lib/ping.pm index 525d23d..2bf0944 100644 --- a/lib/ping.pm +++ b/lib/ping.pm @@ -13,3 +13,5 @@ sub pong { } 1; + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: diff --git a/lib/utils.pm b/lib/utils.pm index 0a794b9..1f91160 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -82,3 +82,5 @@ sub mytime () { } 1; + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: diff --git a/myapi-confcheck.pl b/myapi-confcheck.pl index 969c7e2..7e8394d 100755 --- a/myapi-confcheck.pl +++ b/myapi-confcheck.pl @@ -17,3 +17,5 @@ my $c = decode_json($jstr); my $j = JSON::PP->new->pretty->canonical->indent_length(4); print $j->encode($c); + +# vim: set ft=perl noet ai ts=4 sw=4 sts=4: diff --git a/myapi-repo.psgi b/myapi-repo.psgi index 6c64ce3..e0bd90b 100644 --- a/myapi-repo.psgi +++ b/myapi-repo.psgi @@ -51,4 +51,3 @@ my $app = sub { __END__ # vim: set ft=perl noet ai ts=4 sw=4 sts=4: -