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
6
votes
3 answers

Syntastic close error window and original file window

I've installed Syntastic from GitHub and I'm trying to use Syntastic for checking perl syntax errors (and planning to use for Python in a short while). When I use ':quit' or ':q', only original file window closes. The error window does not close.…
Nilesh Bhave
  • 301
  • 1
  • 12
6
votes
2 answers

How can I make Syntastic load a different checker based on existance of files in root?

At work we use a different syntax checker than I do when working on open source. Is there a way to have Syntastic specify a default checker, and change checkers if an rc file is found at the project root? Example: if .eslintrc is found use eslint.…
Yoshua Wuyts
  • 3,926
  • 1
  • 20
  • 16
6
votes
1 answer

How can I configure the omnisharp syntastic syntax checker to be more lenient?

I've followed this guide for setting up my vim for c#. I works beautifully, but I've got an annoyance: The syntastic checker is a bit too harsh on me. Specifically it advises me to change this line: var parser = new Parser(configuration,…
pius
  • 2,344
  • 1
  • 23
  • 25
6
votes
1 answer

Syntastic and hdevtools

I followed the directions online from https://github.com/bitc/hdevtools/ and I am still seeing the following: Syntastic: active mode enabled Syntastic info for filetype: haskell Available checker(s): Currently enabled checker(s): I can't find…
Emil
  • 2,098
  • 11
  • 25
6
votes
1 answer

Syntastic doesn't detect JSHint as an available checker

I have installed Syntastic with Pathogen. Syntastic works for Python files but not for JavaScript files with JSHint. JSHint works via command line or with other vim plugin like https://github.com/Shutnik/jshint2.vim → which jshint …
towane
  • 105
  • 1
  • 5
6
votes
2 answers

Vim Syntastic: How to find out which syntax checker is currently in use?

I would like to change a setting or edit a line of code in the Python syntax checker, but Syntastic comes with five of them. How can I find out which one is in use?
Dan Ross
  • 3,596
  • 4
  • 31
  • 60
6
votes
1 answer

syntastic not functioning: no errors

I've installed Pathogen, git clone'd the syntastic repo, and tried :Helptags in mvim. However, whenever I type :Helptags, I don't get an error but nothing at all happens. Any idea what might be going on? UPDATE: I've tried again with Vundle (which…
Luke Chang
  • 149
  • 1
  • 1
  • 9
5
votes
1 answer

Compatible JS checker for Vim (Syntastic | YouCompleteMe)?

I was using Syntastic till install YouCompleteMe in terminal vim. So, the thing is that YouCompleteMe doesn't let Syntastic check for errors, but I need both plugins. YouCompleteMe has some error checkers, but I didn't find a way to make it work to…
Stevens Garcia
  • 147
  • 2
  • 10
5
votes
1 answer

how to make syntastic with html tidy aware of ionic tags?

I'm trying to edit an ionic application with vim that has syntastic enabled using html tidy. Unfortunately, I'm getting a load of errors. How can I make html tidy aware of ionic tags, or failing that make it ignore them so that I don't receive…
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
5
votes
1 answer

Syntastic: Show warnings in the gutter, but not in the location list

In the Syntastic plugin for VIM, is it possible for a Syntastic checker to report all errors and warnings in the gutter but only show errors (not warnings) in the location list? I'd like to use VIM and Syntastic more like an IDE with passive strict…
Rican7
  • 1,125
  • 2
  • 10
  • 28
5
votes
1 answer

Vim syntastic error messages always hidden

Syntastic does not seem to work properly for me. It is installed, :SyntasticInfo says everything is fine (active mode enabled, filetype cpp, checker is ycm). At first glance everything seems to be fine because it looks like this: I have my signs on…
5
votes
1 answer

Undefined Variable Errors in Syntastic SASS Checker

I use Syntastic to help catch my syntax errors early. It's set to also check any scss but errors for any scss files that reference variables defined in my "_variables.css.scss partial. I'm assuming that the variables file isn't be required into…
Eric M.
  • 5,399
  • 6
  • 41
  • 67
5
votes
1 answer

How to invalid syntastic check for .html file with vim

Do you know how to check for invalid syntax in an HTML file? I'm using ember.js with syntastic plugin vim plugin and it is producing warnings that make me confused.
nobinobiru
  • 792
  • 12
  • 28
4
votes
1 answer

Syntastic complaining about missing file

I am working on a c++ project utilizing Qt. I have enabled syntastic to check headers through my vimrc, and its checkers (gcc, clang_check, and clang_tidy) all complain about the same thing in my project: they're unable to find a particular header…
Christian Gibbons
  • 4,272
  • 1
  • 16
  • 29
4
votes
1 answer

Installing VIM plugins to a central location and making them globally available to all users

I've installed syntastic VIM plugin by following instructions from the plugin docs via pathogen. Install pathogen: mkdir -p ~/.vim/autoload ~/.vim/bundle && \ curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim Install syntastic as…
Pavel Chernikov
  • 2,186
  • 1
  • 20
  • 37