cairo support (#4256)

* cairo support

* supported languages txt

* add cairo to ale.txt
This commit is contained in:
0xHyoga
2022-07-22 06:05:08 +02:00
committed by GitHub
parent 5ef26c32da
commit 0ea53870b6
7 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Before:
call ale#assert#SetUpLinterTest('cairo', 'starknet')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
AssertLinter 'starknet-compile', 'starknet-compile %s'
Execute(Extra options should be supported):
let g:ale_cairo_starknet_options = '--config'
AssertLinter 'starknet-compile', 'starknet-compile --config %s'