Questions tagged [syntastic]

Syntastic is a syntax checking plugin for the Vim editor that runs files through external syntax checkers and displays any resulting errors to the user.

The Syntastic manual can be found here:

https://github.com/vim-syntastic/syntastic/blob/master/README.markdown

232 questions
17
votes
2 answers

How can I get syntastic error checking to work with OCaml?

Syntastic works for me in general (say, if I edit C/C++ files then I get syntax error notifications), but I can't get it to show syntax errors for OCaml. My OCaml install seems fine otherwise, and the binaries that are mentioned in the header of…
Nicholas Meyer
  • 253
  • 2
  • 7
15
votes
1 answer

Why doesn't Syntastic catch JSON errors?

I just added jsonlint for Syntastic, and it's not catching any syntax errors. flake8 is working fine for Python, and has been for a while, but no jsonlint. Below you'll see the relevant portion of my .vimrc, where I believe to have everything I…
Brian Dant
  • 4,029
  • 6
  • 33
  • 47
14
votes
2 answers

Disable pep8 check in syntastic for python files

I work with enough code that does not follow pep8 (that I cannot fix) and would like syntastic to not use the pep8 syntax checker. Any way to disable it?
rgrinberg
  • 9,638
  • 7
  • 27
  • 44
13
votes
3 answers

Show only errors with pylint and syntastic in vim

How to use synstastic in vim to display only pylint error messages? I basically want the output of pylint -E to be used as source for syntastic. I tried to configure syntastic in my .vimrc with: let g:syntastic_python_checkers = ['python', 'pylint…
zormit
  • 533
  • 4
  • 16
13
votes
2 answers

vim with syntastic and eslint: show warnings

I'm using Vim with the syntastic plugin and eslint. When I save a JavaScript file, I can see errors come up just fine, but I can't get the warnings to show. Here's what I have in my .vimrc: let g:syntastic_javascript_checkers = ['eslint'] I…
Jonathan.Brink
  • 23,757
  • 20
  • 73
  • 115
13
votes
4 answers

Syntastic and Python-mode together?

I have installed python-mode in VIM. But I also have Syntastic installed. Since both do syntax checking, is there going to be a conflict? How can I turn off Syntastic for Python files? Thanks for any help
user798275
  • 441
  • 6
  • 14
12
votes
2 answers

Use tsconfig.json for tsc with syntastic in vim

I want to use the syntastic plugin for vim to give me live error checking while I'm writing typescript files, using tsc. I already have tsc activated in vim. Any suggestions for how I could get tsc to use the closest parent's tsconfig.json file as…
osdiab
  • 1,972
  • 3
  • 26
  • 37
12
votes
3 answers

Vim, C++, YCM, and Syntastic include path problems

I feel that I have an awesome setup for C++ programming using Vim but I can't find a way to tell Vim, YCM, and Syntastic where to search for headers. It would be really annoying to have to manually set the include path variables for Vim, YCM, and…
SteveDeFacto
  • 1,317
  • 4
  • 19
  • 35
11
votes
2 answers

How to setup Syntastic as python3 checker instead of python2

In MacVim, I save following code as test.py print "Hello world! python2" , which is apparently wrong with python3, but after I run :w to save the file, there is no error message for it, Following is a part of ~/.vimrc, which is all about…
NeoZoom.lua
  • 2,269
  • 4
  • 30
  • 64
11
votes
1 answer

Syntastic and split view handling in Vim

Recently, I started using syntastic, as it eases up development quite a bit. The only thing that realy bothers me is how it deals with split views. I use the NERDtree plugin as well, and whenever I open another file in a vsplit view, the following…
vimgasm
  • 111
  • 3
11
votes
2 answers

Syntastic + Django

I just started developing on Django, and then I thought using the Syntastic syntax checker on it would be a good idea. The problem is that it complains about some things being wrong when, in fact, they aren't. Examples: For from…
Falassion
  • 711
  • 1
  • 7
  • 17
10
votes
3 answers

How can I turn off specific messages in syntastic (vim)?

I'm trying to turn off some of the messages in syntastic. For example, SC20148 in bash files (it complains there's no shebang). After looking through the documentation, it seemed that perhaps this might be done through: let…
nfarrar
  • 2,291
  • 4
  • 25
  • 33
10
votes
5 answers

Jump to the errors in the quickfix or location list for the current line in Vim (with Syntastic)

I started using the Syntastic plugin for Vim, which will run a syntax checker on the current buffer and then indicate any lines which have errors. I can open up the list of errors as as a location list using :Errors, and then jump to the line of a…
gotgenes
  • 38,661
  • 28
  • 100
  • 128
9
votes
3 answers

Disable syntasic html/tidy checker for a file

Is there a way to disable the html/tidy plugin for syntastic for a certain file? I have a handlebars template that contain an empty tag as a placeholder, and I keep getting the error trimming empty [html/tidy] Is there a way…
Tri Nguyen
  • 9,950
  • 8
  • 40
  • 72
9
votes
1 answer

No available checkers with Syntastic

I've installed Syntastic with Pathogen, and tried just about all I can think of to get Syntastic to recognize my pylint checker. Pylint checker is installed here /home/myself/.local/bin/pylint I echoed my path and /home/myself/.local/bin is…
Zack
  • 13,454
  • 24
  • 75
  • 113
1
2
3
15 16