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 runtime ale_linters/nim/nimcheck.vim
5 call ale#linter#Reset()
7 Execute(Parsing nim errors should work):
15 \ 'text': 'use {.base.} for base methods; baseless methods are deprecated',
22 \ 'text': 'identifier expected, but found ''a.barfoo''',
29 \ 'text': '''NotUsed'' is declared but not used',
30 \ 'code': 'XDeclaredButNotUsed',
37 \ 'text': 'with : character',
43 \ 'text': 'imported and not used: ''strutils''',
44 \ 'code': 'UnusedImport',
51 \ 'text': 'undeclared identifier: ''total''',
58 \ 'text': '''sum'' cannot be assigned to',
65 \ 'text': 'redefinition of ''getName''; previous declaration here: /nested/folder/foobar.nim(14, 6)',
70 \ ale_linters#nim#nimcheck#Handle(bufnr(''), [
71 \ 'Line with wrong( format)',
72 \ 'foobar.nim(8, 8) Warning: use {.base.} for base methods; baseless methods are deprecated [UseBase]',
73 \ 'foobar.nim(12, 2) Error: identifier expected, but found ''a.barfoo''',
74 \ '/nested/folder/foobar.nim(2, 5) Hint: ''NotUsed'' is declared but not used [XDeclaredButNotUsed]',
75 \ 'foobar.nim(12, 2) Error: with : character',
76 \ 'foobar.nim(1, 8) Warning: imported and not used: ''strutils'' [UnusedImport]',
77 \ 'foobar.nim(12, 9) Error: undeclared identifier: ''total''',
78 \ 'foobar.nim(14, 1) Error: ''sum'' cannot be assigned to',
79 \ 'foobar.nim(15, 1) Error: redefinition of ''getName''; previous declaration here: /nested/folder/foobar.nim(14, 6)',