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

Is there any way to access a Syntastic checker that is not in PATH?

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?
Jason
  • 2,493
  • 2
  • 27
  • 27
0
votes
1 answer

Pytest Vim Syntastic - Avoid redefinition warning

I've set up Syntastic in Vim for Python development. Its been fantastic so far, but when writing tests with imported pytest.fixture methods, I get a few bogus errors. For context, I'm using Flask in Python. But, consider the following test.py…
BitPusher
  • 990
  • 1
  • 9
  • 20
0
votes
1 answer

Vim Syntastic show warnings and set warning level

I use Vim with syntastic to code in C++ and I see all errors but I don't get any warnings. It would be nice if I didn't have to use the compiler in the terminal just to get all compiler-messages. Some errors differ in different c++ standards so it…
dekuShrub
  • 466
  • 4
  • 20
0
votes
1 answer

vim Syntastic not finding header files when developing with mbed

I'm developing a prototype using ARM's mbed OS. I'm newish to C++ so having syntastic working would be ideal, but it gets hung up on the import of "mbed.h". The structure of the project is: / myfile.cpp mbed-os/ mbed.h Syntastic is saying fatal…
GTF
  • 8,031
  • 5
  • 36
  • 59
0
votes
1 answer

How to customize vim-syntastic?

I've written a python script. My vimrc contains: Plug 'vim-syntastic/syntastic' let g:syntastic_python_checkers=['pyflakes'] and I'd like to turn this kind of error into warning: File.py|214 error| local variable 'rank_last_c' is assigned to but…
vize_xpft
  • 67
  • 5
0
votes
0 answers

Syntastic only runs in certain directories

I've got vim (8.0.1150) installed with syntastic (re-installed today), and I'm using conda to manage my environments, on a Mac running Sierra. When I'm at the top-level of a repo I'm working on, if I open vim: $ vim src/python/some/fun/file.py then…
dwanderson
  • 2,775
  • 2
  • 25
  • 40
0
votes
0 answers

Syntastic: How to check .c file with cpp checker

I have some files with .c extensions that use features of C++. Syntastic is checking these files with C checker which is reporting errors. Can you force synstastic to use C++ checker for .c files?
fstop_22
  • 971
  • 5
  • 9
0
votes
0 answers

Vim - Random "syntax=" text appearing in editor

Here's what I'm talking about. On line 2 there is this highlighted block of "syntax=" text. It doesn't belong there and and will appear (seemingly) randomly. If I sweep over it in visual mode it goes away. I suspect that it's something to do with…
FinnM
  • 394
  • 1
  • 3
  • 17
0
votes
1 answer

Change Vim's Syntastic to use a certain checker based on file extension?

I have vim's syntastic installed properly along with eslint and jshint. I prefer jshint for most of my javascript programming. However, I'm starting to learn React, and would like to use eslint with syntastic (eslint has superior/proper linting for…
0
votes
1 answer

How do I make Syntastic work with the Dockerfile plugin?

I use the vim plugins Syntastic and Dockerfile.vim. Syntastic has some checkers now for (lower-case) dockerfile file types, which is a built-in filetype for vim, but with only rudimentary syntax support. The better support with the Dockerfile.vim…
oeuftete
  • 2,628
  • 1
  • 24
  • 33
0
votes
0 answers

Vim Syntastic produces "package org.junit does not exist" error when saving java file

so I have a problem using vim with Syntastic for java. I spent hours looking for a solution but none of the dozens of questions seem to solve my problem. I have some java files and a lib/ folder containing (among other files) a junit.jar file. I'm…
SwiftedMind
  • 3,701
  • 3
  • 29
  • 63
0
votes
1 answer

Syntastic Plugin with MobaXterm

I'm having troubles using Syntastic with MobaXterm (which was based off of Cygwin). I already looked at this post: How to set up syntastic for vim? I used Vundle to properly install Syntastic (I know because :SyntasticCheck doesn't return any…
J-Win
  • 1,322
  • 16
  • 35
0
votes
1 answer

syntastic vim: How to return to a regular "insert" mode?

I added Syntastic plugin to Vim: https://github.com/vim-syntastic/syntastic. When I write code and type: ":w", I do get an error check that looks like this: What do I have to do to return to the state where I was before watching the error mode? I…
CrazySynthax
  • 13,662
  • 34
  • 99
  • 183
0
votes
4 answers

Disable status line in vim's Syntastic

I use syntastic plugin for vim on a computer with small screen, so want to cut out the unnecessary space. But, syntastic, when there's an error, displays e.g.: [Syntax: line: 5 (1)] a.cpp|5 col 59 warning|some error [Location List] :SyntasticCheck…
sygi
  • 4,557
  • 2
  • 32
  • 54
0
votes
0 answers

Vim, python3 und syntastic

The python script runs well so I'm wondering about syntastics complains. import numpy as np np.random.seed(123) syntastic: [no-member] Module 'numpy.random' has no 'seed' member random_walk = [0] syntastic: [invalid-name] Invalid constant name…
vbd
  • 3,437
  • 4
  • 32
  • 45