Add end_col of matched forbidden word (#4556)

This commit is contained in:
LittleKey authored and GitHub committed 2023-07-24 10:37:49 +09:00
1 parent 7ba88ad343
commit 969f7b080f
2 files changed
+12 -6

No files matched your search

+5 -4
View File
@@ -2,12 +2,13 @@ Execute(The cspell handler should handle cspell output):
AssertEqual
\ [
\ {
\ 'lnum': 721,
\ 'col': 18,
\ 'lnum': 3,
\ 'col': 128,
\ 'end_col': 133,
\ 'type': 'W',
\ 'text': 'Unknown word (stylelint)',
\ 'text': 'Unknown word (Neovim)',
\ },
\ ],
\ ale#handlers#cspell#Handle(bufnr(''),
\ '/:721:18 - Unknown word (stylelint)'
\ '/:3:128 - Unknown word (Neovim)'
\)