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

Incorrect tabstop placement #10

Closed
pwntester opened this issue Dec 9, 2019 · 3 comments
Closed

Incorrect tabstop placement #10

pwntester opened this issue Dec 9, 2019 · 3 comments

Comments

@pwntester
Copy link

Hi, I tried the following snippet:

  "test": {
    "prefix": "test",
    "body": [
        "name ${1:test}",
        "id ${2:test}"
    ],
    "description": "test"
  }

When expanding the snippet I get:

imagen

As you can see the cursor and the visual selection is one column ahead from the placeholder

@hrsh7th
Copy link
Owner

hrsh7th commented Dec 10, 2019

Thanks!
Probably it is related to virtualedit=onemore.
It is easy to fix maybe, please wait.

hrsh7th added a commit that referenced this issue Dec 10, 2019
@hrsh7th
Copy link
Owner

hrsh7th commented Dec 10, 2019

Oh... sorry issue was automatically closed.
I've solved it. please check it if you have any time.

@hrsh7th hrsh7th reopened this Dec 10, 2019
@pwntester
Copy link
Author

Works great, thanks!

@hrsh7th hrsh7th closed this as completed Dec 10, 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

2 participants