Age | Commit message (Collapse) | Author |
|
The "ale#handlers#sh#GetShellType()" function currently falls back
to the file type without checking for buffer-local variables first.
This causes the function to return "sh" even when a script is known
by Vim to be a script of a more specific type (e.g., "bash").
The "ale#handlers#shellcheck#GetDialectArgument()" function then
erroneously uses this type even though a more fitting type should be
used instead. Files without a "#!" line will be of type "sh" even
though they may have a ".bash" suffix.
This commit fixes the problem by checking for buffer-local shell
type variables (set by Vim) before falling back to the file type.
|
|
|
|
|
|
:ALERename! now ignores errors for files that cannot be modified, and
modifies all other files.
|
|
'mvn' executable
|
|
|
|
Newer versions of pylint will now check your code as you type. Older
versions will still only check the file on disk.
Co-authored-by: Oliver Wiegers <oliver.wiegers@gmail.com>
|
|
|
|
Add an `ALECompletePost` event along with everything needed to make it
useful for its primary purpose: fixing code after inserting completions.
* `ALEFix` can now be called with a bang (`!`) to suppress errors.
* A new `ALELintStop` command lets you stop linting, and start it later.
|
|
|
|
A new command, `:ALEImport`, has been added, which lets you import words
at your cursor if a completion provider can provide a completion for
that word which includes some additional text changes.
|
|
|
|
|
|
Issue 2958: Addtional ^M characters on Windows
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`lint_file` can now be computed dynamically with a callback function,
which can return a deferred result, as per `ale#command#Run`. This
allows linters to dynamically switch between checking files on disk,
or checking code on the fly.
Some tests have been fixed on Windows.
|
|
|
|
|
|
|
|
Prettier does not use `.prettierignore` unless the current directory is the root where the `.prettierignore` file resides.
* Update Prettier tests
* Look for prettierignore to determine project root
|
|
|
|
|
|
|
|
|
|
|
|
Add dhall-format as a Fixer
|
|
|
|
|
|
ALE now converts paths from compile_commands.json files into absolute
paths and prefers matching against absolute file and directory names for
determining which flags to use for files. As a result, parsing
compile_commands.json to determine flags should work for a lot more C
and C++ projects.
|
|
|
|
ALE was incorrectly detecting completion results from servers such as
rust-analyzer as wanting to add import lines when additionalTextEdits
was present, but empty.
Now ALE only filters out completion results if the autoimport setting is
off, and one of the additionalTextEdits starts on some line other than
the current line. If any additionalTextEdits happen to be identical to
the change from completion anyway, ALE will skip them.
|
|
https://github.com/dhall-lang/dhall-lang
|
|
|
|
latexindent: Run fixer from stdin instead of a temporary file
|
|
ALE now supports mapping files between different systems for running
linters and fixers with Docker, in virtual machines, in servers, etc.
|
|
This is a better strategy as it avoids creating temporary files and the delay that follows
|
|
* Keep -iframework if present in parsed C/C++ flags
* Add test to make sure -iframework is parsed
Co-authored-by: Alex Wang <ts826848@gmail.com>
|
|
|
|
|
|
|
|
Fixes #3092 - Implement loading `@file` c arguments
|
|
|
|
|