vim-syntastic / syntastic

Syntax checking hacks for vim
Do What The F*ck You Want To Public License
11.3k stars 1.14k forks source link

update dartanalyzer.vim to use darts analysis server #1421

Open jevonearth opened 9 years ago

jevonearth commented 9 years ago

Currently, https://github.com/scrooloose/syntastic/blob/master/syntax_checkers/dart/dartanalyzer.vim executes the dartanalyzer command. This approach makes writes slow, as the dartanalyzer starts cold on every invocation.

Dart now has an analysis server, that is much faster thanks to caching. The spec is here:

http://htmlpreview.github.io/?https://github.com/dart-lang/bleeding_edge/blob/master/dart/pkg/analysis_server/doc/api.html

This is the same server that all IDEs will eventually use.

lcd047 commented 9 years ago

Sure, working pull requests are welcome.