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

Tsuquyomi ignores errors on open

I am using Tsuquyomi as a Syntastic plugin for checking TypeScript in Vim. I expect to see all errors when I open the file. Instead, I only see ESLint errors. I can only see Tsuquyomi errors when saving or manually running the checker. In my .vimrc,…
David Y. Stephenson
  • 872
  • 4
  • 22
  • 44
2
votes
0 answers

Syntastic won't load checkers on startup

I'm trying to setup Syntastic for C/C++ syntax checking with GCC. GCC is installed and available in the PATH. Here is the syntastic configuration from my .vimrc: set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} set…
Renn Kane
  • 493
  • 2
  • 13
2
votes
1 answer

Is there a way to tell syntastic which library to use to avoid @INC errors

I'm editing a test file which is typically run with prove -l which automatically includes the lib directory when searching for packages to load. When editing the file, vim-syntastic reports it can't find the needed packages because it is not looking…
StevieD
  • 6,925
  • 2
  • 25
  • 45
2
votes
2 answers

decoding vim syntastic symbols in `spacevim`

I hate asking a question like this, but am still rather new to vim and the Spacevim variant that I am using. I am working in python and was trying to understand the different symbols that vim-syntastic is presenting the the leftmost column. I have…
krishnab
  • 9,270
  • 12
  • 66
  • 123
2
votes
0 answers

How to ignore errors that Pylint picks up from method stubs?

I'm coding in Vim, using Syntastic and Pylint. Sometimes I like to put in method stubs like so: def foo(bar, baz): pass I know that I am going to use bar and baz and I'd rather Pylint not tell me that I ignored some parameters if I ignored them…
Tan Wang
  • 811
  • 1
  • 6
  • 16
2
votes
1 answer

Writing new syntax checker, not being loaded/detected

I'm trying to write a synastic_checker for a language called ALF, the checker tool is named sweet. I cannot get my checker to load. I did the following: Made the file sweet.vim in syntastic/syntax_checkers/alf/ Added the following line to the…
rveens
  • 21
  • 1
2
votes
2 answers

Completely exit location list (lcl) created by Syntastic as well the main buffer when using :q, :q! or :wq! in VIM

I'm using Syntastic plugin. I have some files with some errors (Warnings) that I can't change. When I have a file opened with error messages, and I quit the file(buffer) pressing :q, the error messages are still visible(another buffer), so I have to…
2
votes
1 answer

Setting a sign to highlight only text instead of whole line in Vim

When defining a :sign you can use the linehl argument to assign a highlight group for the whole line the sign is placed in. This highlights the whole line until the end, but how I do to highlight only the text of that line? Edit: The idea is to use…
nvaras
  • 21
  • 2
2
votes
0 answers

How to tell pylint to look in other files for variables?

I'm using the pylint python linter via Syntastic in Vim. It's great, except that I'm getting a lot of undefine-variable messages when calling functions that are defined in other modules that are then imported. Is it possible to configure Syntastic…
Tom
  • 6,601
  • 12
  • 40
  • 48
2
votes
2 answers

'quickfix' for js syntax not working with 'eslint' in 'syntastic'

All: I'm having a problem. I use syntastic for javascript syntax check. but quickfix is not working. let g:syntastic_mode_map = { 'mode': 'active', \ 'active_filetypes': ['python', 'javascript'], \…
Lee.zm
  • 105
  • 1
  • 12
2
votes
0 answers

Syntastic Error with Fortran Module

I use both intel and gnu fortran compilers. Syntastic gives the following errors when I compile my module, with these settings: syntastic_fortran_compiler set to 'ifort' & using ifort -c my_mod.f90, then it displays an error on the USE my_mod…
physkets
  • 183
  • 3
  • 12
2
votes
0 answers

VIM Syntastic error for HTML5

I'm a newcomer to VIM and installed GVIM successfully on my Windows 8.1 laptop. I uploaded the Syntastics plugin using Pathogen and, as I'm planning to write an ionic project, I also copied the tidy5 for html5 binary (from…
dbertels
  • 83
  • 1
  • 10
2
votes
2 answers

How to check multiple files at once?

Currently, if I run :SyntasticCheck, :Errors displays errors for the current buffer only. What I want it to do is to check all Python (*.py) files in the current working directory, and so that all the locations are aggregated in a single…
DBedrenko
  • 4,871
  • 4
  • 38
  • 73
2
votes
2 answers

Syntastic C configuration file

In an attempt to add the include paths to Syntastic (3.6.0-106; Vim 7.3), to stop it from giving a fatal error at the first include it can't find, I tried creating a .syntastic_c_config file. There's not a lot of information on how this is supposed…
Xophmeister
  • 8,884
  • 4
  • 44
  • 87
2
votes
1 answer

Enable only pylint for Python files in Syntastic for Vim

I want to use "pylint" for checking my Python code in Vim. To do this, I install the Syntastic plugin, along with the "pylint" package for Ubuntu. Then I specify the checker I want to use by writing the following in my .vimrc. let…
Ólavur
  • 410
  • 4
  • 15