qutebrowser/tests/unit
Ryan Roden-Corrent c290b3f80f Don't attempt completion if input starts with flag.
Always interpret the first word in the command string as the command to
offer completions for, even if that word looks like a flag.

Fixes #3460, where the command string `:-w open` would attempt to offer
completions for `open` but crash because the parsing was thrown off.
By moving the flag-stripping logic to _after_ we determine the command,
`:-w open` interprets `:-w` as the command. Since that is not a valid
command, we won't offer any completions.
2018-01-04 12:34:06 -05:00
..
browser pylint: Re-enable bad-continuation 2017-12-15 19:16:55 +01:00
commands Add an utils.Unreachable exception 2017-12-15 16:33:47 +01:00
completion Don't attempt completion if input starts with flag. 2018-01-04 12:34:06 -05:00
config Merge remote-tracking branch 'origin/pr/3407' 2017-12-18 16:11:16 +01:00
javascript pylint: Re-enable ungrouped-imports 2017-12-15 23:08:53 +01:00
keyinput Fix wrong import order 2017-12-15 14:35:07 +01:00
mainwindow Fix a couple style issues 2017-10-30 12:40:44 -04:00
misc pylint: Re-enable bad-continuation 2017-12-15 19:16:55 +01:00
scripts pylint: Re-enable ungrouped-imports 2017-12-15 23:08:53 +01:00
utils pylint: Re-enable ungrouped-imports 2017-12-15 23:08:53 +01:00
test_app.py Finally update copyrights... 2017-05-09 21:37:03 +02:00