I am trying to get tsqllint working with Syntastic in Vim. I am on a shared system with no root privileges. I was able to get tsqllint installed locally and working outside of the PATH. Is there a way to point Syntastic to its location?
Asked
Active
Viewed 169 times
0
-
2`let g:syntastic_sql_tsqllint_exec = '/path/to/tsqllint'` – lcd047 Jun 06 '18 at 16:46
-
@lcd047 This seems like it would be a more correct answer, but after testing, it didn't work. – Jason Jun 07 '18 at 13:17
-
Availability flags are cached, so you need to set that before the first time syntastic tries to determine if `tsqllint` is available. – lcd047 Jun 07 '18 at 17:47
1 Answers
1
You can add things to your path in your .vimrc
. For example, I have a locally installed flawfinder, so I put this in my .vimrc
:
let $PATH.=':' . $HOME . '/flawfinder/bin'

Christian Gibbons
- 4,272
- 1
- 16
- 29