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
1
vote
1 answer

Syntastic not checking puppet files

I have installed the Syntastic vim plugin using Pathogen and am attempting to have my puppet files validated using puppet and puppet link checker. I can see errors and warning from puppet-lint, but in addition to that I would expect the puppet…
Ashutosh Jindal
  • 18,501
  • 4
  • 62
  • 91
1
vote
2 answers

syntastic - Set jslint arguments

I like JSLint and I like it strict! I've been using the fantastic syntastic plugin for vim today, and I love it. But I just noticed that the options given to jslint made it too kind. Is there any way I can set the jslint options from within the…
aspyct
  • 3,625
  • 7
  • 36
  • 61
1
vote
1 answer

How to make Syntastic search for javac config file in project

I'm using Syntastic with vim and I've added external libraries to its classpath (using SyntasticJavacEditClasspath). This creates a file in the current working directory (which was my project folder). This is all fine. However, whenever I restart…
Dave
  • 7,589
  • 12
  • 36
  • 42
1
vote
1 answer

syntastic with python no warnings and error arrows

I have following vimrc, but I do not get arrows for warnings and error from syntastic like on the picture below Further more I am not able to use the ruler with set ruler. Why I do not get a warning that variable "a" is not used? What did I do…
user977828
  • 7,259
  • 16
  • 66
  • 117
1
vote
1 answer

Syntastic working in Vim but not in gVim

I have Vim (7.3) installed on a Debian (testing), i recently switched to using gVim more than command line Vim (for the colorschemes and undercurl of misspelled words). Now I coded some Haskell and miss the nice Syntastic errors. And when I type…
epsilonhalbe
  • 15,637
  • 5
  • 46
  • 74
0
votes
1 answer

Is there any way to make ycm's(Youcompleteme) diagnostics for python more convenient in vi

Ycm build-in in Jedi doesn't support diagnostics. I tried some ways, like YCM's LSP and Syntastics, but various problems appear when using other plugins. For ycm, lsp, and pyright, it works well except hover. When I toggle on semantic completion and…
0
votes
1 answer

Find phpcs rule name by its error message

Maintaining some legacy code, phpcs (in Vim, using Syntastic) shows a lot of errors. I'd like to suppress them (for now). I get errors like: participant.php|1 col 1 error| Header blocks must be separated by a single blank line …
klokop
  • 2,414
  • 2
  • 18
  • 22
0
votes
0 answers

Syntastic detecting libraries as errors

My syntastic considers stdio.h and printf to be errors. It is pretty annoying to work like this with longer projects, is there any way to make syntastic detect stdio.h and printf as library/library function?
0
votes
1 answer

How can I generate a Syntastic config file using premake?

Syntastic is a source code linter plugin for the Vim editor. It does various syntax and heuristic checks, using external tools. In the case of C and C++ code, this frequently involves running a compiler on the code. In order to invoke the compiler,…
aghast
  • 14,785
  • 3
  • 24
  • 56
0
votes
1 answer

How to select only file content in VIM+ALE/Syntastic?

When linters are enabled via ALE or Syntastic in VIM the warnings/errors are marked in 2-characters column at the left side of the buffer. I can copy by selecting with the mouse and paste by middle click. However, when warnings/errors are linted…
0
votes
0 answers

syntastic: include header files that are spread around in a large project

I have a big C project with many software components around. The file tree has a root, say C:\MyProject\SoftwareComponents\ that contains a bunch of sub-folders which in turn contain some other sub-folders that contain .c and .h files. A sketch of…
Barzi2001
  • 989
  • 8
  • 24
0
votes
1 answer

Vim syntastic: How to get signs option working with this plugin?

I know I have Syntastic working because in a test .c file I'll write a line with a missing semicolon and move it around, and the :Errors window reports the correct syntax error location. However I cannot get the syntastic-error-signs option…
wting
  • 900
  • 2
  • 13
  • 27
0
votes
2 answers

use syntastic (or any vim checker) on a sagemath

I'm using vim for .sage files and I try to have a checker for these files. syntastic can handle python verification (with flake8) so I wanted to try this. The first idea I had is to put something like this in my .vim/filetype.vim : au…
0
votes
0 answers

Syntastic (vim-plugin) works for c++ and c, but not for Python, html, css

I recently got Syntastic (got it by vim-plug, Plug 'vim-syntastic/syntastic') and it works for c++ and c. Example: What I used: let g:syntastic_cpp_checkers = ['gcc'] And when I use Python or HTML or CSS. Example(with Python): What I used: let…
user8958708
0
votes
1 answer

Obstrusive window on syntastic from vim for python

Syntastic is raising an error each ":w" refered to Python3 class defintion. I also tryed to disabled messages window without sucess using let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open =…
Carlos
  • 4,299
  • 5
  • 22
  • 34