Commits

Tamas Kovacs  committed 9ce43a7

Fixed some indentation issues with multi-line arguments involved.

Example (indentation of the last line):

(defmacro with-foo2 ((fname symb) &body body)
`(progn ,@body))

(with-foo2 (foo (lambda ()
5))
(print 5))

  • Participants
  • Parent commits 6b02945

Comments (0)

Files changed (1)

File ftplugin/slimv.vim

         while form != f
             let f = form
             let form = substitute( form, '([^()]*)',     '0', 'g' )
+            let form = substitute( form, '([^()]*$',     '0', 'g' )
             let form = substitute( form, '\[[^\[\]]*\]', '0', 'g' )
+            let form = substitute( form, '\[[^\[\]]*$',  '0', 'g' )
             let form = substitute( form, '{[^{}]*}',     '0', 'g' )
+            let form = substitute( form, '{[^{}]*$',     '0', 'g' )
         endwhile
         " Find out the function name
         let func = matchstr( form, '\<\k*\>' )