summaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2020-11-14Support for LSP/tsserver Code Actions (#3437)Dalius Dobravolskas
* 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.
2020-11-14Merge branch 'master' of github.com:dense-analysis/ale into dhalltoastal
2020-11-03Add -imacros to C flagsManoel Brunnen
2020-11-02Move the test for buffer-local variablesJason Franklin
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.
2020-11-02Use the proper term for the "#!" lineJason Franklin
2020-11-02Remove a noise commentJason Franklin
2020-10-23feat: add autoimport fixerLyz
2020-10-23Add ormolu fixer.David Wood
This commit adds a fixer for the Haskell language, ormolu (https://github.com/tweag/ormolu). Signed-off-by: David Wood <david@davidtw.co>
2020-10-19add sbt as a suggested filetype for scalafmt fixerStephenWithPH
2020-10-15#3332 Implement :ALERename! for ignoring errorsw0rp
:ALERename! now ignores errors for files that cannot be modified, and modifies all other files.
2020-10-15Update FindProjectRootIni with poetry.lock and pyproject.tomlecly
2020-10-03Use stdin/stdout to communicate with gofmtAndrey Popp
2020-09-30Add maven helper file; use maven wrapper if available instead of global ↵fenuks
'mvn' executable
2020-09-25dhall aliastoastal
2020-09-18Improves fixer performance for large buffersŁukasz Woźniak
2020-09-14Collapse spaces and lines in the completion menu.Raphael Nepomuceno
2020-09-14addressing missing docs + cleaning up older Dhall filestoastal
2020-09-14Merge branch 'master' into dhalltoastal
2020-09-09Bump the ALE version to 3.0.0v3.0.0w0rp
2020-09-09Close #2522 - Check pylint on the flyw0rp
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>
2020-09-09Remove unnecessary length check.Christian Keil
2020-09-09Fix format linting error.Christian Keil
2020-09-09Fix handling of ranges at file end.Christian Keil
2020-09-08Close #3003 - Show ignored linters in :ALEInfow0rp
2020-09-08Close #3333 - Add an ALECompletePost eventw0rp
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.
2020-09-08merge master -- apparently someone else added dhall?toastal
2020-09-07Fix a completion errorw0rp
2020-09-06Close #3268 - Implement :ALEImportw0rp
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.
2020-09-05Fix #3183 - Escape filename characters from LSP/tsserverw0rp
2020-09-04Fix #3322 - Apply rename changes correctlyw0rp
2020-08-31Merge pull request #3078 from jgehrig/jg-issue2958w0rp
Issue 2958: Addtional ^M characters on Windows
2020-08-29Close #3205 - Avoid inserting completions by defaultw0rp
2020-08-29Fix #2971 - Disable automatic completion while 'paste' is activew0rp
2020-08-29Fix #3247 - Use --always-make for make -n by defaultw0rp
2020-08-29Add a missing `augroup END` linew0rp
2020-08-29Improved macro handling in gccKimplul
2020-08-29#3319 - Try to modify buffers later for ALEFixw0rp
2020-08-28Close #3325 - Apply new formatting where possiblew0rp
2020-08-28#3325 - ale#path#BufferCdString now generates %s:hw0rp
2020-08-28Close #3285 - lint_file is now dynamicw0rp
`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.
2020-08-28Close #3309 - Add b:ale_lint_delayw0rp
2020-08-28Fix #3323 - Set default for g:ale_filename_mappingsw0rp
2020-08-28#3324 - Enable rls by defaultw0rp
2020-08-28Set prettier working directory to where .prettierignore is (#3101)Sorin Iclanzan
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
2020-08-27Fix #3319 - Force modifications to buffersw0rp
2020-08-27Fix #3318 - Escape macros when parsing C flagsw0rp
2020-08-27Fix C flag parsing and tests on Windowsw0rp
2020-08-27#3318 Refactor C flag parsing to set up for quoting argumentsw0rp
2020-08-27#3266 - Catch echo visual selection errorsw0rp
2020-08-27Merge pull request #3310 from pbrisbin/masterw0rp
Add dhall-format as a Fixer