vim-jp/vim-vimlparser

Commands after "endfunction | ..." were ignored

syngan opened this issue · 0 comments

endfunction の後の行の解析が捨てられているようです.

function! Hoo() abort
    echo 3
endfunction | echo 2345
if 1
  echo 4
endif | echo 456

なファイルを対象に vimlparser#test() すると、以下が出力され, (echo 2345) がありません

(function (Hoo)
 (echo 3))
(if 1
  (echo 4))
 (echo 456) 

以下の部分と思います

call self.reader.getn(-1)