[英]vim: Enable online html checker for syntastic?
Googled around on how to do this and looked at the syntastic docs a bit, but they only confused me more. Google搜寻了如何执行此操作,并查看了一些合成文档,但他们只会让我更加困惑。
Looking here I enabled an html checker for syntastic via an online service. 在这里,我通过在线服务为html检查器启用了合成功能。 Here are all the lines relating to syntastic I have in my _vimrc:
这是我在_vimrc中与合成有关的所有行:
"syntastic
let g:syntastic_check_on_open=1
let g:syntastic_enable_signs=1
" On by default, turn it off for html
let g:syntastic_mode_map = { 'mode': 'active',
\ 'active_filetypes': ['html'] }
" \ 'passive_filetypes': ['html'] }
"validators\checkers
let g:syntastic_html_validator_api='http://validator.nu/'
Running SyntasticInfo it does not appear to find the html checker? 运行SyntasticInfo,它似乎没有找到html检查器?
Am I just not understanding how this works? 我只是不了解其工作原理吗? Sorry, I'm very new to vim in general.
抱歉,我对vim很陌生。
Forgot about this question. 忘记了这个问题。 I did post on the plugin's issue tracker and was told it required curl to be installed- I was also told this info would now be included in the plugins description.
我确实在插件的问题跟踪器上发布了消息,并被告知需要安装curl-我也被告知此信息现在将包含在插件说明中。 I'm running Windows so its not as easy as apt-get install curl, but I think I can figure it out.
我正在运行Windows,因此它不像apt-get install curl那样容易,但是我想我可以弄清楚。 Actually if you follow that link you will see curl under requirements.
实际上,如果您单击该链接,您会看到根据要求的卷曲。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.