#817 Add commands for toggling ALE for only the current buffer
This commit is contained in:
parent
ea3a8e3c62
commit
5fc2b98b73
5 changed files with 188 additions and 27 deletions
|
@ -224,6 +224,10 @@ command! -bar ALEDetail :call ale#cursor#ShowCursorDetail()
|
|||
command! -bar ALEToggle :call ale#toggle#Toggle()
|
||||
command! -bar ALEEnable :call ale#toggle#Enable()
|
||||
command! -bar ALEDisable :call ale#toggle#Disable()
|
||||
" Commands for turning ALE on or off for a buffer.
|
||||
command! -bar ALEToggleBuffer :call ale#toggle#ToggleBuffer(bufnr(''))
|
||||
command! -bar ALEEnableBuffer :call ale#toggle#EnableBuffer(bufnr(''))
|
||||
command! -bar ALEDisableBuffer :call ale#toggle#DisableBuffer(bufnr(''))
|
||||
|
||||
" A command for linting manually.
|
||||
command! -bar ALELint :call ale#Queue(0, 'lint_file')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue