summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorAlvin Chan <aschan@gmail.com>2018-12-31 14:29:42 -0700
committerAlvin Chan <aschan@gmail.com>2018-12-31 14:29:42 -0700
commit24fda01a0e50fedba1b3f893142e3da49c36d31b (patch)
tree84bf12937af69dd30ee8db033763cc8df918c80e /autoload
parent73ca1e71918a0b50b7bbcbed91857c3618ad93cc (diff)
downloadale-24fda01a0e50fedba1b3f893142e3da49c36d31b.zip
Add associated line text on ALEFindReferences results for TypeScript
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/references.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/references.vim b/autoload/ale/references.vim
index d00a1fa9..dc0b8df2 100644
--- a/autoload/ale/references.vim
+++ b/autoload/ale/references.vim
@@ -27,6 +27,7 @@ function! ale#references#HandleTSServerResponse(conn_id, response) abort
\ 'filename': l:response_item.file,
\ 'line': l:response_item.start.line,
\ 'column': l:response_item.start.offset,
+ \ 'match': trim(l:response_item.lineText),
\})
endfor