HTML5的VIM合成错误

时间:2016-01-24 09:45:05

标签: html5 vim syntastic

我是VIM的新手,并在我的Windows 8.1笔记本电脑上成功安装了GVIM。我使用Pathogen上传了Syntastics插件,因为我打算编写一个离子项目,我还复制了tidy5用于html5二进制文件(来自http://www.htacg.org/tidy-html5/)并在我的VIMRC中引用了二进制文件,如下所示:

    " SYNTASTIC
    set statusline+=%#warningmsg#
    set statusline+=%{SyntasticStatuslineFlag()}
    set statusline+=%*
    " automatically load errors in the location list:
    let g:syntastic_always_populate_loc_list = 1
    let g:syntastic_auto_loc_list = 1
    " check on errors when a file is loaded:
    let g:syntastic_check_on_open = 1
    " check on errors when saving the file:
    let g:syntastic_check_on_wq = 0
    let g:syntastic_html_tidy_execute = 'C:\Program Files (x86)\tidy-5.1.25-win32\bin\tidy'
    let g:syntastic_shell='C:\Windows\System32\cmd'
    " check debugging messages in vim with :mes:
    let g:syntastic_debug = 1
    let g:syntastic_mode_map = {"mode": "active",
      \"active_filetypes" : ["html","javascript","json"], 
      \"passive_filetypes" : ["html", "javascript","json"] }

当我跑步时

:SyntasticInfo

我得到以下输出

Syntastic version: 3.7.0-76 (Vim 704, Windows)
Info for filetype: html
Global mode: active
Filetype html is active
The current file will be checked automatically
Available checkers: -
Currently enabled checkers: -

出于某种原因,我的默认检查器没有加载,当我运行时

echo syntastic#util#system('echo %PATH%')

我收到E484错误

Error detected while processing function syntastic#util#system:
line    9:
E484: Can't open file C:\Users\Dirk\AppData\Local\Temp\VIo8366.tmp
-1

我怀疑这里有多个问题,所以我假设我需要解决的第一个问题是E484错误。任何帮助表示赞赏。

0 个答案:

没有答案