diff options
author | jwilliams108 <jwilliams108@hotmail.com> | 2016-10-06 20:21:29 +1100 |
---|---|---|
committer | jwilliams108 <jwilliams108@hotmail.com> | 2016-10-06 20:21:29 +1100 |
commit | 63bed5368c1b9a01d9ff4a15455f2f34723d1a1b (patch) | |
tree | ae28ec4adff8bfb3a4d76cdc6d2b5c60a4eb1a88 /ale_linters/javascript | |
parent | 192bf17e9268824c948a5b9c5bb61c7520ea47d8 (diff) | |
download | ale-63bed5368c1b9a01d9ff4a15455f2f34723d1a1b.zip |
correctly parse eslint warning type
Diffstat (limited to 'ale_linters/javascript')
-rw-r--r-- | ale_linters/javascript/eslint.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/javascript/eslint.vim b/ale_linters/javascript/eslint.vim index e31a5b15..28e61ea9 100644 --- a/ale_linters/javascript/eslint.vim +++ b/ale_linters/javascript/eslint.vim @@ -23,7 +23,8 @@ function! ale_linters#javascript#eslint#Handle(buffer, lines) endif let text = l:match[3] - let marker_parts = l:match[4] + let marker = l:match[4] + let marker_parts = split(marker, '/') let type = marker_parts[0] if len(marker_parts) == 2 |