summaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2020-08-07Merge pull request #3191 from mostfunkyduck/masterw0rp
Fixes govet linter for go 1.13+, with tests
2020-08-06fix cppcheck for 1.89+, and add column support (#3030)tsjordan-eng
* fix cppcheck for 1.89+, and add column support In cppcheck 1.89 the output changed to be more like GCC. This commit forces any version of cppcheck to output in that same format. This also allows for ALE to pick up the linter's column information * Add parameters to tests. Vader passes. * Fix c cppcheck for v1.89
2020-08-06Adds hdl_checker LSP support (#2804)Andre Souto
* Added hdl_checker support * Added hdl_checker tests HDL Checker searches for files when no config file is found, which could lead to very long searches when the user is not really on a project setting
2020-08-06Merge pull request #3123 from liskin/ccls-build-dirw0rp
ccls: Detect build dir and set compilationDatabaseDirectory
2020-08-06Fix #3266 Part 2: Fix Harderw0rp
2020-08-05Fix #3266 - Truncate hover messages for LSP toow0rp
2020-08-05Merge pull request #3196 from jeremija/autoimport-langserver-prw0rp
Add autoimport and rename support for langservers
2020-08-04#1532 - Display hover information on CursorHoldw0rp
2020-08-01Merge pull request #3259 from ↵Horacio Sanson
sblask/support-markdownlint-rules-with-multiple-slashes Support markdownlint rules with multiple slashes
2020-07-31Support markdownlint rules with multiple slashesSebastian Blask
2020-07-30fix: Replace hardcoded quotes with ale#Escapejhlink
2020-07-30fix: Find proj_options in same dir for astylejhlink
2020-07-30Support markdownlint 0.19.0 and 0.22.0Sebastian Blask
Fixes #2965
2020-07-29Merge pull request #3231 from jhlink/add-astyle-for-c-formattingHoracio Sanson
Add astyle for C/C++ formatting
2020-07-29style: Resolve lint issuejhlink
2020-07-29fix: Use ALE to reliably find project optionsjhlink
2020-07-28fix: Change _options to _project_optionsjhlink
2020-07-26fix: Remove explicit calls to file path in astylejhlink
2020-07-26doc: Add C++ desc in astyle entry in registryjhlink
2020-07-26feat: Add project option file support for astylejhlink
2020-07-26feat: Use stdin/redirection for astylejhlink
2020-07-25feat: Add cpp to registry.vimjhlink
2020-07-25feat: Add cpp support to astyle fixerjhlink
2020-07-21Merge pull request #3119 from hsanson/2269-ktlint-stdin-supportw0rp
Fix 2269 - use ktlint stdin.
2020-07-10doc: Remove c++ from astylejhlink
2020-07-10feat: Add astyle to fix/register.vimjhlink
2020-07-10feat: Add ALE fixer for astylejhlink
2020-07-08eslint: Use cwd from executable location to fix nested projects (#3222)Kevin Locke
* Split FindNearestExecutable from FindExecutable The path searching in ale#node#FindExecutable() will be useful for eslint. Refactor it into a separate function so it can be used without regard for the state of the _use_global and _executable variables. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * eslint: Set project root from local executable Using the nearest directory with node_modules does not work correctly for nested projects where the eslint dependencies are in the outer project. For example: https://github.com/dense-analysis/ale/issues/3143#issuecomment-652452362 Adopt the behavior of SublimeLinter, which runs from project_root determined by the presence of the eslint executable in node_modules/.bin (or eslint in dependencies/devDependencies of package.json, which we can add later as necessary). See [NodeLinter#find_local_executable]. [NodeLinter#find_local_executable]: https://github.com/SublimeLinter/SublimeLinter/blob/056e6f6/lint/base_linter/node_linter.py#L109 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2020-07-01Run ESLint fixer from project root, where possible (#3096)Kevin Locke
* Split eslint#GetCdString from eslint#GetCommand Move the code for finding the project root and building the cd string into a separate function so that it can be reused in the eslint fixer. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * Run ESLint fixer from project root dir To match the ESLint linter, as changed in 9ee57d43 (which I forgot to apply to the fixer, whoops). Fixes: #3094 Closes: #3095 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2020-06-11Update the internal ALE version to 2.7.0v2.7.0w0rp
2020-05-31Add test for LSP autoimportJerko Steiner
2020-05-31Add support for rename (documentChanges)Jerko Steiner
2020-05-31Fix completion with langserver (autoimport in go)Jerko Steiner
2020-05-25Fixes govet linter for go 1.13+, with testsmostfunkyduck
2020-05-20Fixes #3092 - Implement loading `@file` c argumentsStephen Robinson
2020-05-08Use a function to define shellcheck linters and vars needed, fixes testsIan2020
2020-04-30fix: don't append newline when buffer is noeol and nofixeolJames C. Davis
2020-04-28Fix linting issue - indentation incorrectIan2020
2020-04-28Moved common code to ale handlers, updated bats docIan2020
2020-04-18ccls: Detect build dir and set compilationDatabaseDirectoryTomas Janousek
Fixes #2621
2020-04-18Broken message in pycodestyle (or any other Linters whose name include ↵Yuto
'code') (#3114) * Swap substitution order for echoed message This prevents 'code' string in liter_name to be substituted by accident. Linters including pycodestyle have been affected by this problem. * Add test for linter whose name contains 'code' Test for c525db8cb4088d02448c5ddcf4a80ffa028c3181
2020-04-18Fix 2269 - use ktlint stdin.Horacio Sanson
Use stdin flag instead of temporary files. This allows ktlint to work with .editorconfig files.
2020-04-17Merge pull request #2823 from jeremija/do-not-save-on-autoimportw0rp
Do not save after ALERename and ALEOrganizeImports
2020-04-17Merge pull request #3050 from StarryLeo/fix-vim-sign-priority-patch-checkHoracio Sanson
Fix vim sign priority patch check
2020-04-15Closes #3019 - Implement default navigationw0rp
Default navigation for commands that jump to new locations has been implemented with the `ale_default_navigation` variable, and all commands that jump to locations now support `-tab`, `-split`, or `-vsplit` arguments for overriding the default navigation behavior.
2020-04-15Fix tslint fixer not working issue (temporary file not found)Dalius Dobravolskas
2020-03-15Fix vim sign priority patch checkStarryLeo
With Vim 8.2 released, the previous check method is not accurate enough.
2020-03-12Fix 2816 - Standard fix does not work.Horacio Sanson
The standard linter --fix fails if the file being input is not relative to the project root (https://github.com/standard/standard/issues/1384). This MR attempts to fix this by changing the command so the input file is relative to the project root and the output is to a temporary file. Preliminary tests with toy javascript projects seem to indicate this works fine.
2020-03-11Fixes #2982 - Implement g:ale_exclude_highlightsw0rp
Particular highlights can now be excluded by providing Lists of regular expressions.
2020-03-04Refactor the "s:LoadArgCount()" function (#3025)w0rp
* Refactor the "s:LoadArgCount()" function Previously, this function would always set "v:errmsg" on the first call with a given function. This is because autoloaded functions are not defined on the first call. A number of improvements have been made: - a useless local function ("l:Function") is removed - the "execute()" builtin captures the output, instead of ":redir" - a ":try" block handles the case where a function is not defined - a useless ":if" is removed since ":redir" always defines the var - confusing quoting is re-written (remove double "'" chars) Fixes: #3021