mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-07 02:11:05 +08:00
#2132 - lint and fix with ale#command#Run
A new function is added here which will later be modified for public use in linter and fixer callbacks. All linting and fixing now goes through this new function, to prove that it works in all cases.
This commit is contained in:
@@ -2669,9 +2669,9 @@ ale#command#ManageDirectory(buffer, directory) *ale#command#ManageDirectory()*
|
||||
|
||||
ale#command#ManageFile(buffer, filename) *ale#command#ManageFile()*
|
||||
|
||||
Given a buffer number for a buffer currently running some linting tasks
|
||||
and a filename, register a filename with ALE for automatic deletion after
|
||||
linting is complete, or when Vim exits.
|
||||
Given a buffer number for a buffer currently running some linting or fixing
|
||||
tasks and a filename, register a filename with ALE for automatic deletion
|
||||
after linting or fixing is complete, or when Vim exits.
|
||||
|
||||
If Vim exits suddenly, ALE will try its best to remove temporary files, but
|
||||
ALE cannot guarantee with absolute certainty that the files will be removed.
|
||||
@@ -2682,7 +2682,7 @@ ale#command#ManageFile(buffer, filename) *ale#command#ManageFile()*
|
||||
files and symlinks given to this function. This is to prevent entire
|
||||
directories from being accidentally deleted, say in cases of writing
|
||||
`dir . '/' . filename` where `filename` is actually `''`, etc. ALE instead
|
||||
manages directories separetly with the |ale#command#ManageDirectory| function.
|
||||
manages directories separately with the |ale#command#ManageDirectory| function.
|
||||
|
||||
|
||||
ale#engine#GetLoclist(buffer) *ale#engine#GetLoclist()*
|
||||
|
||||
Reference in New Issue
Block a user