{"action":"created","issue":{"url":"https://api.github.com/repos/derekwyatt/vim-scala/issues/122","labels_url":"https://api.github.com/repos/derekwyatt/vim-scala/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/derekwyatt/vim-scala/issues/122/comments","events_url":"https://api.github.com/repos/derekwyatt/vim-scala/issues/122/events","html_url":"https://github.com/derekwyatt/vim-scala/issues/122","id":130406372,"number":122,"title":"“syn include @scalaHtml syntax/html.vim” conflicts with standard help","user":{"login":"neowit","id":552057,"avatar_url":"https://avatars.githubusercontent.com/u/552057?v=3","gravatar_id":"","url":"https://api.github.com/users/neowit","html_url":"https://github.com/neowit","followers_url":"https://api.github.com/users/neowit/followers","following_url":"https://api.github.com/users/neowit/following{/other_user}","gists_url":"https://api.github.com/users/neowit/gists{/gist_id}","starred_url":"https://api.github.com/users/neowit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neowit/subscriptions","organizations_url":"https://api.github.com/users/neowit/orgs","repos_url":"https://api.github.com/users/neowit/repos","events_url":"https://api.github.com/users/neowit/events{/privacy}","received_events_url":"https://api.github.com/users/neowit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-01T16:13:26Z","updated_at":"2016-02-01T18:41:28Z","closed_at":"2016-02-01T18:41:28Z","body":"Environment: MacVim 7.4 (Included patches: 1-1090), from homebrew.\r\nWith `vim-scala` plugin installed any attempt to open standard help, e.g. `:h help`\r\nresults in this error:\r\n```\r\n\"helphelp.txt\" [readonly] 354L, 13782C\r\nError detected while processing /usr/local/Cellar/macvim/7.4-91/MacVim.app/Contents/Resources/vim/runtime/syntax/html.vim:\r\nline  210:\r\nE492: Not an editor command:   HtmlHiLink htmlStyleArg htmlString\r\nline  213:\r\nE121: Undefined variable: main_syntax\r\nE15: Invalid expression: main_syntax == \"html\"\r\nline  228:\r\nE492: Not an editor command:   HtmlHiLink htmlTag                     Function\r\nline  290:\r\nE184: No such user-defined command: HtmlHiLink\r\nline  294:\r\nE121: Undefined variable: main_syntax\r\nE15: Invalid expression: main_syntax == 'html'\r\nline  298:\r\nE121: Undefined variable: s:cpo_save\r\nE15: Invalid expression: s:cpo_save\r\nline  299:\r\nE108: No such variable: \"s:cpo_save\"\r\nError detected while processing /Users/andrey/Dropbox/ApplicationSettings/vim/bundle/vim-scala/syntax/scala.vim:\r\nline  219:\r\nE121: Undefined variable: main_syntax\r\nE15: Invalid expression: main_syntax ==# 'scala'\r\n```\r\nWith `vim-scala` plugin removed help opens as expected without issues.\r\n\r\nthe culprit appears to be [line 35](https://github.com/derekwyatt/vim-scala/blob/3f85f50181259fc89f992d0c58bba3ca9a7c6899/syntax/scala.vim#L35) in syntax/scala/vim\r\n```vim\r\nsyn include @scalaHtml syntax/html.vim\r\n```\r\n\r\nif I comment it out or replace with \r\n```vim\r\nexe 'syn include @scalaHtml $VIMRUNTIME' . '/syntax/html.vim' \r\n```\r\nthen the error goes away."},"comment":{"url":"https://api.github.com/repos/derekwyatt/vim-scala/issues/comments/178118538","html_url":"https://github.com/derekwyatt/vim-scala/issues/122#issuecomment-178118538","issue_url":"https://api.github.com/repos/derekwyatt/vim-scala/issues/122","id":178118538,"user":{"login":"derekwyatt","id":62324,"avatar_url":"https://avatars.githubusercontent.com/u/62324?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwyatt","html_url":"https://github.com/derekwyatt","followers_url":"https://api.github.com/users/derekwyatt/followers","following_url":"https://api.github.com/users/derekwyatt/following{/other_user}","gists_url":"https://api.github.com/users/derekwyatt/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwyatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwyatt/subscriptions","organizations_url":"https://api.github.com/users/derekwyatt/orgs","repos_url":"https://api.github.com/users/derekwyatt/repos","events_url":"https://api.github.com/users/derekwyatt/events{/privacy}","received_events_url":"https://api.github.com/users/derekwyatt/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T18:41:28Z","updated_at":"2016-02-01T18:41:28Z","body":"Hopefully 842baaff633b61fcc92e1db10042f0ed9571cf95 fixes it.  Can't test it from where I am right now."}}