From 37f2f7043945b9e3a4567e39bfdd3abce5a87f57 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 15 Nov 2017 09:16:26 +0000 Subject: [PATCH] Update the documentation for GetLoclist --- doc/ale.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/ale.txt b/doc/ale.txt index 7da027b..9947d09 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1700,9 +1700,11 @@ ale#engine#EscapeCommandPart(command_part) *ale#engine#EscapeCommandPart()* ale#engine#GetLoclist(buffer) *ale#engine#GetLoclist()* - Given a buffer number, this function will rerurn the list of warnings and - errors reported by ALE for a given buffer in the format accepted by - |setqflist()|. + Given a buffer number, this function will return the list of problems + reported by ALE for a given buffer in the format accepted by |setqflist()|. + + A reference to the buffer's list of problems will be returned. The list must + be copied before applying |map()| or |filter()|. ale#engine#ManageFile(buffer, filename) *ale#engine#ManageFile()*