From 63bed5368c1b9a01d9ff4a15455f2f34723d1a1b Mon Sep 17 00:00:00 2001 From: jwilliams108 Date: Thu, 6 Oct 2016 20:21:29 +1100 Subject: correctly parse eslint warning type --- ale_linters/javascript/eslint.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ale_linters') 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 -- cgit v1.2.3