summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-07-14 23:38:56 -0700
committerOri Bernstein <ori@eigenstate.org>2015-07-14 23:38:56 -0700
commit5d986e613a56c158f3cdab000a12a75da2f6b28b (patch)
tree30aa6d05544478569eeced800b9019be129b5d17 /support
parentad3da8e78225fcd945766edbb9bc97a24083b8e1 (diff)
downloadmc-5d986e613a56c158f3cdab000a12a75da2f6b28b.tar.gz
Remove debug prints in the indent script
Diffstat (limited to 'support')
-rw-r--r--support/vim/indent/myr.vim4
1 files changed, 0 insertions, 4 deletions
diff --git a/support/vim/indent/myr.vim b/support/vim/indent/myr.vim
index b1bbe47..d64489f 100644
--- a/support/vim/indent/myr.vim
+++ b/support/vim/indent/myr.vim
@@ -70,18 +70,14 @@ function! GetMyrIndent(ln)
let width = &tabstop
let n_in = s:CountMatches(prevln, ln - i, inpat)
- echo "inpat matches: " n_in
if s:LineMatch(prevln, outalone) != 0
let n_out = 0
else
let n_out = s:CountMatches(prevln, ln - i, outpat)
endif
- echo "outpat matches: " n_out
let n_in += s:LineMatch(prevln, inoutalone)
- echo "post-inoutalone in matches: " n_in
let n_out += s:LineMatch(curln, outalone)
let n_out += s:LineMatch(curln, inoutalone)
- echo "post-outalone out matches: " n_out
" indent escaped line endings
if prevln =~ '\\\s*$' && getline(ln - i - 1) !~ '\\\s*$'