google / vimdoc

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

[bug] cannot handle nested brace #122

Open Freed-Wu opened 2 years ago

Freed-Wu commented 2 years 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