added perlcritic

This commit is contained in:
Bruno Miguel Silva
2013-02-27 10:28:11 +00:00
parent f6dd4c200d
commit f41ff09d65
3 changed files with 26 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
" Vim Compiler File
" Compiler: perlcritic
" Maintainer: Scott Peshak <speshak@gmail.com>
" Last Change: 2006 Dec 19
if exists("current_compiler")
finish
endif
let current_compiler = "perlcritic"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=perlcritic\ -verbose\ 1\ -2\ %
CompilerSet errorformat=%f:%l:%c:%m
let &cpo = s:cpo_save
unlet s:cpo_save
+2 -2
View File
@@ -24,7 +24,7 @@ set wildignore=*.swp,*.bal,*.pyc,*.class
set title set title
set visualbell set visualbell
set noerrorbells set noerrorbells
"set nowritebackup set nowritebackup
set nobackup set nobackup
set noswapfile set noswapfile
filetype plugin indent on filetype plugin indent on
@@ -62,7 +62,7 @@ if has("gui_running")
set stal=2 set stal=2
set toolbar= set toolbar=
set guioptions-=T set guioptions-=T
set columns=84 " set columns=84
endif endif
colorscheme default colorscheme default
+2
View File
@@ -54,3 +54,5 @@ alias gitpretty="git log --pretty=format:'%h : %Cblue%aN%Creset : %Cred%d%Creset
alias vi='mvim -v' alias vi='mvim -v'
alias vim='mvim -v' alias vim='mvim -v'
alias aws_bmsilva='envdir ~/Lab/AWS/bmsilva/botoenv ~/.virtualenvs/sys/bin/python ~/Lab/AWS/bmsilva/aws.py' alias aws_bmsilva='envdir ~/Lab/AWS/bmsilva/botoenv ~/.virtualenvs/sys/bin/python ~/Lab/AWS/bmsilva/aws.py'
source ~/perl5/perlbrew/etc/bashrc