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

How to limit size of Vim Syntastic location list window

Vim syntastic plugin pops up the errors and warnings location list and it needlessly consumes more screen space than needed for the list: How can I configure syntastic to open a location list window that has only enough lines to show the list?
Shane Voisard
  • 1,145
  • 8
  • 12
8
votes
2 answers

Can I keep syntastic from opening the Location List?

I work in a lot of legacy files that are huge and previous devs didn't always follow proper styles, so syntastic gives me a ton of linting errors that I don't care about right now. I put syntastc into passive mode and manually check the file then…
gignosko
  • 977
  • 1
  • 8
  • 12
8
votes
1 answer

Pylint Error when using metaclass

i try to fix all pylint errors and pylint warnings in a project. but i keep getting an error when i set a metaclass (https://www.python.org/dev/peps/pep-3115/). here is my example code: #!/usr/bin/env python3 class MyMeta(type): pass class…
linluk
  • 1,650
  • 16
  • 33
8
votes
4 answers

How to set up syntastic for vim?

So I git cloned the repository to ~/.vim/bundle and had pathogen installed. I can be sure pathogen works fine since my other plugins in bundle are all working fine. After googling for a while, it seems that syntastic should work out of box for c…
tgeng
  • 1,768
  • 2
  • 15
  • 20
8
votes
3 answers

Checking C# Syntax from the Command Line

Does anyone know of a way in the Microsoft .NET framework to check the syntax, and only the syntax, of a given C# file? For a little background, what I am interested in doing is setting up syntastic to check the syntax of .cs files. Out of the box,…
Michael
  • 1,306
  • 1
  • 12
  • 30
7
votes
2 answers

How to install vim syntastic without package manager?

On syntastic repo https://github.com/vim-syntastic/syntastic#installation, the only example they provide for installing syntastic is using pathogen. How should install it without pathogen or any package manager?
zer09
  • 1,507
  • 2
  • 28
  • 48
7
votes
1 answer

OmniSharp-VIM, OmniSharp-Roslyn, and dotnet core on Ubuntu 16.10 - Syntax checking not recognizing C# 6 and requires solution file

I am trying to set up my Ubuntu machine for dotnet core development. I've painstakingly installed Omnisharp-vim and set it to work with the OmniSharp-Roslyn server. I also have Syntastic and YouCompleteMe installed. I am getting syntax checking and…
Dale Alleshouse
  • 1,627
  • 2
  • 17
  • 24
7
votes
1 answer

GHC-mod looking for settings file in wrong directory

I use a number of Haskell plugins in my editor (Neovim), one of which is ghcmod-vim, which works together with syntastic to provide syntax checking as I write Haskell code. At one point, I had installed GHC for Mac OS X as a temporary workaround for…
Jules
  • 14,200
  • 13
  • 56
  • 101
7
votes
4 answers

Syntastic NASM Checker

So I've been doing some work in my Assembly class for college, and I use Vim as my primary code editor. I'm having a problem with Syntastic where I'm writing assembly for NASM, but Syntastic only wants to run the gcc error checker (which tells me…
emanguy
  • 71
  • 4
7
votes
3 answers

How to selectively disable checkers for certain file types when using syntastic in vim?

For example, HTML partial templates are being flagged with tons of errors but they are supposed to be fragments of a complete HTML doc.
Eno
  • 10,730
  • 18
  • 53
  • 86
7
votes
2 answers

Changing color of vim syntastic error window

I have installed syntastic on VIM to help me show errors in PHP code however with the current colorscheme/setting I have to following colors: As you can see it's very hard to read, I wonder if there is a way to change the color if this error window…
Martijn Smidt
  • 1,604
  • 1
  • 10
  • 10
7
votes
1 answer

Syntastic for Vim: What are the required lines in ~/.vimrc? (PHP error checking)

I find the documents frustrating. What are the basic lines I need to add to my config file to get it working?
stormist
  • 5,709
  • 12
  • 46
  • 65
7
votes
2 answers

enabling cpp header file checking with syntastic in vim

I just started using syntastic for vim, and I'm loving it so far, but I have one tiny issue. If the file extension is not cpp, running ":SyntasticCheck" does absolutely nothing. This is a problem, as I would like to run syntastic on header files…
Dan Cauley
  • 198
  • 1
  • 8
7
votes
2 answers

Vim Syntastic Java Unaware of Current Project Classes

Using Vim Syntastic with an android project. (e.g. com.myproject.project) It's not aware of classes declared within my project but outside of the current file. e.g. the following flags errors: import com.myproject.project.SomeClass; ... SomeClass…
lorean
  • 2,150
  • 19
  • 25
6
votes
2 answers

Cursor jump in Vim after save

I started to experience a strange behavior in Vim - when saving a file (:w) the cursor jumps to a specific location in a file. The location is constant and is different for different files, that is, it can be a beginning of a function etc, but if I…
valk
  • 9,363
  • 12
  • 59
  • 79
1 2
3
15 16