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

Ill behaved >> for multiline tag #29

Closed
namedots opened this issue Nov 1, 2017 · 2 comments
Closed

Ill behaved >> for multiline tag #29

namedots opened this issue Nov 1, 2017 · 2 comments

Comments

@namedots
Copy link

namedots commented Nov 1, 2017

Tested with only the plugin in .vim and an empty .vimrc :

$ cd ~
$ mv .vim vimbackup
$ mv .vimrc vimbackuprc
$ touch .vimrc
$ git clone git@github.com:alvan/vim-closetag.git .vim
$ cd .vim
$ git rev-parse HEAD  # current commit
8496544ba82a210b66ab2d8283609f65a36d92a6
$ vim --version | head -n2
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct  7 2017 13:50:55)
Included patches: 1-1176
$ vim hello.html

| as cursor position

<form method="POST"
      action="stuff"|

enter >>

<form method="POST|
      action="stuff">></form>

(note dissappeared ", cursor having moved UP, one too many >, no new lines for cursor and closing tag)

expected outcome:

<form method="POST"
      action="stuff">
|
</form>

(or similar, with valid form tag and cursor and closing tag on their own lines)

@alvan
Copy link
Owner

alvan commented Nov 1, 2017

@CookiesBestDinner
Thank you for your detailed description.
This issue has been fixed, you can try it again.

@alvan alvan closed this as completed Nov 1, 2017
@namedots
Copy link
Author

namedots commented Nov 2, 2017

Wonderful! Thank you.

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

2 participants