{"action":"opened","issue":{"url":"https://api.github.com/repos/lervag/vimtex/issues/141","labels_url":"https://api.github.com/repos/lervag/vimtex/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/lervag/vimtex/issues/141/comments","events_url":"https://api.github.com/repos/lervag/vimtex/issues/141/events","html_url":"https://github.com/lervag/vimtex/issues/141","id":65273201,"number":141,"title":"Undefined variable: b:current_syntax","user":{"login":"lahwaacz","id":1289205,"avatar_url":"https://avatars.githubusercontent.com/u/1289205?v=3","gravatar_id":"","url":"https://api.github.com/users/lahwaacz","html_url":"https://github.com/lahwaacz","followers_url":"https://api.github.com/users/lahwaacz/followers","following_url":"https://api.github.com/users/lahwaacz/following{/other_user}","gists_url":"https://api.github.com/users/lahwaacz/gists{/gist_id}","starred_url":"https://api.github.com/users/lahwaacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahwaacz/subscriptions","organizations_url":"https://api.github.com/users/lahwaacz/orgs","repos_url":"https://api.github.com/users/lahwaacz/repos","events_url":"https://api.github.com/users/lahwaacz/events{/privacy}","received_events_url":"https://api.github.com/users/lahwaacz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T18:35:04Z","updated_at":"2015-03-30T18:35:04Z","closed_at":null,"body":"I've been getting this error for a while, I guess it's about time to report it... Every time I open a .tex file, this error pops up. I don't use dot so for me it can be solved by commenting out the block of lines 46-57 in `vimtex/after/syntax/tex.vim`, but obviously that disables some functionality. Perhaps some checks are missing?\r\n```\r\nError detected while processing /home/lahwaacz/.config/vim/bundle/vimtex/after/syntax/tex.vim:\r\nline   46:\r\nE121: Undefined variable: b:current_syntax\r\nE15: Invalid expression: b:current_syntax\r\nline   47:\r\nE108: No such variable: \"b:current_syntax\"\r\nline   57:\r\nE121: Undefined variable: s:current_syntax\r\n```"}}