Last active
August 29, 2015 14:06
-
-
Save openmailbox/1fc1eca3dd000d6e457e to your computer and use it in GitHub Desktop.
If you're sick of syntastic taking forever to check your dart files, make sure you have vim-dispatch (https://github.com/tpope/vim-dispatch) installed and stick this in your vimrc. Doesn't help the startup time of dartanalyzer, but at least your main thread won't block.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" dart setup | |
autocmd FileType dart set errorformat+=%.%#\\\|%.%#\\\|%.%#\\\|%f\\\|%l\\\|%c\\\|%.%#\\\|%m | |
autocmd FileType dart set makeprg=dartanalyzer\ --machine\ % | |
autocmd BufWritePre *.dart Make | |
let g:syntastic_mode_map = { "mode": "active", | |
\ "passive_filetypes": ["dart"] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment