aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--README.markdown2
-rw-r--r--perltidy/perltidyrc3
3 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4ffa0fd3..b515ea33 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@
install-ncmcpp \
install-newsbeuter \
install-perlcritic \
+ install-perltidy \
install-psql \
install-readline \
install-sh \
@@ -160,6 +161,9 @@ install-mysql :
install-perlcritic:
install -pm 0644 -- perlcritic/perlcriticrc "$(HOME)"/.perlcriticrc
+install-perltidy:
+ install -pm 0644 -- perltidy/perltidyrc "$(HOME)"/.perltidyrc
+
install-psql :
install -pm 0644 -- psql/psqlrc "$(HOME)"/.psqlrc
diff --git a/README.markdown b/README.markdown
index d49c9157..468b8c45 100644
--- a/README.markdown
+++ b/README.markdown
@@ -64,6 +64,8 @@ Configuration is included for:
client
* [Perl::Critic](http://perlcritic.com/) — static source code analysis engine
for Perl
+* [Perl::Tidy](http://perltidy.sourceforge.net/) — Perl indenter and
+ reformatter
* [Readline](http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html) — GNU
library for user input used by Bash, MySQL, and others
* [tmux](https://tmux.github.io/) — Terminal multiplexer similar to GNU
diff --git a/perltidy/perltidyrc b/perltidy/perltidyrc
new file mode 100644
index 00000000..f6ef49d2
--- /dev/null
+++ b/perltidy/perltidyrc
@@ -0,0 +1,3 @@
+# Assume UTF-8 encoding so I can use $か as an identifier, which is critically
+# important and non-negotiable
+-utf8