Skip to content

VSCodeNeovim unaware of text added from other plugins #12

@borring

Description

@borring
  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug

Environment:

  • VSCode Version: 1.20.1
  • VsCodeVim Version: 26d0e85
  • OS: Fedora 27

What happened:
Another plugin changes texts on file save. The change is not reflected in VSCode buffer even though the change has already been written to disk.

What did you expect to happen:
The buffer displayed in VSCode should always be up to date.

How to reproduce it:
Open up a *.go file and install the recommended plugin. The extension will automatically add imports to your source code as you reference different dependencies in your code.
Write a main function with one such dependency

package main

func main() {
    http.Get("")
}

Save the file with :w and let the extension automatically insert import net/http into your code. Verify this by opening the file with another text editor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions