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

Artifacts on screen #1

Closed
jfelchner opened this issue Jun 19, 2013 · 7 comments
Closed

Artifacts on screen #1

jfelchner opened this issue Jun 19, 2013 · 7 comments

Comments

@jfelchner
Copy link

Hey Les, I'm not sure if this is an issue with your library or not, but since it's only happening in JSON files, I figured I'd start here.

I'm getting all sorts of "virtual" artifacts on my screen inside of JSON files. For example sometimes when I press "j" to go down, a "j" will appear on my screen. It seems to be happening mainly whenever the syntax linter is doing a lot of work and can't keep up.

This does not add the character to the buffer contents, only an artifact on the screen.

Any thoughts?

@leshill
Copy link
Owner

leshill commented Jun 20, 2013

Hi @jfelchner,

I only edit JSON files occasionally (package.json and the like) and have not noticed this behavior. If this needs a fix in vim-json, I would be happy to accept a pull-request.

@cstrahan
Copy link

FWIW, I saw the similar behavior as @jfelchner describes but with panglos/vim-javascript. Empty cells would often (every couple key strokes) fill in with whatever key stroke I entered. Vim appears to be echoing the keys verbatim; if, as an experiment, I hit escape and one of the movement keys (j for example - unbound in my configuration), ^[j will display under the cursor.

screen shot 2013-11-26 at 3 38 03 pm

Upgrading to the latest vim-javascript fixed this for me. Haven't tried vim-json, though.

@jfelchner
Copy link
Author

@cstrahan THANK YOU!! I've been having this issue on JS files as well. Updating now! 😄

@leshill
Copy link
Owner

leshill commented Nov 27, 2013

Hi @jfelchner @cstrahan,

Great! Closing this issue. If you can identify exactly what fixed vim-javascript please make a pull-request.

@leshill leshill closed this as completed Nov 27, 2013
@jfelchner
Copy link
Author

Uhhhh @leshill we didn't say vim-json was fixed. :) I think this issue should be reopened.

@leshill
Copy link
Owner

leshill commented Nov 28, 2013

Hi @jfelchner,

Yes, I understood that, but I had a quick scan of vim-javascript and could find no commit that obviously fixed that issue. It seems that it is a combination of some aspect of the vim-json as well as some previous version of vim-javascript and something about a particular vim setup. To me, that sounds less like a issue with vim-json and vim-javascript and more of an incompatibility. Make sense? I am happy to reopen, but unless you can find the commit in vim-javascript, the answer will effectively be don't do that when I do this.

@cstrahan
Copy link

@jfelchner @leshill,

I make no promises, but I'll see if I can set aside some time to do a sort of "manual bisect", and see if I can find what commit fixed vim-javascript.

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

3 participants