-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add refresh-config and open-config command #1803
Merged
archseer
merged 24 commits into
helix-editor:master
from
jharrilim:feat/add-refresh-config-command
Mar 25, 2022
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
03bade9
Add refresh-config and open-config command
jharrilim 4a0eff1
clippy
jharrilim 209112b
Use dynamic dispatch for editor config
jharrilim f1b21af
Refactor Result::Ok to Ok
jharrilim 124ea23
Remove unused import
jharrilim 3676e2e
cargo fmt
jharrilim 7b74c43
Modify config error handling
jharrilim 6e4da94
cargo xtask docgen
jharrilim d7e552b
impl display for ConfigLoadError
jharrilim a41c215
cargo fmt
jharrilim 06bad8c
Put keymaps behind dyn access, refactor config.load()
jharrilim ea39201
Update command names
jharrilim 0bf7beb
Update helix-term/src/application.rs
jharrilim 161f9b8
Merge branch 'master' into feat/add-refresh-config-command
jharrilim b459895
Switch to unbounded_channel
jharrilim f930c77
Remove --edit-config command
jharrilim e6a2a60
Update configuration docs
jharrilim c5d7242
Revert "Put keymaps behind dyn access", too hard
jharrilim dbbea48
Merge branch 'master' into feat/add-refresh-config-command
jharrilim 7df2f0c
Add refresh for keys
jharrilim 681b8c8
Refactor default_keymaps, fix config default, add test
jharrilim ad5dc91
swap -> store, remove unneeded clone
jharrilim 23e96a6
cargo fmt
jharrilim 252d746
Rename default_keymaps to default
jharrilim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The "Keymaps" struct is now divorced from the config. Since the
Keymaps
encapsulated view state alongside config, it wasn't quite fitting, and had to be changed for config projection to work accordingly.edit: Oops just realized the
#[serde(default)]
, that needs to be updated to return the proper default HashMapedit edit: This has now been updated to use the proper default HashMap