rohanvb / coala-syntastic Goto Github PK
View Code? Open in Web Editor NEWLicense: Do What The F*ck You Want To Public License
License: Do What The F*ck You Want To Public License
Installed syntastic
by vim plug
:SyntasticInfo
(this means coala
is configured properly and in $PATH)
Note: I just added the vimscript in the syntastic_checkers/python/
directory, we can change the file hierarchy later.
relevant ~/.vimrc
:
call plug#begin()
Plug 'RohanVB/coala-syntastic'
call plug#end()
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_python_checkers = ['coala']
and when we try to force it from vim to test with default .coafile
placed in root by :echo system ('coala')
Update: :SyntasticCheck coala
is the command to run it explicity, which doesn't seem to be giving output, even though coala
runs for a few secs (same when saving & opening file)
Guide for writing script for syntax checkers
Configuration details are available in syntastic.txt on their repo.
Relevant section: 5.3. Configuring specific checkers
"testme2.py" 2L, 35C
Error detected while processing function <SNR>22_VimEnterHook[7]..<SNR>22_UpdateErrors[15]..<SNR>22_CacheErrors[31]..21[7]..SyntaxCheckers_python_coala
_IsAvailable[10]..syntastic#util#versionIsAtLeast[1]..syntastic#util#compareLexi:
line 2:
E712: Argument of get() must be a List or Dictionary
Press ENTER or type command to continue
Error detected while processing function <SNR>22_VimEnterHook[7]..<SNR>22_UpdateErrors[15]..<SNR>22_CacheErrors[31]..21:
line 7:
E171: Missing :endif
Press ENTER or type command to continue
Error detected while processing function <SNR>22_VimEnterHook[7]..<SNR>22_UpdateErrors[15]..<SNR>22_CacheErrors:
line 31:
E171: Missing :endif
Press ENTER or type command to continue
Error detected while processing function <SNR>22_VimEnterHook[7]..<SNR>22_UpdateErrors:
line 15:
E171: Missing :endif
Press ENTER or type command to continue
Error detected while processing function <SNR>22_VimEnterHook:
line 7:
E171: Missing :endif
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.