简体   繁体   English

有什么方法可以访问不在PATH中的Syntastic Checker?

[英]Is there any way to access a Syntastic checker that is not in PATH?

I am trying to get tsqllint working with Syntastic in Vim. 我正在尝试让tsqllint在Vim中与Syntastic一起使用。 I am on a shared system with no root privileges. 我在没有root特权的共享系统上。 I was able to get tsqllint installed locally and working outside of the PATH. 我能够在本地安装tsqllint并在PATH之外工作。 Is there a way to point Syntastic to its location? 有没有办法将Syntastic指向其位置?

You can add things to your path in your .vimrc . 您可以在.vimrc中将内容添加到路径中。 For example, I have a locally installed flawfinder, so I put this in my .vimrc : 例如,我有一个本地安装的缺陷查找器,因此将其放在.vimrc

let $PATH.=':' . $HOME . '/flawfinder/bin'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM