Questions tagged [vim-syntastic]

12 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

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

How to change the Vim Syntastic warning color in Airline using Solarized theme

I'm using vim-syntastic and vim-airline using the solarized color theme. When syntastic has a warning it displays in black on red, which is barely readable: After reading the airline help I've tried something like this in my .vimrc: call…
Phil Gyford
  • 13,432
  • 14
  • 81
  • 143
1
vote
0 answers

Vim-Syntastic showing ignored python errors

Syntastic and flake8 in vim not ignoring errors provided in flake8 config file. I am using flake8 for python code linting with Syntastic in vim. I have a flake8 config file per flake8 documentation absolute_path_to_home/.config/flake8 which ignores…
1
vote
0 answers

Syntastic fail when using Windows Python in Vim

I use vim on windows, from cygwin. I changed the PYthon used to be Windows Python, ie my .bashrc includes: PATH=/cygdrive/c/Python27:$PATH This causes the syntastic plugin to fail, as Windows Python does not deal with the /cygdrive/c/ prefix…
vimhard
  • 11
  • 1
1
vote
1 answer

Error symbols not showing in vim-syntastic

I am trying to add custom error symbols to syntastic in my .vimrc file as so: " Error symbols let g:syntastic_error_symbol = "✗" let g:syntastic_warning_symbol ="∙∙" But I think I have managed to break something. Now not even the default symbols…
Astrid
  • 1,846
  • 4
  • 26
  • 48
0
votes
1 answer

Eslint linter notworking on vim

I trying configure my VIM based IDE for work with my js project. I am installed Plugin 'vim-syntastic/syntastic using vundle. My part of .vimrc: set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%* let…
Edgaras Karka
  • 7,400
  • 15
  • 61
  • 115
0
votes
1 answer

vim-syntastic and files without extentions

I have to use buck for a project, and syntastic is returning lots of errors in buck's TARGETS files. Is there a way/documentation to declare that TARGETS file should not be checked ? I could set the default behavior to passive, but I would like to…
Vinz
  • 5,997
  • 1
  • 31
  • 52
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
2 answers

Comma errors while using vim-syntastic plugin

When saving python files, vim-syntactic starts debugging and raises syntax errors (specifically commas), whether its in a list, dictionary, tuple etc. Here is an image after saving python file.
user669132
  • 189
  • 1
  • 10
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: 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