diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-10 13:22:59 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-10 13:25:37 +0100 |
commit | 4c9aa1c638ba228a5d97e0fcc4d39e00664c8f31 (patch) | |
tree | 6a1cc1ade83e91da6e1e6f32bc2815e833f658f1 /doc | |
parent | 7acfa72c0df87302a205c4a2d95b2a6a0f119857 (diff) | |
download | ale-4c9aa1c638ba228a5d97e0fcc4d39e00664c8f31.zip |
#74 - Document g:ale_buffer_loclist_map
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index ead69dda..d52f8d77 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -92,6 +92,23 @@ g:ale_linters *g:ale_linters* let g:ale_linters = {'javascript': []} < +g:ale_buffer_loclist_map *g:ale_buffer_loclist_map* + + Type: |Dictionary| + Default: `{}` + + This variable is used internally by ALE for tracking the warnings and + errors for a particular buffer. The dictionary maps a buffer number to + a |List| of |Dictionary| items in the format accepted by |setqflist()|, + with a minor addition of a `linter_name` for each object which describes + the linter which reported the warnings and errors. (A buffer may run + multiple linters in combination on the same filetype.) + + NOTE: This variable should not be modified outside of the plugin itself, + but can be read in other plugins whenever information about the current + errors and warnings ALE is reporting is needed. + + g:ale_lint_on_text_changed *g:ale_lint_on_text_changed* Type: |Number| |