All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 call ale#test#SetDirectory('/testplugin/test/handler')
5 runtime ale_linters/openscad/sca2d.vim
8 call ale#test#RestoreDirectory()
9 call ale#linter#Reset()
11 Execute(The openscad handler should handle sca2d output):
15 \ 'filename': ale#path#Simplify(g:dir . '/awesome_project.scad'),
19 \ 'text': 'Module `corcle` used but never defined.',
20 \ 'detail': 'E2002: Module `corcle` used but never defined.',
23 \ ale#handlers#openscad#SCA2D_callback(bufnr(''), [
24 \ 'awesome_project.scad:7:42: E2002: Module `corcle` used but never defined.',
26 \ 'SCA2D message summary',
27 \ '=====================',
38 \ 'filename': ale#path#Simplify(g:dir . '/awesome_project.scad'),
42 \ 'text': 'Cannot read file due to syntax error: - No terminal matches ''}'' in the current parser context',
43 \ 'detail': 'F0001: Cannot read file due to syntax error: - No terminal matches ''}'' in the current parser context',
46 \ ale#handlers#openscad#SCA2D_callback(bufnr(''), [
47 \ 'awesome_project.scad:1:1: F0001: Cannot read file due to syntax error:',
48 \ ' - No terminal matches ''}'' in the current parser context, at line 1 col 37',
50 \ ' - translate([ 0, 0, 0 ]) { circle(10) }',
52 \ ' - Expected one of: ',
56 \ ' - * FUNC_CALL_NAME',
64 \ ' - * INTERSECTION_FOR',
66 \ 'If you believe this is a bug in SCA2D please report it to us.',
69 \ 'SCA2D message summary',
70 \ '=====================',