{"action":"created","issue":{"url":"https://api.github.com/repos/eraserhd/parinfer-rust/issues/28","repository_url":"https://api.github.com/repos/eraserhd/parinfer-rust","labels_url":"https://api.github.com/repos/eraserhd/parinfer-rust/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/eraserhd/parinfer-rust/issues/28/comments","events_url":"https://api.github.com/repos/eraserhd/parinfer-rust/issues/28/events","html_url":"https://github.com/eraserhd/parinfer-rust/issues/28","id":347917238,"node_id":"MDU6SXNzdWUzNDc5MTcyMzg=","number":28,"title":"\"Undefined variable: b:parinfer_last_changedtick\" when working in narrowed buffer","user":{"login":"lxsli","id":88806,"node_id":"MDQ6VXNlcjg4ODA2","avatar_url":"https://avatars0.githubusercontent.com/u/88806?v=4","gravatar_id":"","url":"https://api.github.com/users/lxsli","html_url":"https://github.com/lxsli","followers_url":"https://api.github.com/users/lxsli/followers","following_url":"https://api.github.com/users/lxsli/following{/other_user}","gists_url":"https://api.github.com/users/lxsli/gists{/gist_id}","starred_url":"https://api.github.com/users/lxsli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxsli/subscriptions","organizations_url":"https://api.github.com/users/lxsli/orgs","repos_url":"https://api.github.com/users/lxsli/repos","events_url":"https://api.github.com/users/lxsli/events{/privacy}","received_events_url":"https://api.github.com/users/lxsli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-06T13:10:21Z","updated_at":"2018-08-07T10:12:27Z","closed_at":"2018-08-07T00:40:49Z","author_association":"NONE","body":"I just found this awesome plugin: https://github.com/chrisbra/NrrwRgn\r\n\r\nIt works great. Unfortunately when I `set ft=clojure` in the narrowed buffer, parinfer-rust throws an exception any time I move the cursor:\r\n\r\n```\r\nError detected while processing function <SNR>46_process:                                                                                                                                                                                                                                                                                                                                   \r\nline    4:                                                                                                                                                                                                                                                                                                                                                                                  \r\nE121: Undefined variable: b:parinfer_last_changedtick                                                                                                                                                                                                                                                                                                                                       \r\nError detected while processing function <SNR>46_process:                                                                                                                                                                                                                                                                                                                                   \r\nline    4:                                                                                                                                                                                                                                                                                                                                                                                  \r\nE15: Invalid expression: b:parinfer_last_changedtick != b:changedtick                                                                                                                                                                                                                                                                                                                       \r\n```"},"comment":{"url":"https://api.github.com/repos/eraserhd/parinfer-rust/issues/comments/411006756","html_url":"https://github.com/eraserhd/parinfer-rust/issues/28#issuecomment-411006756","issue_url":"https://api.github.com/repos/eraserhd/parinfer-rust/issues/28","id":411006756,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTAwNjc1Ng==","user":{"login":"lxsli","id":88806,"node_id":"MDQ6VXNlcjg4ODA2","avatar_url":"https://avatars0.githubusercontent.com/u/88806?v=4","gravatar_id":"","url":"https://api.github.com/users/lxsli","html_url":"https://github.com/lxsli","followers_url":"https://api.github.com/users/lxsli/followers","following_url":"https://api.github.com/users/lxsli/following{/other_user}","gists_url":"https://api.github.com/users/lxsli/gists{/gist_id}","starred_url":"https://api.github.com/users/lxsli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxsli/subscriptions","organizations_url":"https://api.github.com/users/lxsli/orgs","repos_url":"https://api.github.com/users/lxsli/repos","events_url":"https://api.github.com/users/lxsli/events{/privacy}","received_events_url":"https://api.github.com/users/lxsli/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T10:12:27Z","updated_at":"2018-08-07T10:12:27Z","author_association":"NONE","body":"Confirmed, thanks!"}}
{"actor":{"display_login":"lxsli"}}