]> git.wincent.com - vim-docvim.git/commit
Make indented blocks work
authorGreg Hurrell <greg@hurrell.net>
Thu, 30 Jul 2015 04:38:43 +0000 (21:38 -0700)
committerGreg Hurrell <greg@hurrell.net>
Thu, 30 Jul 2015 04:38:43 +0000 (21:38 -0700)
commit67f917d358950f8c304c0a86f84fe77b28f65aaa
tree290f6554e9642cd4e5c969fc2d817c329ca80adf
parent29b4b7b0befb32174771ef1d203e113e3cdeaa91
Make indented blocks work

We were misdetecting the end of the docblock because our `end` regex
could match lines like:

    <space><space>"

(ie. a 0 or 1-width space, followed by a non-quote)

Fix that by looking for non-space, non-tab, non-quote instead.

Also, use "\s" for whitespace, so that we deal with tabs properly as
well as spaces.
after/syntax/vim.vim