summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ale_linters/javascript/eslint.vim3
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