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
4
votes
1 answer

How to enable Rubocop with Syntastic Vim plugin and Rbenv?

I would like to enable the Rubocop checker with Syntastic. I have set it has a checker and given the path to the executable. Although :SyntasticInfo reports that it is not an active checker. Also :SyntasticCheck rubocop reports that rubocop is not…
Jason
  • 3,736
  • 5
  • 33
  • 40
4
votes
1 answer

C++11 functions not recognised in vim

While using a few c++11 functions in vim I noticed that the vim plugin taglist syntastic keeps reporting errors such as 'stoi' was not declared in this scope. So I have a few questions, How do I get taglist syntastic to recognise c++11…
aish
  • 183
  • 2
  • 12
4
votes
1 answer

Vim Powerline with Syntastic segment

How do I add a syntastic segment to the powerline footer for Vim? (the new powerline, not vim-powerline) Syntastic docs only say how to add it to the standard Vim footer and I couldn't find how to add it in the powerline docs.
Mike Funk
  • 373
  • 6
  • 22
3
votes
1 answer

Issue using NULL in C files on Vim w/ Syntastic

Heyo! I have been using the Syntastic syntax checker plugin for a little while and have been really enjoying the experience except one irritating bug I cannot seem to figure out how to eliminate. Every time I try to use NULL in my C programs, I get…
3
votes
1 answer

eslint ignore project .eslintrc

I'm working on a project that has an .eslintrc file checked in to source control at the root of the project. The problem is that it has custom dependencies and when I use a tool to run my linting (syntastic with Vim) it fails. The dependencies are…
Jonathan.Brink
  • 23,757
  • 20
  • 73
  • 115
3
votes
1 answer

Setting up Syntastic for Android Java development

I'm trying to use VIM and Syntastic for Java Android development. I am getting lots of 'package does not exist' and 'cannot find symbol' errors. I've tried setting my class path in .vimrc using let g:syntastic_java_javac_config_file_enabled=1 let…
Adamski
  • 3,585
  • 5
  • 42
  • 78
3
votes
2 answers

Syntastic installation issue: ^M file endings

I'm trying to install Syntastic for Vim using Cygwin. After completing step 2.1 and the cloning part of step 2.2 in the installation guide of Syntastic, I find that now when I run vim I get the following errors: Error detected while processing…
rwolst
  • 12,904
  • 16
  • 54
  • 75
3
votes
1 answer

syntastic - Display both jslint and jshint errors

I just configured my Vim to used Syntastic - which works great ! I use it for javascript validation. I have two linters installed: jslint and jshint, and I intend to keep the two. But Syntastic does not seem to want to report errors from the two at…
aspyct
  • 3,625
  • 7
  • 36
  • 61
3
votes
1 answer

Syntastic check not working when using arguments

I setup Syntastic to validate my PHP code. I'm using PHP, and PHPCS as checkers. let g:syntastic_php_checkers = ['php', 'phpcs'] This works perfectly. However, I want to use the WordPress coding standards, so I added this line let…
Omar Abid
  • 15,753
  • 28
  • 77
  • 108
3
votes
3 answers

Syntastic java external library support

I'm trying to program a game using lwjgl library and I'm using vim as my editor. I would like to have syntax cheking so I use syntastic. The javac checker page explains how to add the classpath to the javac checker using SyntasticJavacEditClasspath…
Marc Sola
  • 434
  • 4
  • 15
3
votes
1 answer

Syntastic and jshint not displaying errors in vim

I can't get Syntastic to work for JavaScript files in MacVim. If I save a file with errors in it, nothing is displayed: there is no error margin. If I run :SyntasticInfo, then I see: Syntastic info for filetype: javascript Available checkers:…
Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
3
votes
3 answers

Hide gutter from Syntastic

Using the syntax checker Syntastic calls up a gutter which points to all lines with errors in it. Once I am done checking I would like to hide this gutter. The only way I have found is to reopen the same file. I must be missing something, how do I…
ari
  • 4,269
  • 5
  • 24
  • 33
3
votes
1 answer

Command line syntax checker for Racket / Scheme

I'm looking for a command-line tool to check the syntax of my Racket / PLT-Scheme code. The purpose of this is to build a syntax-checker for Syntastic Vim plugin. Has anybody heard of a way?
Ory Band
  • 14,716
  • 14
  • 59
  • 66
3
votes
1 answer

Not able to use google closure with syntastic in vim

I have included the following lines in my vimrc file to run syntastic plugin.[closed] let g:syntastic_mode_map = { 'mode': 'active', \ 'active_filetypes': [], \ 'passive_filetypes': ['html'] } "…
deven98602
  • 1,090
  • 9
  • 19
2
votes
0 answers

Problem using multiple Python checkers with Syntastic in vim

I set up multiple checkers in my .vimrc file but it seems it has no effect. When I save my file I have auto check enabled so I get only flake8 checks, how is that? This is my SyntasticInfo output: Syntastic version: 3.10.0-22 (Vim 802, Darwin) Info…
Corel
  • 581
  • 3
  • 21