mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 13:49:52 -07:00
Add more documentation (#166)
This commit is contained in:
parent
2673cfaeb9
commit
9197864c5c
16 changed files with 267 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
//! # Default Commands
|
||||
//!
|
||||
//! The command-bar commands are set up here, and iamb-specific commands are defined here. See
|
||||
//! [modalkit::env::vim::command] for additional Vim commands we pull in.
|
||||
use std::convert::TryFrom;
|
||||
|
||||
use matrix_sdk::ruma::{events::tag::TagName, OwnedUserId};
|
||||
|
@ -555,6 +559,7 @@ fn add_iamb_commands(cmds: &mut ProgramCommands) {
|
|||
});
|
||||
}
|
||||
|
||||
/// Initialize the default command state.
|
||||
pub fn setup_commands() -> ProgramCommands {
|
||||
let mut cmds = ProgramCommands::default();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue