aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/cmdline_highlight_spec.lua
Commit message (Collapse)AuthorAge
* api: change nvim_command_output behaviorJustin M. Keyes2018-01-10
| | | | | | | | | | | | | | | | | | | Implement nvim_command_output with `execute({cmd},"silent")`. Behavior changes: - does not provoke any hit-enter prompt - no longer prepends a newline char - does not capture some noise (like the "[New File]" message, see the change to tabnewentered_spec.lua) Technically ("bug-for-bug") this a breaking change. But the previous behavior of nvim_command_output meant that it probably wasn't used for anything outside of tests. Also remove the undocumented `v:command_output` variable which was a hack introduced only for the purposes of nvim_command_output. closes #7726
* *: Replace all occurrences of NVim with NvimZyX2017-11-30
|
* functests: Add some more testsZyX2017-11-26
|
* viml/parser/expressions,unittests: Do better testing, fix found issuesZyX2017-11-19
|
* unittests,syntax: Check for sanity of highlight_init_cmdlineZyX2017-11-13
| | | | Also fixes some errors found.
* tests: Fix testlint errorsZyX2017-11-06
|
* ex_getln: Make use of new parser to color expressionsZyX2017-10-29
| | | Retires g:Nvim_color_expr callback.
* ex_getln: Make error messages look betterZyX2017-08-14
|
* functests: Alter commentZyX2017-08-14
|
* functests: Check that input is correctly silencedZyX2017-08-14
|
* ex_getln: Cache highlight callback calling resultsZyX2017-07-26
|
* functests: Add sleep to <C-c> testZyX2017-07-18
|
* functests: Test input() nesting supportZyX2017-07-18
|
* functests: Check for previously unchecked errorsZyX2017-07-18
|
* ex_getln: Check prev_prompt_errors before running redrawcmdlineZyX2017-07-18
| | | | Otherwise there will be infinite recursion and shortly a crash. Running redrawcmdline recursively occurs under color_cmdline_error label.
* api helpers: Also save and restore did_emsgZyX2017-07-18
|
* ex_getln: Do not goto color_cmdline_end without first cleaning upZyX2017-07-17
| | | | | | | The issue with debug mode was actually not cleaning up after `try_enter`: location `&tstate` was pointing to got invalidated and received some “garbage” (actually, values that got stored on the stack afterwards). But pointer to that garbage was still stored in `msg_list`, so next attempt to check it resulted in a crash.
* ex_getln: Save and restore try stateZyX2017-07-01
| | | | | | | | | | | | | | | | Problem: when processing cycle such as :for pat in [' \ze*', ' \zs*'] : try : let l = matchlist('x x', pat) : $put ='E888 NOT detected for ' . pat : catch : $put ='E888 detected for ' . pat : endtry :endfor `:let l = …` throwing an error causes this error to be caught after color_cmdline attempts to get callback for highlighting next line (the one with `$put = 'E888 NOT…`). Saving/restoring state prevents this from happening.
* ex_getln: Do not make <C-c> interrupt input() after interrupting hl cbZyX2017-06-28
|
* ex_getln: Fix “echoerr msg not shown” problemZyX2017-06-28
| | | | | This also attempted to fix problem with cancelling input() on error by avoiding standard error printing facilities (assumed thrown error message is the problem), but with no luck so far.
* functests: Uncomment `{REDRAW}` part of “works” testZyX2017-06-28
|
* functests: Partially uncomment <C-c> testZyX2017-06-28
|
* ex_getln: Call highlight callback inside :tryZyX2017-06-28
|
* functests: Make “stops executing callback” test workZyX2017-06-28
| | | | Needed to be adjusted to use input() (previously relied on side-effects of executing `:cmd`) and dismiss something (hidden “Press ENTER” message?).
* functests: Make tests work with input()ZyX2017-06-27
| | | There are still some issues: specifically, new “pending” test hangs busted.
* functests: Comment out failing testZyX2017-06-27
|
* functests: Abstract away some ways to enter cmdline coloring modeZyX2017-06-27
| | | | Reason: should actually switch to using input() coloring because other coloring variants are eventually going away.
* eval,ex_getln: Add support for coloring input() promptsZyX2017-06-27
|
* ex_getln: Add some more tests, fix some found errorsZyX2017-06-27
|
* functests: Start adding some testsZyX2017-06-27