ale/autoload/ale
Chris Marchesi b7996803c9
Add ALEJobStarted User autocommand event
The ALELintPre and ALELintPost autocommand events are currently being
used by lightline-ale to refresh the status line and check the linter
status for a current buffer. One of the plugin's checks looks to see if
linters are currently running, via ale#engine#IsCheckingBuffer(). This
currently only works partially in certain situations. In my particular
case, working with Go files, this only seems to function properly when a
file is initially opened. Saving a file does not correctly update the
status.

This seems to be due to the fact that ALELintPre actually runs before
any jobs are carried out, making it plausible that hooking into
ALELintPre for the purpose of checking to see if there are any currently
running linters for a buffer is unreliable as it would be prone to
pretty obvious race conditions.

This adds a new User autocommand, ALEJobStarted, that gets fired at the
start of every new job that is successfully run. This allows a better
point to hook into checking the linter status of a buffer using
ale#engine#IsCheckingBuffer() by ensuring that at least one job has
started by the time IsCheckingBuffer is run.
2018-04-27 15:40:02 -07:00
..
completion Close #1162 - Implement completion support with LSP servers 2018-04-22 12:28:19 +01:00
fix add perltidy fixer 2018-04-21 22:09:38 +09:00
fixers add perltidy fixer 2018-04-21 22:09:38 +09:00
gradle Kotlin and general Gradle support. (#745) 2017-07-10 23:03:36 +01:00
handlers Revert "#1277 Try to get eslint_d to run the right version of eslint" 2018-04-13 21:02:56 +01:00
lsp #1428 Start implementing LSP hover support 2018-04-22 22:00:25 +01:00
autocmd.vim Move autocmd commands out of the toggle file, to improve load times 2018-04-23 10:16:48 +01:00
balloon.vim Fix #1404 - Do not show balloons when g:ale_set_balloons is 0. Add b:ale_set_balloons 2018-03-25 12:57:08 +01:00
c.vim Extended unit tests + simplified parsing algoritme #1167 2018-03-27 10:18:24 +02:00
command.vim Fix typos 2017-10-03 01:11:54 +09:00
completion.vim Close #1162 - Implement completion support with LSP servers 2018-04-22 12:28:19 +01:00
cursor.vim Allow the cursor messages to be disabled while Vim is running 2017-12-19 14:43:24 +00:00
debugging.vim Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00
definition.vim Implement a preview window for selecting locations to open 2018-04-22 15:53:01 +01:00
engine.vim Add ALEJobStarted User autocommand event 2018-04-27 15:40:02 -07:00
events.vim #1501 Pass the buffer number from BufWritePost on to ale#fix#Fix 2018-04-13 20:59:05 +01:00
filetypes.vim #283 Fix linting buffers with no filename, by creating a filename with a guess for the file extension 2017-02-13 10:36:38 +00:00
fix.vim Add information that ALEFix can now accept arguments 2018-04-18 02:28:17 +02:00
gradle.vim Get more of the tests to pass on Windows 2017-10-23 01:26:31 +01:00
highlight.vim Fix #1205 Do not add line highlights if the groups do not exist 2017-12-07 23:25:17 +00:00
history.vim Fix #876 - Save history in a separate buffer variable so history works when linting is disabled 2017-08-25 22:22:26 +01:00
hover.vim #1428 Show multiline hover messages, and document the new command 2018-04-24 21:03:06 +01:00
job.vim Fix #1495 - Fall back to /bin/sh when shell=pwsh 2018-04-12 21:01:35 +01:00
linter.vim #1278 Allow linters to be defined pretty much anywhere 2018-04-24 21:48:33 +01:00
list.vim Option to open lists vertically (#1381) 2018-03-02 20:22:29 +00:00
loclist_jumping.vim Simplify the loclist jumping code a little 2017-08-13 13:06:22 +01:00
lsp.vim Add a command for stopping all LSP clients 2018-03-06 10:23:55 +00:00
node.vim Fix #895 - Run Node.js scripts with node.exe instead of node on Windows 2017-08-31 13:12:24 +01:00
path.vim #1431 Normalize paths when checking for temporary paths on Windows 2018-03-18 20:39:50 +00:00
pattern_options.vim #1095 Cache the sorting of patterns for g:ale_pattern_options 2017-11-11 14:26:54 +00:00
preview.vim Implement a preview window for selecting locations to open 2018-04-22 15:53:01 +01:00
python.vim Add support for Vritual Env folder called venv 2017-12-18 09:33:11 +00:00
references.vim Add support for finding references using LSP servers or tsserver 2018-04-22 19:49:30 +01:00
ruby.vim Ban !=# and !=? from the codebase 2017-08-11 00:31:42 +01:00
semver.vim Simplfy semver handling and share the semver version cache across everything 2017-11-09 23:42:54 +00:00
sign.vim Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
statusline.vim Satisfy my own checks 2018-03-03 18:13:57 +00:00
test.vim Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
toggle.vim Move autocmd commands out of the toggle file, to improve load times 2018-04-23 10:16:48 +01:00
uri.vim #517 Add more code LSP support which makes the tssserver linter behave more like the LSP linters 2017-07-26 10:37:37 +01:00
util.vim #1428 Show multiline hover messages, and document the new command 2018-04-24 21:03:06 +01:00