{"action":"created","issue":{"url":"https://api.github.com/repos/vim-perl/vim-perl/issues/251","repository_url":"https://api.github.com/repos/vim-perl/vim-perl","labels_url":"https://api.github.com/repos/vim-perl/vim-perl/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/vim-perl/vim-perl/issues/251/comments","events_url":"https://api.github.com/repos/vim-perl/vim-perl/issues/251/events","html_url":"https://github.com/vim-perl/vim-perl/issues/251","id":269394486,"number":251,"title":"vim packages not being folded.","user":{"login":"Jeansen","id":9211499,"avatar_url":"https://avatars0.githubusercontent.com/u/9211499?v=4","gravatar_id":"","url":"https://api.github.com/users/Jeansen","html_url":"https://github.com/Jeansen","followers_url":"https://api.github.com/users/Jeansen/followers","following_url":"https://api.github.com/users/Jeansen/following{/other_user}","gists_url":"https://api.github.com/users/Jeansen/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeansen/subscriptions","organizations_url":"https://api.github.com/users/Jeansen/orgs","repos_url":"https://api.github.com/users/Jeansen/repos","events_url":"https://api.github.com/users/Jeansen/events{/privacy}","received_events_url":"https://api.github.com/users/Jeansen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-10-29T12:15:33Z","updated_at":"2018-03-29T20:14:04Z","closed_at":null,"author_association":"NONE","body":"# Description of issue\r\nI am not able to fold packages.\r\n\r\nYour description here!\r\n\r\nMaybe I am missing something, but though I have set `foldmethod=syntax` and fiddled around with all the different settings, I get everything to work - except code-folding for packages. \r\n\r\nE.g.:\r\n```\r\npackage Null {\r\n    my $null = bless {}, __PACKAGE__;\r\n    sub AUTOLOAD {$null}\r\n    sub ok       {0}\r\n}\r\n```\r\n\r\nMy settings:\r\n\r\n```\r\nlet g:perl_fold = 1\r\nlet g:perl_include_pod = 1\r\nlet g:perl_extended_vars=1\r\nlet g:perl_fold_blocks = 1\r\n```\r\nI've also tried `let g:perl_nofold_packages` with 0/1, but no setting worked.\r\n\r\nIf it is a real bug, I'd definitely appreciate a fix :) If I just missed something, I would be grateful for any help.\r\n"},"comment":{"url":"https://api.github.com/repos/vim-perl/vim-perl/issues/comments/377358405","html_url":"https://github.com/vim-perl/vim-perl/issues/251#issuecomment-377358405","issue_url":"https://api.github.com/repos/vim-perl/vim-perl/issues/251","id":377358405,"user":{"login":"Jeansen","id":9211499,"avatar_url":"https://avatars0.githubusercontent.com/u/9211499?v=4","gravatar_id":"","url":"https://api.github.com/users/Jeansen","html_url":"https://github.com/Jeansen","followers_url":"https://api.github.com/users/Jeansen/followers","following_url":"https://api.github.com/users/Jeansen/following{/other_user}","gists_url":"https://api.github.com/users/Jeansen/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeansen/subscriptions","organizations_url":"https://api.github.com/users/Jeansen/orgs","repos_url":"https://api.github.com/users/Jeansen/repos","events_url":"https://api.github.com/users/Jeansen/events{/privacy}","received_events_url":"https://api.github.com/users/Jeansen/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T20:14:04Z","updated_at":"2018-03-29T20:14:04Z","author_association":"NONE","body":"@hoelzro: Did you push your fix? I cannot find it on dev ..."}}
{"actor":{"display_login":"Jeansen"}}