Giter Site home page Giter Site logo

coala-syntastic's People

Contributors

aswna avatar cehoffman avatar cholewa1992 avatar daniel-walker avatar darcyparker avatar dbarnett avatar edwintorok avatar erszcz avatar euoia avatar jdonaldson avatar jrahm avatar julienxx avatar kaleb avatar kisielk avatar kongo2002 avatar kstep avatar lcd047 avatar mbedna avatar millermedeiros avatar mootoh avatar oryband avatar powerman avatar rbrown avatar rohanvb avatar scrooloose avatar technosophos avatar tomfogg avatar tpope avatar troydm avatar zenzike avatar

Watchers

 avatar

coala-syntastic's Issues

Current state of plugin

Installed syntastic by vim plug

:SyntasticInfo (this means coala is configured properly and in $PATH)

screen shot 2017-04-20 at 7 14 57 pm

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')
screen shot 2017-04-20 at 6 06 49 pm

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

errors

"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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.