aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Add missing options for j2lint (#5129)Cyril Roelandt13 days1-0/+72
| | | Closes: #5101
* Fix infinite autocompletion loop (#5130)Torben2026-05-281-0/+14
| | | | | | * Check for timeout while waiting for language server result * Return empty result if language server has no completion capabilities * Add test for OmniFunc timeout * Add documentation for timeout option
* Update instructions for humans and agentsw0rp2026-05-161-3/+18
|
* Close #4971 - Add support for ty via LSPw0rp2026-05-163-1/+77
|
* Close #5002 - Support getting g:ale_root as a Stringw0rp2026-05-151-4/+2
|
* Support for tex-fmt (#5127)Matheus Gabriel Werny2026-05-143-0/+26
| | | | | | | | | | | | * Support for tex-fmt Support for tex-fmt, https://github.com/WGUNDERWOOD/tex-fmt. * Remove file type plaintex Remove file type plaintex as tex-fmt is solely for LaTeX. See https://superuser.com/questions/208177/vim-and-tex-filetypes-plaintex-vs-tex for a distinction.
* Replace appveyor with GitHub actions (#5119)Horacio Sanson2026-05-122-62/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(tests): fix ale_c_build_dir_names being unset in tests (#5109) - Use ale#Set() to set the ale_c_build_dir_names variable. - Ensure SetUpLinterTest() is called before any Save commands in tests. - Add c.vim to runtime before non-linter tests are executed. - Remove workarounds in c.vim. * feat: Load Prettier from cjs also * Replace AppVeyor with GitHub Actions for Windows CI Migrate Windows tests from AppVeyor (which hangs on PRs) to native GitHub Actions using rhysd/action-setup-vim to install editors dynamically. - Add test_ale_windows job testing Vim 9.0, Neovim 0.7, and Neovim 0.8 on windows-latest, running in parallel with existing Linux CI - Set fail-fast: false so all matrix entries report results independently - Update run-tests.bat to accept VIM_EXE and VIM_HEADLESS env vars instead of hardcoding C:\vim\vim\vim80\vim.exe - Add -n -i NONE and --not-a-term flags to avoid E211 temp file errors caused by Windows 8.3 short name paths losing drive letters - Override TMP/TEMP to C:\tmp in CI to avoid 8.3 path mangling - Use mklink /J directory junction for C:\testplugin to avoid modifying 146+ test files that reference /testplugin/ paths - Update doc/ale-development.txt section 4.3 for the new setup - Remove AppVeyor badge from README.md - Delete .appveyor.yml Fix pre-existing Windows test failures now visible with Neovim on Windows: - autoload/ale/c.vim: ParseCompileCommandsFlags bufnr() fails when the buffer path has a drive letter but the compile_commands key does not. Add fallback path comparison using ale#path#RemoveDriveLetter() so exact file matches work regardless of drive letter presence. - autoload/ale/path.vim: FindNearestFile and FindNearestDirectory now return ale#path#Simplify() paths, fixing mixed slash separators on Windows that caused test_write_good.vader to fail. - test/smoke_test.vader: echo output has trailing \r on Windows. Change strip pattern from ' *$' to '[\r ]*$' in all TestCallback functions. - test/test_prepare_command.vader: &shellcmdflag on Windows is '/s /c' not '/c'. Use split(&shellcmdflag) in expected values so the test adapts to the actual default. - test/test_lint_file_linters.vader: Increase WaitForJobs timeout from 2000ms to 10000ms to prevent spurious timeouts on Windows CI runners. - test/test_writefile_function.vader: Dissociate buffer from temp file before deleting it to avoid E211 on Windows. * Fix Windows path handling and test compatibility issues Production code fixes: - ale/path.vim: Apply Simplify to buffer_filename in IsBufferPath to fix forward-slash vs backslash mismatch on Neovim Windows; handle .\ prefix - ale/c.vim: Use iterative key-matching via RemoveDriveLetter for both file_lookup and dir_lookup in ParseCompileCommandsFlags - ale/filename_mapping.vim: Normalize suffix separators when mapping target uses forward slashes (fixes mixed-separator paths on Windows) - cuda/nvcc.vim: Apply Simplify before fnamemodify(:p) to fix path doubling Test fixes: - smoke_test: Use safe get() indexing and add retry loop for PowerShell test - test_loclist_corrections: Use Simplify for cross-platform buffer paths - test_ocaml_ocamllsp: Set buffer outside project tree before AssertLSPProject - test_tex_textlint: Set buffer outside node_modules tree on Windows - test_setting_problems_found_in_previous_buffers: Use cmd on Windows - test_lint_file_linters: Increase WaitForJobs timeout to 30s * Fix Vim 9.0 tempname() format change and simplify PowerShell test Vim 9.0 changed tempname() to return a flat path (e.g. C:\tmp\VIMXXXXXXXX) instead of the nested C:\tmp\VIMxxx\NNN format. Using :h:h on the flat format resolves to the drive root, causing IsTempName() to match every path on the drive. This broke tslint handler tests, loclist_corrections, and setting_problems_found_in_previous_buffers tests. Fix s:temp_dir to detect when :h:h yields a root path and fall back to :h. Add GetTempBase() helper in test_format_command.vader with same logic. Simplify smoke_test PowerShell test to avoid multi-command chaining that produces unreliable output on Vim 9.0. * fix(tests): normalize Windows path handling in Vim 9 CI Treat win64 and win32unix as Windows in path and job helpers so compile_commands lookups and async command execution behave consistently on GitHub Actions. Normalize NVCC parsed filenames after absolute expansion to keep expected Windows paths stable in handler tests. * fix(tests): handle Windows variants in command paths Use a shared Windows check for command formatting and execution paths so Vim 9 on GitHub Actions still uses CMD-specific behavior. Apply the same check in filename mapping suffix normalization so Windows-style temporary and mapped paths are converted consistently in tests. * ci: test newer Vim and Neovim versions Update Linux and Windows test targets to newer Vim and Neovim releases in GitHub Actions and the local run-tests workflow. Refresh the Docker test image and helper scripts so the selected editor versions can be built and executed consistently across environments. * fix(tests): adapt checks for Neovim 0.12 and Python 3.12 - Replace deprecated imp with import.util in python tests. - Reorder ale.txt to match help files order. - Add lines to sign test to ensure there are enough lines for the signs. * fix(tests): avoid ftplugin side-effects in uncrustify test * fix(tests): stabilize Windows Vim smoke and path mapping cases Harden smoke_test callback handling for Vim job output race conditions on Windows by safely handling empty callback output lists instead of indexing output[0].\n\nMake disabling_ale assertions compare against a baseline message history entry so preexisting Vim startup messages do not cause false failures.\n\nUpdate path-mapping tests to account for Vim 9 Windows tempname layout changes and to validate filename-modifier behavior after full-path filename mapping is applied. * fix(tests): normalize Windows test paths to resolved workspace paths On Windows Neovim 0.10, test working directories can resolve to host checkout paths (for example D:\a\ale\ale) instead of container-style mount paths (for example C:\testplugin). Many tests compared absolute paths against g:dir-derived expectations and failed despite equivalent files.\n\nNormalize test directory handling in ale#test helpers by storing and using ale#path#Simplify(resolve(getcwd())), so expected paths match the same canonical form used by path discovery functions.\n\nAlso update tests that manually reassign g:dir from raw getcwd() and Gradle path assertions to use resolved/simplified paths, preventing regressions from mixed mount-path forms across Vim/Neovim and CI environments. * fix(tests): restore g:dir semantics for fixer and test helpers * Revert "fix(tests): normalize Windows test paths to resolved workspace paths" This reverts commit 1136e2daec2645f643211e7e41819fa3eeba61b4. * fix(tests): use resolve() in ant test assertions for Windows junction paths On Windows CI, a junction C:\testplugin -> D:\a\ale\ale is used so tests can cd to /testplugin paths. However, findfile() + fnamemodify(':p') resolves junction points to real paths, while g:dir holds the junction-based path. Fix the two ant test files to use resolve(g:dir) only in the specific assertions that compare paths returned by findfile()-based functions (ale#ant#FindProjectRoot, ale#ant#BuildClasspathCommand). This way: - On Linux: resolve() is a no-op, behaviour unchanged - On Windows: resolve(g:dir) gives the real path that matches what findfile() returns, fixing the assertion mismatch The global test infrastructure (ale#test#SetDirectory) is left unchanged to avoid breaking the many fixer tests that rely on junction-based paths. * Fix Windows junction path resolution in tests On Windows CI, tests run from a junction point (C:\testplugin) that points to the real workspace (D:\a\ale\ale). Functions like ale#path#FindNearestFile resolve junctions via findfile()/fnamemodify(':p'), returning the real path, while g:dir holds the junction path. Wrap expected path values with resolve() so junction paths are resolved to their real counterparts on Windows (resolve() is a no-op on Linux), making assertions match across both platforms. * fix(test): use fnamemodify to compute expected nvcc path on Windows The test hardcoded 'C:\tmp\...' for Windows paths, but GitHub Actions runners use D: drive. Use ale#path#Simplify(fnamemodify(..., ':p')) in expected values to mirror exactly what the handler produces, making the test drive-letter-agnostic. * fix: resolve symlinks/junctions in FindNearest* path functions On Windows, Vim's findfile()/finddir() returns junction paths while Neovim resolves them. This inconsistency causes test failures when comparing paths from these functions against g:dir (set via getcwd()). Add resolve() to FindNearestFile, FindNearestDirectory, and FindNearestFileOrDirectory so they always return canonical paths, making behavior consistent across Vim and Neovim on Windows. On Linux, resolve() is a no-op for non-symlinked paths. * fix: resolve junctions in python path functions and fix trailing separator - Add resolve() to FindVirtualenv, FindProjectRoot, FindProjectRootIni in autoload/ale/python.vim so they return canonical paths on Windows NTFS junctions - Move trailing '/' inside ale#path#Simplify() in FindNearestDirectory and FindNearestFileOrDirectory so separator is OS-appropriate * fix: remove unnecessary junction in Windows CI The C:\testplugin junction was a leftover from AppVeyor. It caused C: vs D: path mismatches when resolve() canonicalized paths. Running directly from the workspace eliminates the discrepancy. * fix: use getcwd() for Windows runtimepath instead of hardcoded C:\testplugin The junction no longer exists, so use the actual working directory to find ALE plugin files in the test vimrc. * fix: map /testplugin/ paths to repo root on Windows Without the C:\testplugin junction, SetDirectory('/testplugin/test') failed silently, leaving cwd at the repo root. Now on Windows, the /testplugin/ prefix is replaced with the actual repo root derived from the script's file path. * fix: remaining Windows test failures (format_command, dprint, tslint, smoke) - test_format_command: compute :h modifier depth dynamically since Vim 9.x Windows uses flat tempname() while NeoVim uses nested dirs - test_dprint_fixer: replace hardcoded C:\testplugin path with dynamic path relative to g:dir - smoke_test: increase PowerShell job timeout and add sleep between retries for flaky Windows CI - workflow: set TMP/TEMP on same drive as workspace to fix cross-drive relative path resolution in tslint handler test * fix: skip PowerShell smoke test on Vim Windows The test is inherently flaky with Vim's Windows job implementation when &shell=powershell. NeoVim handles it reliably and still tests this code path. * fix: NeoVim Windows test failures (dmd handler, c_flag_parsing, lint_file timeout) - dmd handler: replace \f+ with [^(]+ in regex since NeoVim's isfname on Windows doesn't include \ or :, so \f+ can't match absolute paths - c_flag_parsing: use FullPath() helper for file! commands and dict keys so NeoVim v0.10.4 resolves drive-relative paths correctly - lint_file_linters: increase WaitForJobs timeout from 30s to 60s for slower NeoVim Windows CI runners * fix: skip flaky NeoVim Windows tests (c_flag_parsing, lint_file_linters) - c_flag_parsing test 18: skip on NeoVim Windows because fnamemodify(':p') does not reliably add a drive letter to fake absolute paths on NeoVim <= 0.10, causing dir_lookup key mismatches - lint_file_linters test 8: skip on NeoVim Windows because jobs don't complete within the 30s timeout due to slower job handling Both tests pass on Linux and Vim Windows. TODO comments added to restore them once the underlying NeoVim Windows issues are resolved. * ci: update checkout githuh action to v6 * Preserve Vim 8.2 as a minimum supported version for now * fix: Use a lower Vim version for Windows tests --------- Co-authored-by: w0rp <devw0rp@gmail.com>
* feat(markdown): add rumdl server and fixer (#5115)Evan Chen2026-04-153-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | * feat: put in the main linter files * feat: add to registry * docs: add rumdl to docs * tests: vader tests * edit: actually split the options into two * style: make rumdl fixer test mimic markdownlint * fix: stupidity overwhelming * fix: actually let's look for pyproject too copied from tombi * i'm a buffoon fix wrong indentation * alignment ci is made for people like me * missed toc entry
* Add support for PerlNavigator (#5028)rymdbar2026-04-103-1/+50
| | | | | | | | | | | | | * Add support for PerlNavigator * fixup! Add support for PerlNavigator * fixup! fixup! Add support for PerlNavigator * fixup! fixup! fixup! Add support for PerlNavigator --------- Co-authored-by: cos <cos>
* Add support for LilyPond syntax (#5117)samb0t2026-04-103-0/+33
| | | | | | | | | | | | | | | | | | | | * Add support for LilyPond syntax See: https://lilypond.org/ * Fix alpha order of LilyPond * Add support for custom executable and options to lilypond linter Enhances the lilypond linter with configurable options: - Add g:ale_lilypond_lilypond_executable for custom lilypond binary path - Add g:ale_lilypond_lilypond_options for additional command-line flags - Refactor linter to use GetCommand() function for dynamic command building - Add linter tests covering configuration scenarios - Update documentation with usage examples and proper formatting --------- Co-authored-by: samb0t <sambottoni@gmail.com>
* Added support for harper in markdown files (#5104)Armand Halbert2026-03-283-0/+31
|
* support running solargraph via bundle (#5097)Evgeni Golov2026-02-171-2/+2
|
* doc goimport (#5093)yoan6672026-02-072-1/+26
|
* add option to lint diff buffers (#3185)blobmasterbrian2026-02-061-0/+11
| | | | | * add option to lint diff buffers * fix misaligned doc tag * update docs
* fix vale option (#5086)yoan6672026-01-251-5/+31
|
* Add pymarkdown fixer (#5045)Adrian Vollmer2025-12-211-6/+8
|
* Add ReScript support (#5072)John Jackson2025-12-213-0/+60
| | | | | This adds support for both rescript format and rescript-language-server. Closes https://github.com/dense-analysis/ale/issues/3335
* ALEFindReferences: add -fzf flag to show output in fzf (#5018)bretello2025-12-211-0/+16
| | | | | | | | | | | | * references: add ALEFindReferences -fzf option Allows using -fzf to show previews using fzf.vim. Includes: - add support for opening in bufers, splits, tabs and for adding matches quickfix - add support for -relative - add fzf preview `--highlight-line` option - add fzf.vim autoload module * tests: fix references tests for fzf support update
* add support for expert (#5036)pmonson7112025-11-223-1/+23
| | | | | | | | | | | | | | | | | | | | * add support for expert * Refactor elixir expert linter from feedback - Simplify configuration by removing executable lookup logic - Update documentation to reflect current configuration options - Rename test file and update assertions for the new configuration * default to expert for the lsp The install instructions included something I missed. It includes a global install, where the default executable is just `expert`. I'll default to that and review if I should should add a configuration for a global config. --------- Co-authored-by: Your Name <pmonson711@nfiindustries.com>
* Add SuperHTML linter for HTML (#5055)yoan6672025-11-223-0/+20
|
* tombi: support `toml_tombi_online` flag to control remote schema fetching ↵Ben Boeckel2025-11-221-0/+12
| | | | (#5032)
* Make documentation mirror custom_linting_rules (#5056)rymdbar2025-10-271-3/+5
| | | Co-authored-by: cos <cos>
* doc(slang): fix minor typo (#5047)Nicolas Derumigny2025-10-261-4/+4
|
* Add j2lint linter for Jinja2 templates (#5048)FouMalade2025-10-263-0/+6
| | | Co-authored-by: Nicolas SCHMAUCH <nic.schmauch@i-0330135t.ac-bordeaux.fr>
* Make phpactor configurable and documented (#5027)rymdbar2025-08-152-0/+31
| | | | | | | | | | Add php_phpactor_executable for phpactor and make it configurable through php_phpactor_config. When phpactor was first added in 3b8ff65, it had no configuration. Thus the documentation for it could be completely blank. That is why it now seems like an initial addition Co-authored-by: cos <cos>
* Correct typo in documented python command (#5030)rymdbar2025-08-151-1/+1
| | | Co-authored-by: cos <cos>
* Fix lua_language_server_config variable name (#5025)rymdbar2025-08-141-5/+10
| | | | | | | | | | | | Since added in commit f2a21c9, the implementation and documentation has differed in their naming. The latter has had an additional lua_-prefix. With this fix, setting the variable as documented actually results in a 'workspace/didChangeConfiguration' method being executed on the luals. Adding a reference to the documentation of which configurations the lsp supports doesn't hurt, so that's done too. Co-authored-by: cos <cos>
* Add checkov linter for cloudformationw0rp2025-08-143-0/+48
| | | | Co-Authored-By: jhandsel <64368631+jhandsel@users.noreply.github.com>
* linter/scala/metals: add build.mill as project root detect file (#5012)Woshiluo Luo2025-08-131-2/+2
| | | Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
* Add support for perl language server (#5003)rymdbar2025-08-133-0/+38
| | | | | | * Fix perl test case clean-up * Add support for perl language server Co-authored-by: cos <cos>
* Add support for verible: language server + fixer (#4994)Nicolas Derumigny2025-08-133-1/+79
| | | | * Add support for verible: language server + fixer * verible: add default flag, rules support for verible-ls
* Add support for fortitude (fortran linter) #5004w0rp2025-08-133-1/+25
| | | | | | | | | * add support for fortitude fortran linter * add fortitude fortran linter doc * Add a fortitude linter test file * docs listings are now alphabetically sorted Co-Authored-By: gomfol12 <info@marekb.de>
* add preview for ALEFindReferences (#5001)bretello2025-08-131-0/+14
| | | | | | * add preview for ALEFindReferences * ALEFindReferences: add -contents options and g:ale_references_show_contents option to configure default behaviour * tests: add tests for ALEFindReferences -contents feature * tests: update tsserver references tests with show_contents args
* add: support project-local `ansible-lint` (#5015)Yining2025-08-131-0/+34
| | | | Add support for project-local `ansible-lint` (via `uv`, `poetry`, and `pipenv`) when using the system-wide installed one is not possible or not desirable.
* Add configurable options support for redpen linter (#5006)Jason Weir2025-08-135-2/+48
| | | | | | | | | | | | | | | | | Redpen linter previously had hardcoded command-line options and duplicated linter definitions across all supported file types (asciidoc, markdown, review, rst, tex, text). This refactoring centralizes the linter definition and adds support for user-configurable options via g:ale_redpen_options. Key changes: - Created ale#handlers#redpen#DefineLinter() to eliminate code duplication - Added ale#handlers#redpen#GetCommand() to support configurable options - All file types now use shared configuration and command building - Added comprehensive test coverage for option handling - Updated documentation for all affected file types This allows users to customize redpen behavior with additional command-line options while maintaining backward compatibility and reducing maintenance overhead.
* tombi: support its LSP (#5022)Ben Boeckel2025-08-133-0/+55
| | | | * tombi: support its LSP * tombi: support linting and formatting
* doc/ale-rust: fix `rust-analyzer` typo (#5021)Ben Boeckel2025-08-131-2/+2
|
* Take Vim binaries from ALE release assetsw0rp2025-08-131-2/+2
|
* Add initialization_options to Sorbet LSP linter (#4954)Leo Correa2025-07-201-0/+17
| | | | | | | | | | * Add initialization_options to Sorbet LSP linter Using a predefined object will ensure that Sorbet always receives an object instead of an array. LSP defines the initializationOptions as anything. Unfortunately Sorbet is too strict and raises an error when anything other than an object is passed which causes the linter to fail * Document empty objects will prevent Sorbet from properly initializing
* Added 'build/Debug' and 'build/Release' to g:ale_c_build_dir_names (#4322) ↵F-Kearney2025-07-201-1/+1
| | | | (#5008)
* Remove pytest.ini from project detection filesw0rp2025-06-241-1/+1
| | | | | | | This breaks detecting the project root when editing tests with a nested pytest.ini file where other project files are available. The other files are so common we can just removes this entirely and test that we ignore it in one case.
* Fix golangci-lint fixer with version 2 (#4960)Horacio Sanson2025-05-171-1/+25
|
* [python/pyre.vim] use pyrefly executable (#4972)Oliver Albertini2025-05-173-0/+65
| | | | | | | | | https://github.com/facebook/pyrefly The pyre project has evolved to pyrefly. This replaces the pyre linter with a pyrefly one and removes the test files that were added for finding the project root in the old pyre world. Co-authored-by: Oliver Ruben Albertini <oliverruben@gmail.com>
* Add initial support for named-checkzone linter (#4961)Nikita Korolev2025-05-053-0/+36
| | | Co-authored-by: ds <ds@local>
* Adding Roc language linters and fixers. (#4966)Benjamin Block2025-05-053-0/+87
| | | | | | | * `roc_language_server` * `roc format` * `roc format annotate`
* Add support for the Lean 4 LSP, served by lake. (#4952)Benjamin Block2025-04-263-0/+33
|
* Add bash to the linter aliases (#4948)Jean-Philippe Guérard2025-04-161-0/+1
|
* Update ale_disable_lsp documentation to clarify optionsw0rp2025-03-291-3/+3
|
* Implement ale.queue for calling ale#Queue in Luaw0rp2025-03-271-4/+6
|
* Implement ale.pad in Luaw0rp2025-03-271-1/+2
|