shithub: mc

Download patch

ref: 5d986e613a56c158f3cdab000a12a75da2f6b28b
parent: ad3da8e78225fcd945766edbb9bc97a24083b8e1
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Jul 14 19:38:56 EDT 2015

Remove debug prints in the indent script

--- a/support/vim/indent/myr.vim
+++ b/support/vim/indent/myr.vim
@@ -70,18 +70,14 @@
         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*$'