Merge pull request #1142 from rhysd/redpen-ext

* redpen support for asciidoc, reST, LaTeX and Re:VIEW
* redpen: fix start column
* add redpen as text linter
This commit is contained in:
w0rp
2017-11-17 16:34:01 +00:00
committed by GitHub
10 changed files with 89 additions and 39 deletions

View File

@@ -9,7 +9,7 @@ Execute(redpen handler should handle errors output):
\ [
\ {
\ 'lnum': 1,
\ 'col': 9,
\ 'col': 10,
\ 'end_lnum': 1,
\ 'end_col': 15,
\ 'text': 'Found possibly misspelled word "plugin". (Spelling)',
@@ -22,7 +22,7 @@ Execute(redpen handler should handle errors output):
\ 'type': 'W',
\ },
\ ],
\ ale_linters#markdown#redpen#HandleErrors(bufnr(''), [
\ ale#handlers#redpen#HandleRedpenOutput(bufnr(''), [
\ '[',
\ ' {',
\ ' "document": "test.md",',
@@ -57,7 +57,7 @@ Execute(redpen handler should handle errors output):
Execute(redpen handler should no error output):
AssertEqual
\ [],
\ ale_linters#markdown#redpen#HandleErrors(bufnr(''), [
\ ale#handlers#redpen#HandleRedpenOutput(bufnr(''), [
\ '[',
\ ' {',
\ ' "document": "test.md",',