Commit 2629c62a authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Allow for comments after a class or def line

parent 191a941b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -271,7 +271,7 @@ function! s:parseline(lnum, line, cur_fold, last_lnum)

	endif

	if s:is_incomplete_def(cur_fold) && match[3] =~ ':\s*$'
	if s:is_incomplete_def(cur_fold) && match[3] =~ '\v:\s*(#|$)'
		let cur_fold.foldstart = a:lnum + 1
	endif