我已经安装了Syntastic with Pathogen.
Syntastic适用于Python文件,但不适用于JSHint的JavaScript文件.JSHint通过命令行或其他vim插件工作,如https://github.com/Shutnik/jshint2.vim
? which jshint
/usr/local/share/npm/bin/jshint
? jshint --version
jshint v2.1.10
? echo $PATH
/usr/local/share/npm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Run Code Online (Sandbox Code Playgroud)
当我运行:SyntasticInfo时,它没有找到任何检查器.
Syntastic info for filetype: javascript
Available checkers:
Currently active checker(s):
Run Code Online (Sandbox Code Playgroud)
我的vimrc
set nocompatible
filetype off
call pathogen#infect()
call pathogen#helptags()
filetype plugin indent on
syntax on
let g:syntastic_check_on_open=1
let g:syntastic_javascript_checkers = ['jshint']
Run Code Online (Sandbox Code Playgroud)
如果你知道为什么Syntastic没有检测到JSHint,我不知道我错过了什么.谢谢
当搜索信息有关的Git的文件中的命令,我注意到一些命令已被命名为(1)(git(1),git-checkout(1),git-reset(1))和一些有(7)(gittutorial(7))
它是否对应可能参数的数量?
谢谢