{"action":"created","issue":{"url":"https://api.github.com/repos/chrisbra/vim-zsh/issues/13","repository_url":"https://api.github.com/repos/chrisbra/vim-zsh","labels_url":"https://api.github.com/repos/chrisbra/vim-zsh/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/chrisbra/vim-zsh/issues/13/comments","events_url":"https://api.github.com/repos/chrisbra/vim-zsh/issues/13/events","html_url":"https://github.com/chrisbra/vim-zsh/issues/13","id":239738949,"number":13,"title":"Whole piece of code displayed as string","user":{"login":"glacambre","id":11534587,"avatar_url":"https://avatars1.githubusercontent.com/u/11534587?v=3","gravatar_id":"","url":"https://api.github.com/users/glacambre","html_url":"https://github.com/glacambre","followers_url":"https://api.github.com/users/glacambre/followers","following_url":"https://api.github.com/users/glacambre/following{/other_user}","gists_url":"https://api.github.com/users/glacambre/gists{/gist_id}","starred_url":"https://api.github.com/users/glacambre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glacambre/subscriptions","organizations_url":"https://api.github.com/users/glacambre/orgs","repos_url":"https://api.github.com/users/glacambre/repos","events_url":"https://api.github.com/users/glacambre/events{/privacy}","received_events_url":"https://api.github.com/users/glacambre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-30T10:23:32Z","updated_at":"2017-06-30T19:17:32Z","closed_at":null,"body":"Affected versions: VIM 8.0, NVIM 2.0.1\r\n\r\nWhen running the following:\r\n```\r\nnvim -U NORC\r\n:r !wget -qO 'https://raw.githubusercontent.com/zsh-users/zsh-autosuggestions/14179d869d75f4d6b866ca72c5c349fb238c634e/zsh-autosuggestions.zsh'\r\n:syntax on\r\n:set ft=zsh\r\n```\r\nLines 519-692 will be displayed as strings. Refreshing the display (e.g. \\<C-L\\>) while on line 692 will not change the syntax highlighting, however jumping to line 519 (by doing ':519' instead of repeatedly pressing 'k') will fix it, but jumping to the end of file again (e.g. 'G') will make the problem reappear. Modifying the file while on line 692 will not change anything, modifying the file while on line 519 will fix the problem permanently.\r\n\r\nI think this is probably a problem with the syntax highlighting engine rather than the vim-zsh syntax file, however I haven't encountered this issue with any other syntax file, hence my opening an issue here rather than in the official Vim repo.\r\nPlease let me know if this isn't the right place for this issue."},"comment":{"url":"https://api.github.com/repos/chrisbra/vim-zsh/issues/comments/312351898","html_url":"https://github.com/chrisbra/vim-zsh/issues/13#issuecomment-312351898","issue_url":"https://api.github.com/repos/chrisbra/vim-zsh/issues/13","id":312351898,"user":{"login":"chrisbra","id":244927,"avatar_url":"https://avatars3.githubusercontent.com/u/244927?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbra","html_url":"https://github.com/chrisbra","followers_url":"https://api.github.com/users/chrisbra/followers","following_url":"https://api.github.com/users/chrisbra/following{/other_user}","gists_url":"https://api.github.com/users/chrisbra/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbra/subscriptions","organizations_url":"https://api.github.com/users/chrisbra/orgs","repos_url":"https://api.github.com/users/chrisbra/repos","events_url":"https://api.github.com/users/chrisbra/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbra/received_events","type":"User","site_admin":false},"created_at":"2017-06-30T19:17:32Z","updated_at":"2017-06-30T19:17:32Z","body":"\nOn Fr, 30 Jun 2017, glacambre wrote:\n\n> Using ```:syntax sync fromstart``` or ```:syntax sync minlines=1000``` solves the issue but I still don't understand why the second half of the comments isn't the same color as the first half.\n> It seems that somehow the size of the window is important too, the bug isn't triggered if the window is less that 56 lines tall.\n> It's really starting to look like a vim bug instead of a vim-zsh bug in my opinion, should I open an issue in the vim repo?\n\nYou might try. However, its a known issue, that the syntax engine can \nget confused and then one needs to use one of the :syn sync methods to \nfix it.\n\nBest,\nChristian\n-- \nHallo Mülltrenner!\n"}}
{"actor":{"display_login":"chrisbra"}}