{"action":"created","issue":{"url":"https://api.github.com/repos/Kuniwak/vint/issues/191","repository_url":"https://api.github.com/repos/Kuniwak/vint","labels_url":"https://api.github.com/repos/Kuniwak/vint/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/Kuniwak/vint/issues/191/comments","events_url":"https://api.github.com/repos/Kuniwak/vint/issues/191/events","html_url":"https://github.com/Kuniwak/vint/issues/191","id":195799412,"number":191,"title":"vint do not support a:firstline and a:lastline.","user":{"login":"wsdjeg","id":13142418,"avatar_url":"https://avatars.githubusercontent.com/u/13142418?v=3","gravatar_id":"","url":"https://api.github.com/users/wsdjeg","html_url":"https://github.com/wsdjeg","followers_url":"https://api.github.com/users/wsdjeg/followers","following_url":"https://api.github.com/users/wsdjeg/following{/other_user}","gists_url":"https://api.github.com/users/wsdjeg/gists{/gist_id}","starred_url":"https://api.github.com/users/wsdjeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsdjeg/subscriptions","organizations_url":"https://api.github.com/users/wsdjeg/orgs","repos_url":"https://api.github.com/users/wsdjeg/repos","events_url":"https://api.github.com/users/wsdjeg/events{/privacy}","received_events_url":"https://api.github.com/users/wsdjeg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-15T12:59:21Z","updated_at":"2016-12-18T13:04:13Z","closed_at":null,"body":"```viml\r\n\tfunction Cont() range\r\n\t  execute (a:firstline + 1) . \",\" . a:lastline . 's/^/\\t\\\\ '\r\n\tendfunction\r\n```\r\nI get errors : \r\n```log\r\nconfig/nvim/autoload/zvim/util.vim|91 col 45 warning| Undefined variable: a:firstline (ProhibitUsingUndeclaredVariable)\r\nconfig/nvim/autoload/zvim/util.vim|91 col 66 warning| Undefined variable: a:lastline (ProhibitUsingUndeclaredVariable)\r\n```"},"comment":{"url":"https://api.github.com/repos/Kuniwak/vint/issues/comments/267820058","html_url":"https://github.com/Kuniwak/vint/issues/191#issuecomment-267820058","issue_url":"https://api.github.com/repos/Kuniwak/vint/issues/191","id":267820058,"user":{"login":"Kuniwak","id":1124024,"avatar_url":"https://avatars.githubusercontent.com/u/1124024?v=3","gravatar_id":"","url":"https://api.github.com/users/Kuniwak","html_url":"https://github.com/Kuniwak","followers_url":"https://api.github.com/users/Kuniwak/followers","following_url":"https://api.github.com/users/Kuniwak/following{/other_user}","gists_url":"https://api.github.com/users/Kuniwak/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuniwak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuniwak/subscriptions","organizations_url":"https://api.github.com/users/Kuniwak/orgs","repos_url":"https://api.github.com/users/Kuniwak/repos","events_url":"https://api.github.com/users/Kuniwak/events{/privacy}","received_events_url":"https://api.github.com/users/Kuniwak/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T13:04:13Z","updated_at":"2016-12-18T13:04:13Z","body":"This is a debugging memo for me.\r\n\r\n##### Debug info\r\n###### `a:firstline`\r\n```python\r\n{\r\n  'type': '<NodeType.IDENTIFIER: 86>',\r\n  'value': 'a:firstline',\r\n  'VINT:is_reachable': True,\r\n  'VINT:identifier_attribute': {\r\n    'is_autoload': False,\r\n    'is_declarative': False,\r\n    'is_declarative_parameter': False,\r\n    'is_dynamic': False,\r\n    'is_function': False,\r\n    'is_member': False,\r\n    'is_on_str_expr_context': False\r\n  }\r\n}\r\n```\r\n\r\n###### `a:lastline`\r\n```python\r\n{\r\n  'type': '<NodeType.IDENTIFIER: 86>',\r\n  'VINT:is_reachable': True,\r\n  'value': 'a:lastline',\r\n  'VINT:identifier_attribute': {\r\n    'is_autoload': False,\r\n    'is_declarative': False,\r\n    'is_declarative_parameter': False,\r\n    'is_dynamic': False,\r\n    'is_function': False,\r\n    'is_member': False,\r\n    'is_on_str_expr_context': False\r\n  }\r\n}\r\n\r\n```\r\n\r\n###### Scope analysis\r\n\r\n```python\r\n{\r\n  'scope_visibility': '<ScopeVisibility.GLOBAL_LIKE: 0>',\r\n  'variables': {\r\n    'b:': [{'is_builtin': False, 'is_implicit': False}],\r\n    'g:': [{'is_builtin': False, 'is_implicit': False}],\r\n    't:': [{'is_builtin': False, 'is_implicit': False}],\r\n    'v:': [{'is_builtin': False, 'is_implicit': False}],\r\n    'w:': [{'is_builtin': False, 'is_implicit': False}]\r\n  },\r\n  'functions': {\r\n    'g:Cont': [{'is_builtin': False, 'is_implicit': True}]\r\n  },\r\n  'child_scopes': [\r\n    {\r\n      'scope_visibility': '<ScopeVisibility.SCRIPT_LOCAL: 2>',\r\n      'variables': {\r\n        's:': [{'is_builtin': False, 'is_implicit': False}]\r\n      },\r\n      'functions': {},\r\n      'child_scopes': [\r\n        {\r\n          'scope_visibility': '<ScopeVisibility.FUNCTION_LOCAL: 3>',\r\n          'variables': {\r\n            'a:': [{'is_builtin': False, 'is_implicit': False}],\r\n            'a:0': [{'is_builtin': False, 'is_implicit': False}],\r\n            'a:000': [{'is_builtin': False, 'is_implicit': False}],\r\n            'a:firstline': [{'is_builtin': False, 'is_implicit': False}],\r\n            'a:lastline': [{'is_builtin': False, 'is_implicit': False}],\r\n            'l:': [{'is_builtin': False, 'is_implicit': False}]\r\n          },\r\n          'functions': {},\r\n          'child_scopes': [\r\n          ]\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}\r\n```"}}
{"actor":{"display_login":"Kuniwak"}}