-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow space in config value #705
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -388,7 +388,8 @@ def test_additional_key_bindings_for_other_keymap | |
"cd": "CD" | ||
set keymap emacs | ||
"ef": "EF" | ||
set editing-mode vi # keymap changes to be vi-insert | ||
# keymap changes to be vi-insert | ||
set editing-mode vi | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Although inline comment does not exist, we should support ignore-after-space feature because readline behave like inline comment exists and it is actually used. # ignore after space
"\C-f": history-search-forward ignored-string
set editing-mode vi ignored-string
# do not ignore after space
set emacs-mode-string emacs mode string I think it is better to leave the test as is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it! Trimmed the comment before handling the line. |
||
LINES | ||
|
||
expected = { 'cd'.bytes => 'CD'.bytes } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For an example input
set foo bar baz
, how about passing three values to bind_variable?Most variable still uses value, and some variables (that uses
retrieve_string(value)
now) will useretrieve_string(raw_value)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Added
raw_value
as a third argument tobind_variable()