From 0eef16952a5eb2a93243a5045c8368fa0d8681ed Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 7 Apr 2016 14:47:36 +1200 Subject: Add .perltidyrc --- Makefile | 4 ++++ README.markdown | 2 ++ perltidy/perltidyrc | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 perltidy/perltidyrc 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 -- cgit v1.2.3