summaryrefslogtreecommitdiff
path: root/test/test_checkingbuffer_autocmd.vader
AgeCommit message (Collapse)Author
2018-04-28Add some tests for IsCheckingBufferChris Marchesi
Adding a couple of tests to demonstrate how IsCheckingBuffer behaves during specific autocommand hooks: * At ALELintPre, no linters have actually executed yet, hence IsCheckingBuffer should be returning false. * ALEJobStarted, fires as early as reasonably possible after a job has successfully started, and hence hooking into IsCheckingBuffer here should return true. This distinction is important when using these two events during things like statusline refreshes, namely for "linter running" indicators.