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
0 answers

Vim syntastic scss error, doesn't read the imported files

How to make vim syntastic to read the imported files? Currently my scss directory files like this: scss/ ----custom.scss ----style.scss ----variable.scss I import all the scss file into style.scss, so the style.scss contains: @import…
Ferry
  • 340
  • 2
  • 12
0
votes
0 answers

Vim/Syntastic: Cannot "from ... import ..." but can "import ... as ..."

I am using 1) Vi Improved 7.4 & 2) Syntastic syntax-checker for vim. When I tried to import the "sklearn.metrics" module to use the "pairwise_distances" functions, from sklearn.metrics import pairwise_distances works in both the 'python' &…
Sean
  • 713
  • 1
  • 10
  • 28
0
votes
1 answer

django html syntastic configuration in .vimrc

I'm new in vim, and i've just installed syntastic, my question is how to activate syntastic to check htmldjango type, i have installed pylint and pylint-django, this is my SyntasticInfo Syntastic version: 3.8.0-3 (Vim 800, Linux, GUI) Info for…
Wira Bhakti
  • 388
  • 3
  • 14
0
votes
0 answers

Cannot use empty key for Dictionary - Vim

I have a small-ish vim set up, and it appears whenever I open the vimrc file in vim, I get the following error: Error detected while processing function 46_VimEnterHook[14]..46_UpdateErrors[15]..46_CacheErrors[29]. .281: line …
ashic
  • 6,367
  • 5
  • 33
  • 54
0
votes
0 answers

can vim syntastic plugin read from pkgconfig for all include files

I am using vim syntastic plugin. All the depedent library are installed at different paths. There are so many libraries so I cannot give all name in syntactic_include_dirs Can syntastic include all headers recursively from a folder.? Or Can it read…
shivam
  • 3
  • 4
0
votes
0 answers

Syntastics doesn't recognize own java packages

Syntastic reports errors, that certain packages do not exist, although I defined them by myself in this project. How can I make Syntastic recognize those? I use the ant build system, and already tried to add those .class files by myself…
Natjo
  • 2,005
  • 29
  • 75
0
votes
0 answers

Syntastic for Vim only works on GuiEnter or switching of buffers. When I write a file the location list is empty. How do I debug this?

I want to preface by saying that I'm quite inexperienced with vimscript, so please bear with me. When I run SyntasticInfo I get the following: Syntastic version: 3.7.0-199 (Vim 704, Windows) Info for filetype: python Global mode: active Filetype…
Job
  • 43
  • 1
  • 5
0
votes
0 answers

Syntastic with JSHint fails to detect undefined function calls

Yesterday I started using Syntastic and JShint. It seems to be working ok, detecting missing semicolons or maybe an missing parenthesis etc. But if I try to call a function that isn't defined or if there is a typo in the function call, I get no…
Edvin
  • 1,841
  • 4
  • 16
  • 23
0
votes
0 answers

Using syntastic with C++, how can you implement template classes without it giving errors?

This compiles and seems to be OK. Resourceholder.hpp is included elsewhere. However, in resourceholder.inl syntastic reports (on the second line) that "variable has incomplete type void". Is there any way to make syntastic understand this kind of…
grindv1k
  • 41
  • 2
  • 3
0
votes
1 answer

vim puppet lint suppress warnings from syntatic

Does anybody knows how to suppress warnings like: [80chars] line has more than 80 characters Syntastic has function to suppress certain warnings via a regex. Does anybody know how the regex for that warning would look like? Syntastic example: let…
prototyp
  • 570
  • 6
  • 20
0
votes
0 answers

Syntastic and C

I installed gcc, clang, and make. None of them appear in :SyntasticInfo as available checkers. Syntastic version: 3.7.0-129 (Vim 704, Linux) Info for filetype: Global mode: active Filetype is active The current file will be checked…
Dannz
  • 495
  • 8
  • 20
0
votes
1 answer

Vim Disable Syntastic For PHP Laravel Blade Files

I use Vim for my PHP Laravel framework project. I just installed Syntastic in my Vim but every time I open a blade file with Vim it gives me an error. How do you disable Syntastic for blade files? Blade is a Laravel specific template file.the…
shigg
  • 792
  • 1
  • 8
  • 24
0
votes
1 answer

Python syntax errors: pyflakes detects only the first error of many

Let's say I have the following code: def incr(d, a) r = {} for key, value in d.items(): if key != a: value += 1 r[key] = value return r def decr(d, a) r = {} for key, value in d.items(): if key…
A S
  • 1,195
  • 2
  • 12
  • 26
0
votes
0 answers

How can I make syntastic use jshint in JSP files?

I have JavaScript code that would typically show up in a .js file, but it is stored in a .jsp file. I would like to use jshint as a checker for this file using Syntastic, but I can't seem to get it to work. According to the docs, something like this…
JSDL
  • 1
0
votes
1 answer

force jshint or syntastic to ignore html tags inside .js file

I use jshint + syntastic, and inside my js file class Channel extends React.Component{ onClick() { console.log("I was clicked", this.props.name); } render(){ return (
Kaign
  • 333
  • 4
  • 13