{"action":"created","comment":{"url":"https://api.github.com/repos/neovim/neovim/pulls/comments/189430176","pull_request_review_id":121614664,"id":189430176,"diff_hunk":"@@ -971,4 +974,91 @@ describe('ui/ext_popupmenu', function()\n       eq(nil, items) -- popupmenu was hidden\n     end)\n   end)\n+\n+  describe('TextChangeP autocommand', function()\n+    it('can trigger TextChangedP autocommand as expected',\n+    function()\n+      curbufmeths.set_lines(0, 1, false, { 'foo', 'bar', 'foobar'})\n+      command('set complete=. completeopt=menuone')\n+      command('let g:foo = []')\n+      command('autocmd! TextChanged * :call add(g:foo, \"N\")')\n+      command('autocmd! TextChangedI * :call add(g:foo, \"I\")')\n+      command('autocmd! TextChangedP * :call add(g:foo, \"P\")')\n+      command('call cursor(3, 1)')","path":"test/functional/viml/completion_spec.lua","position":25,"original_position":25,"commit_id":"021c5875c13e0c4a5bab67e2e2ac50c4be653ad6","original_commit_id":"021c5875c13e0c4a5bab67e2e2ac50c4be653ad6","user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars0.githubusercontent.com/u/1359421?v=4","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"body":"can do all of these in `source([[...]])`. (see the merge-commit for example)","created_at":"2018-05-19T09:39:18Z","updated_at":"2018-05-19T09:39:18Z","html_url":"https://github.com/neovim/neovim/pull/8377#discussion_r189430176","pull_request_url":"https://api.github.com/repos/neovim/neovim/pulls/8377","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments/189430176"},"html":{"href":"https://github.com/neovim/neovim/pull/8377#discussion_r189430176"},"pull_request":{"href":"https://api.github.com/repos/neovim/neovim/pulls/8377"}}},"pull_request":{"url":"https://api.github.com/repos/neovim/neovim/pulls/8377","id":187627113,"html_url":"https://github.com/neovim/neovim/pull/8377","diff_url":"https://github.com/neovim/neovim/pull/8377.diff","patch_url":"https://github.com/neovim/neovim/pull/8377.patch","issue_url":"https://api.github.com/repos/neovim/neovim/issues/8377","number":8377,"state":"open","locked":false,"title":"[RFC] vim-patch:8.0.1494: no autocmd triggered in Insert mode with visible …","user":{"login":"chemzqm","id":251450,"avatar_url":"https://avatars3.githubusercontent.com/u/251450?v=4","gravatar_id":"","url":"https://api.github.com/users/chemzqm","html_url":"https://github.com/chemzqm","followers_url":"https://api.github.com/users/chemzqm/followers","following_url":"https://api.github.com/users/chemzqm/following{/other_user}","gists_url":"https://api.github.com/users/chemzqm/gists{/gist_id}","starred_url":"https://api.github.com/users/chemzqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemzqm/subscriptions","organizations_url":"https://api.github.com/users/chemzqm/orgs","repos_url":"https://api.github.com/users/chemzqm/repos","events_url":"https://api.github.com/users/chemzqm/events{/privacy}","received_events_url":"https://api.github.com/users/chemzqm/received_events","type":"User","site_admin":false},"body":"Changed test code to lua style, the test get passed on my local machine.\r\n\r\nProblem:    No autocmd triggered in Insert mode with visible popup menu.\r\nSolution:   Add TextChangedP. (Prabir Shrestha, Christian Brabandt,\r\n            closes vim/vim#2372, closes vim/vim#1691)\r\n            Fix that the TextChanged autocommands are not always triggered\r\n            when sourcing a script.\r\n\r\nhttps://github.com/vim/vim/commit/5a093437199001a0d60d8e18e2b9539b99a7757c","created_at":"2018-05-12T15:47:39Z","updated_at":"2018-05-19T09:39:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"590a6bf3f99d746164b6cd8bcfacd5af0c5919e9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":147252667,"url":"https://api.github.com/repos/neovim/neovim/labels/RFC","name":"RFC","color":"e6e6e6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/neovim/neovim/pulls/8377/commits","review_comments_url":"https://api.github.com/repos/neovim/neovim/pulls/8377/comments","review_comment_url":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/8377/comments","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/021c5875c13e0c4a5bab67e2e2ac50c4be653ad6","head":{"label":"chemzqm:nvim-7996","ref":"nvim-7996","sha":"021c5875c13e0c4a5bab67e2e2ac50c4be653ad6","user":{"login":"chemzqm","id":251450,"avatar_url":"https://avatars3.githubusercontent.com/u/251450?v=4","gravatar_id":"","url":"https://api.github.com/users/chemzqm","html_url":"https://github.com/chemzqm","followers_url":"https://api.github.com/users/chemzqm/followers","following_url":"https://api.github.com/users/chemzqm/following{/other_user}","gists_url":"https://api.github.com/users/chemzqm/gists{/gist_id}","starred_url":"https://api.github.com/users/chemzqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemzqm/subscriptions","organizations_url":"https://api.github.com/users/chemzqm/orgs","repos_url":"https://api.github.com/users/chemzqm/repos","events_url":"https://api.github.com/users/chemzqm/events{/privacy}","received_events_url":"https://api.github.com/users/chemzqm/received_events","type":"User","site_admin":false},"repo":{"id":74794124,"name":"neovim","full_name":"chemzqm/neovim","owner":{"login":"chemzqm","id":251450,"avatar_url":"https://avatars3.githubusercontent.com/u/251450?v=4","gravatar_id":"","url":"https://api.github.com/users/chemzqm","html_url":"https://github.com/chemzqm","followers_url":"https://api.github.com/users/chemzqm/followers","following_url":"https://api.github.com/users/chemzqm/following{/other_user}","gists_url":"https://api.github.com/users/chemzqm/gists{/gist_id}","starred_url":"https://api.github.com/users/chemzqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemzqm/subscriptions","organizations_url":"https://api.github.com/users/chemzqm/orgs","repos_url":"https://api.github.com/users/chemzqm/repos","events_url":"https://api.github.com/users/chemzqm/events{/privacy}","received_events_url":"https://api.github.com/users/chemzqm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chemzqm/neovim","description":"Vim-fork focused on extensibility and agility.","fork":true,"url":"https://api.github.com/repos/chemzqm/neovim","forks_url":"https://api.github.com/repos/chemzqm/neovim/forks","keys_url":"https://api.github.com/repos/chemzqm/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chemzqm/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chemzqm/neovim/teams","hooks_url":"https://api.github.com/repos/chemzqm/neovim/hooks","issue_events_url":"https://api.github.com/repos/chemzqm/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/chemzqm/neovim/events","assignees_url":"https://api.github.com/repos/chemzqm/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/chemzqm/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/chemzqm/neovim/tags","blobs_url":"https://api.github.com/repos/chemzqm/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chemzqm/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chemzqm/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/chemzqm/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chemzqm/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/chemzqm/neovim/languages","stargazers_url":"https://api.github.com/repos/chemzqm/neovim/stargazers","contributors_url":"https://api.github.com/repos/chemzqm/neovim/contributors","subscribers_url":"https://api.github.com/repos/chemzqm/neovim/subscribers","subscription_url":"https://api.github.com/repos/chemzqm/neovim/subscription","commits_url":"https://api.github.com/repos/chemzqm/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/chemzqm/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/chemzqm/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/chemzqm/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/chemzqm/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/chemzqm/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chemzqm/neovim/merges","archive_url":"https://api.github.com/repos/chemzqm/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chemzqm/neovim/downloads","issues_url":"https://api.github.com/repos/chemzqm/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/chemzqm/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/chemzqm/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/chemzqm/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chemzqm/neovim/labels{/name}","releases_url":"https://api.github.com/repos/chemzqm/neovim/releases{/id}","deployments_url":"https://api.github.com/repos/chemzqm/neovim/deployments","created_at":"2016-11-25T23:41:04Z","updated_at":"2016-11-25T23:41:11Z","pushed_at":"2018-05-14T11:15:11Z","git_url":"git://github.com/chemzqm/neovim.git","ssh_url":"git@github.com:chemzqm/neovim.git","clone_url":"https://github.com/chemzqm/neovim.git","svn_url":"https://github.com/chemzqm/neovim","homepage":"https://salt.bountysource.com/teams/neovim","size":68691,"stargazers_count":0,"watchers_count":0,"language":"VimL","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neovim:master","ref":"master","sha":"36b2e3f743aaeb27531e67079d1a20bb4ac75e35","user":{"login":"neovim","id":6471485,"avatar_url":"https://avatars3.githubusercontent.com/u/6471485?v=4","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"repo":{"id":16408992,"name":"neovim","full_name":"neovim/neovim","owner":{"login":"neovim","id":6471485,"avatar_url":"https://avatars3.githubusercontent.com/u/6471485?v=4","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neovim/neovim","description":"Vim-fork focused on extensibility and usability","fork":false,"url":"https://api.github.com/repos/neovim/neovim","forks_url":"https://api.github.com/repos/neovim/neovim/forks","keys_url":"https://api.github.com/repos/neovim/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neovim/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neovim/neovim/teams","hooks_url":"https://api.github.com/repos/neovim/neovim/hooks","issue_events_url":"https://api.github.com/repos/neovim/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/neovim/neovim/events","assignees_url":"https://api.github.com/repos/neovim/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/neovim/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/neovim/neovim/tags","blobs_url":"https://api.github.com/repos/neovim/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neovim/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neovim/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/neovim/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/neovim/neovim/languages","stargazers_url":"https://api.github.com/repos/neovim/neovim/stargazers","contributors_url":"https://api.github.com/repos/neovim/neovim/contributors","subscribers_url":"https://api.github.com/repos/neovim/neovim/subscribers","subscription_url":"https://api.github.com/repos/neovim/neovim/subscription","commits_url":"https://api.github.com/repos/neovim/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/neovim/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/neovim/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/neovim/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/neovim/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/neovim/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neovim/neovim/merges","archive_url":"https://api.github.com/repos/neovim/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neovim/neovim/downloads","issues_url":"https://api.github.com/repos/neovim/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/neovim/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/neovim/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/neovim/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neovim/neovim/labels{/name}","releases_url":"https://api.github.com/repos/neovim/neovim/releases{/id}","deployments_url":"https://api.github.com/repos/neovim/neovim/deployments","created_at":"2014-01-31T13:39:22Z","updated_at":"2018-05-19T09:27:15Z","pushed_at":"2018-05-19T08:37:11Z","git_url":"git://github.com/neovim/neovim.git","ssh_url":"git@github.com:neovim/neovim.git","clone_url":"https://github.com/neovim/neovim.git","svn_url":"https://github.com/neovim/neovim","homepage":"https://salt.bountysource.com/teams/neovim","size":68854,"stargazers_count":27102,"watchers_count":27102,"language":"Vim script","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1974,"mirror_url":null,"archived":false,"open_issues_count":875,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1974,"open_issues":875,"watchers":27102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/8377"},"html":{"href":"https://github.com/neovim/neovim/pull/8377"},"issue":{"href":"https://api.github.com/repos/neovim/neovim/issues/8377"},"comments":{"href":"https://api.github.com/repos/neovim/neovim/issues/8377/comments"},"review_comments":{"href":"https://api.github.com/repos/neovim/neovim/pulls/8377/comments"},"review_comment":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neovim/neovim/pulls/8377/commits"},"statuses":{"href":"https://api.github.com/repos/neovim/neovim/statuses/021c5875c13e0c4a5bab67e2e2ac50c4be653ad6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"justinmk"}}