google / vimdoc

Helpfile generation for vim
Apache License 2.0
291 stars 28 forks source link

[bug] cannot handle nested brace #122

Open Freed-Wu opened 1 year ago

Freed-Wu commented 1 year ago
  ""
  " foobar
  call g:foobar#utils#plugin.Flag('g:foobar',
        \ get(s:foobar, 0, '')
        \ )

It can work:

                                                     *foobar:g:foobar*
foobar
Default: get(s:foobar, 0, '') `

However, the default of nested brace cannot be detected.

  ""
  " foobar
  call g:foobar#utils#plugin.Flag('g:foobar',
        \ get(split(s:foobar), 0, '')
        \ )
                                                     *foobar:g:foobar*
foobar