diff options
author | w0rp <w0rp@users.noreply.github.com> | 2016-10-25 16:02:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-25 16:02:47 +0100 |
commit | 60762d501872ec159c8851741f9435aa1bbf491b (patch) | |
tree | 7989e480c1a58b5a0456e370204eb054f57360ee /doc | |
parent | 222d9e69083c7f068714901bd163ca18b8450de3 (diff) | |
parent | 73c9a1f96539481536de56fa2bd4c005c1af15ed (diff) | |
download | ale-60762d501872ec159c8851741f9435aa1bbf491b.zip |
Merge pull request #143 from w0rp/better-buffer-cleanup
Stop jobs when buffers close
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale.txt | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index 17067617..16d55f6b 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -147,23 +147,6 @@ g:ale_linter_aliases *g:ale_linter_aliases* different set of linters from the type it is being mapped to. -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| @@ -575,6 +558,13 @@ ale#Queue(delay) *ale#Queue()* again from the same buffer +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()|. + + ale#linter#Define(filetype, linter) *ale#linter#Define()* Given a |String| for a filetype and a |Dictionary| Describing a linter configuration, add a linter for the given filetype. The dictionaries each |