{"action":"created","issue":{"url":"https://api.github.com/repos/posva/vim-vue/issues/95","repository_url":"https://api.github.com/repos/posva/vim-vue","labels_url":"https://api.github.com/repos/posva/vim-vue/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/posva/vim-vue/issues/95/comments","events_url":"https://api.github.com/repos/posva/vim-vue/issues/95/events","html_url":"https://github.com/posva/vim-vue/issues/95","id":288758058,"number":95,"title":"I can't fix the slowness.","user":{"login":"trusktr","id":297678,"avatar_url":"https://avatars3.githubusercontent.com/u/297678?v=4","gravatar_id":"","url":"https://api.github.com/users/trusktr","html_url":"https://github.com/trusktr","followers_url":"https://api.github.com/users/trusktr/followers","following_url":"https://api.github.com/users/trusktr/following{/other_user}","gists_url":"https://api.github.com/users/trusktr/gists{/gist_id}","starred_url":"https://api.github.com/users/trusktr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trusktr/subscriptions","organizations_url":"https://api.github.com/users/trusktr/orgs","repos_url":"https://api.github.com/users/trusktr/repos","events_url":"https://api.github.com/users/trusktr/events{/privacy}","received_events_url":"https://api.github.com/users/trusktr/received_events","type":"User","site_admin":false},"labels":[{"id":521740335,"url":"https://api.github.com/repos/posva/vim-vue/labels/need%20repro","name":"need repro","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-01-16T01:26:28Z","updated_at":"2018-04-17T22:07:38Z","closed_at":null,"author_association":"NONE","body":"When I was using `<style lang=\"stylus\"></style>`, it was fairly zippy. However, when I modified it to `lang=\"less\"` or `lang=\"css\"`, it became **_extremely_** slow!\r\n\r\nSo, I tried to do `let g:vue_disable_pre_processors=1`, and this time it became alright, but not zippy like with `lang=\"stylus\"`. But this doesn't work. No matter what lang I put, the syntax is highlighted like CSS it seems. And I have `lang=\"pug\"` for the template, and now that's not highlighted.\r\n\r\nSo basically, it seems like `let g:vue_disable_pre_processors=1` makes it work alright, at the expense of really not just work. It effectively means I can just set the `.vue` file type to `ft=html` to achieve basically the same thing, without installing this plugin!\r\n\r\nSo, then what's the point of `let g:vue_disable_pre_processors=1` if it means I can just uninstall vim-vue and use `ft=html`?"},"comment":{"url":"https://api.github.com/repos/posva/vim-vue/issues/comments/382170526","html_url":"https://github.com/posva/vim-vue/issues/95#issuecomment-382170526","issue_url":"https://api.github.com/repos/posva/vim-vue/issues/95","id":382170526,"user":{"login":"trusktr","id":297678,"avatar_url":"https://avatars3.githubusercontent.com/u/297678?v=4","gravatar_id":"","url":"https://api.github.com/users/trusktr","html_url":"https://github.com/trusktr","followers_url":"https://api.github.com/users/trusktr/followers","following_url":"https://api.github.com/users/trusktr/following{/other_user}","gists_url":"https://api.github.com/users/trusktr/gists{/gist_id}","starred_url":"https://api.github.com/users/trusktr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trusktr/subscriptions","organizations_url":"https://api.github.com/users/trusktr/orgs","repos_url":"https://api.github.com/users/trusktr/repos","events_url":"https://api.github.com/users/trusktr/events{/privacy}","received_events_url":"https://api.github.com/users/trusktr/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T22:07:38Z","updated_at":"2018-04-17T22:07:38Z","author_association":"NONE","body":"I'm on a Republic Of Gamers Asus gaming machine, and I just tried disabling all JavaScript syntax plugins, but no luck, it's super slow!\r\n\r\nVim just needs a better syntax API. Here' thoughts on the future of such API in Neovim: https://github.com/neovim/neovim/issues/719\r\n"}}
{"actor":{"display_login":"trusktr"}}