mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-27 22:41:10 +08:00
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:
@@ -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",',
|
||||
|
||||
Reference in New Issue
Block a user