summaryrefslogtreecommitdiff
path: root/test/test_ale_info.vader
AgeCommit message (Collapse)Author
2023-09-08#4454 Clean up root test directory testsw0rp
Combine cases into smaller tests of tests and remove tests we no longer need. Linter tests have been moved to where they should be.
2023-09-06Close #3368 - Supercharge :ALEInfow0rp
Make a series of sweeping changes to make :ALEInfo more useful. 1. Deprecate :ALEInfoToClipboard and support :ALEInfo -clipboard 2. Permit :ALEInfo -clip as a shorthand for :ALEInfo -clipboard 3. Support :ALEInfo -preview to render in the preview window 4. Support :ALEInfo -echo for the classic :ALEInfo mode 5. Change the default mode to 'preview', and make it configurable 6. Add syntax highlighting for ALEInfo in preview mode 7. Add a convenience to look up documentatation that explains itself 8. Don't show an empty 'Linter Variables' section
2023-01-29diagnostics: support sending ALE output to Neovim's diagnostics API (#4345)Ben Boeckel
Support replacing ALE's display of problems with sending problems to the Neovim diagnostics API. :help g:ale_use_neovim_diagnostics_api Co-authored-by: David Balatero <dbalatero@users.noreply.github.com> Co-authored-by: Georgi Angelchev <angelchev@live.co.uk> Co-authored-by: w0rp <devw0rp@gmail.com>
2022-12-25Close #4397 - Add human-readable values for g:ale_virtualtext_cursorw0rp
2021-03-01#3599 - Use ale_root instead of ale_lsp_rootw0rp
The `ale_lsp_root` setting is now deprecated, and `ale_root` should be used instead. The setting will be used for both setting the root easily for LSP linters, and for running other linters over whole projects.
2020-09-08Close #3003 - Show ignored linters in :ALEInfow0rp
2019-09-01Add g:ale_sign_highlight_linenr (#2678)BlahGeek
* add g:ale_sign_highlight_linenr * Fix tests. Change option default value * Rename ale_sign_highlight_linenr to ale_sign_highlight_linenrs * Default ale_sign_highlight_linenrs to 0
2019-08-12aleinfo global options (#2686)richyfish
* added omitted global variables which was breaking this test when run standalone * invert logic for s:GetLinterVariables excluding disabled linters, so that linter global options can appear in output * additional tests for s:GetLinterVariables for linter global options
2019-06-10Lint on InsertLeave, not in insert mode by defaultw0rp
b:ale_lint_on_insert_leave is now supported as tests need it. These defaults are saner and cause fewer issues for users by default.
2019-05-21Stop a test from failing randomlyw0rp
2019-01-26Add additional ways to detect LSP project rootbrian m. carlson
Currently, we detect the linter root based on a variety of techniques. However, these techniques are not foolproof. For example, clangd works fine for many things without a compile_commands.json file, and Go projects may be built outside of the GOPATH to take advantage of Go 1.11's automatic module support. Add global and buffer-specific variables to allow the user to specify the root, either as a string or a funcref. Make the funcrefs accept the buffer number as an argument to make sure that they can function easily in an asynchronous environment. We define the global variable in the main plugin, since the LSP linter code is not loaded unless required, and we want the variable to be able to be read correctly by :ALEInfo regardless.
2018-11-06Fix info textLuan Santos
Removed ale_virualtext_prefix from debugging since it's not requried for the functionality to work. Sorted debugging info to make the list easier to navigate/diff.
2018-06-21Close #1522 - Show suggested fixers in :ALEInfow0rp
2018-05-28#1524 - Define global variables where they are neededw0rp
2018-05-28Close #1559 - Report errors from LSP servers in :ALEInfow0rp
2018-04-24#1278 Allow linters to be defined pretty much anywherew0rp
2018-04-09Close #542 - Add an option for disabling running locally installed ↵w0rp
executables by default
2018-04-08Close #1439 - Add an :ALEInfoToFile commandw0rp
2018-03-02Option to open lists vertically (#1381)Andrew Crites
* Add configuration option to open lists vertically * Add tests, clean up vertical list config * Vertical list option cleanup * Use is# for tests * Order properties in documentation alphabetically
2018-01-07Show more ALE variables in ALEInfow0rp
2017-11-30Fix #1176 - Add an option for caching failing executable checksw0rp
2017-11-13#852 Support formatting echo messages with error codes. No linters set the ↵w0rp
`code` key yet
2017-10-23Get all tests to pass on Windowsw0rp
2017-08-25Fix #876 - Save history in a separate buffer variable so history works when ↵w0rp
linting is disabled
2017-08-23Include executable checks in ALEInfow0rp
2017-07-06Add ale_fix_on_save and ale_fixers to debug output (#731)Gregory Einfrank
* Add ale_fix_on_save and ale_fixers to debug output * Fix test by adding new ale-fix vars
2017-05-27Fix ALEInfo and some test issuesw0rp
2017-05-27Fix #500 - Support defining aliases for linter namesw0rp
2017-04-27#427 - Output buffer-local variables with :ALEInfow0rp
2017-03-30Add options to facilitate linting only in normal mode (#425)taylorskalyo
* [#420] Add options to facilitate linting only in normal mode ale_lint_on_text_changed: Allow setting to 'insert' or 'normal' to lint when text is changed only in insert or normal mode respectively. ale_lint_on_insert_leave: This flag can be set to 1 to enable linting when leaving insert mode. * [#420] Test updated global options Ale should - bind to TextChanged events when g:ale_lint_on_text_changed = 1 - bind to TextChanged events when g:ale_lint_on_text_changed = 'always' - bind to InsertLeave event when g:ale_lint_on_insert_leave = 1
2017-03-27Enabling linting on save by default, re #333w0rp
2017-02-16#254 Add an option for logging the output of commandsw0rp
2017-02-16#254 Capture command exit codes in the historyw0rp
2017-02-16Refactor history management functions into their own filew0rp
2017-02-14#254 Add command history to ALEInfow0rp
2017-02-13Output ALE global variables for :ALEInfow0rp
2017-02-13Include most linter variables in ALEInfow0rp
2017-01-24Add ALEInfo command to get list of available/enabled linters (#273)DiscoViking
* Add ALEInfo command to get list of available/enabled linters for current filetype * Add Vader tests for ALEInfo command * Fix ALEInfo tests breaking CI by echoing too much output to screen * Speculative change to Makefile which seems to fix test hanging problem locally. * Fix Vader tests to not require a TTY