s:section_search(): Partially fix same-line bug
commitd730aabadbb8459a7c96ffc773a77397fb897e1b
authorlys <lys@hostname.local>
Thu, 2 Jun 2016 22:20:57 +0000 (2 22:20 +0000)
committerlys <lys@hostname.local>
Thu, 2 Jun 2016 22:20:57 +0000 (2 22:20 +0000)
tree3315931de70d20d69dfbaa428c75891f50dde8e2
parent2e8dd5a11672c6c90c5e446940bc259e20aedb7a
s:section_search(): Partially fix same-line bug

Partial fix for the bug described in
56e23aa19874159ef6faa9a8f80359418bb34568. We can now move to the
previous section start and the next section end. The last bug with this
is that neither of those motions work with the `v:count`. For now they
always jump to the next or previous section regardless of the count.

The `count` variable name was changed to `cnt` because Vim complained
about `count` being a read-only variable. I'm guessing it's some kind of
reserved word.
ftplugin/sub_qc.vim