Age | Commit message (Collapse) | Author |
|
Show tsserver hints/suggestions in Ale.
|
|
Enable ktlint fixer for kotlin files.
|
|
Revert "Improves fixer performance for large buffers"
|
|
* Add nvim floating window hover support
* Add configuration for float to replace preview
* preview#ShowFloating: qualify local variables
* Configure floating preview usecases individually
Also:
* Extract floating preview to its own file.
* Ignore 'stay_here' option. Moving into the floating preview window
seems confusing at best.
* Re-use existing floating preview window if it's still up.
* Flush out floating preview documentation.
* Watch cursor position changes per window
Floating previews open a new window, so when that window is written to,
it moves briefly there at a different position than the original window.
This makes repeated positions detected when positions are tracked at a
s: level. Instead, we change the variable to window scoped, which only
fires a message if the cursor has changed from the last position in
*that window*.
* g:ale_floating_preview cleanup
* floating_preview: add ALEDetail tests
* Fix fecs test missing runtime call
* Add ALEHover floating preview tests
Co-authored-by: Jan-Grimo Sobez <jan-grimo.sobez@phys.chem.ethz.ch>
|
|
Add linter for Inko
|
|
codefix: Fix LSP MenuCallback invocation (E119, not enough args)
|
|
Update `ale#python#FindProjectRootIni` with poetry.lock and pyproject.toml
|
|
suggest scalafmt for sbt
|
|
|
|
Make isort fixer recognize auto_pipenv flag
|
|
This adds a linter for Inko (https://inko-lang.org/). The linter makes
use of Inko's own compiler, and a newly introduced --check flag to only
check for errors; instead of also compiling source code.
|
|
|
|
|
|
Use stdin/stdout to communicate with gofmt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fix 3103 - add shellcheck shell directive detection.
Searches for shellcheck shell directive to detect dialects for scripts
that do not have shebang.
* Change order of detection of shellcheck dialect
In a situation where the filetype can be wrong (example: something.sh
which is written in bash dialect) and has no hash-bang (since it is
meant to be sourced) then the override specified within the script will
be ignored.
It probably is the most right thing to do if the script author has added
a specific directive; it should trump everything else.
Co-authored-by: Horacio Sanson <horacio@allm.inc>
Co-authored-by: Dino Korah <dino.korah@redmatter.com>
|
|
feat: add autoimport fixer
|
|
Add ormolu fixer.
|
|
* Taken from phpcs. add add_php_phpcbf_options #3382
* Updated docs for php_phpcbf_options #3382
* Added tests #3382
|
|
|
|
ALE now just modifies every open buffer for rename and actions, and sets
up a one-time use BufEnter event to reload buffers that are changed so
you don't have to think about what to do with changed buffers.
|
|
Improves fixer performance for large buffers
|
|
Collapse spaces and lines in the completion menu.
|
|
|
|
|
|
For linters/tserver and handlers/eslint: look for node packages in .yarn/sdks as well
|
|
|
|
|
|
|
|
Code actions and ALERename now appear in the right click context menu
for GVim by default.
|
|
|
|
|
|
* Added tsserver and LSP code action support.
* tsserver refactors support added.
* Handling special case when new text is added after new line symbol.
* ale#code_action#ApplyChanges simplified.
* Initial attempt on LSP Code Actions.
* workspace/executeCommand added.
* Some null checks added.
* Add last column to LSP Code Action message.
* Pass diagnostics to LSP code action.
Previously ApplyChanges code was applied from top-to-bottom that required
extra parameters to track progress and there was bug. I have changed code
to bottom-to-top approach as that does not require those extra parameters
and solved the bug.
Tested with typescript-language-server and it is working.
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit adds a fixer for the Haskell language, ormolu
(https://github.com/tweag/ormolu).
Signed-off-by: David Wood <david@davidtw.co>
|
|
|