Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands after "endfunction | ..." were ignored #91

Open
syngan opened this issue Jan 13, 2019 · 0 comments
Open

Commands after "endfunction | ..." were ignored #91

syngan opened this issue Jan 13, 2019 · 0 comments

Comments

@syngan
Copy link
Contributor

syngan commented Jan 13, 2019

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)

@tyru tyru changed the title endfunction | ... Commands after "endfunction | ..." were ignored Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant