forked from extern/nushell
# Description This PR allows the configuration of cursor shapes in nushell for each edit mode. This is the change that is in the default_config.nu file. ``` cursor_shape: { emacs: line # block, underscore, line (line is the default) vi_insert: block # block, underscore, line (block is the default) vi_normal: underscore # block, underscore, line (underscore is the default) } ``` # User-Facing Changes See above. If you'd prefer a different default, please speak up and let us know. # Tests + Formatting Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass # After Submitting If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date.
36 lines
641 B
Rust
36 lines
641 B
Rust
pub mod ast;
|
|
mod cli_error;
|
|
pub mod config;
|
|
pub mod engine;
|
|
mod example;
|
|
mod exportable;
|
|
mod id;
|
|
mod lev_distance;
|
|
mod module;
|
|
mod pipeline_data;
|
|
mod shell_error;
|
|
mod signature;
|
|
pub mod span;
|
|
mod syntax_shape;
|
|
mod ty;
|
|
pub mod util;
|
|
mod value;
|
|
mod variable;
|
|
|
|
pub use cli_error::*;
|
|
pub use config::*;
|
|
pub use engine::{ENV_VARIABLE_ID, IN_VARIABLE_ID, NU_VARIABLE_ID};
|
|
pub use example::*;
|
|
pub use exportable::*;
|
|
pub use id::*;
|
|
pub use module::*;
|
|
pub use pipeline_data::*;
|
|
pub use shell_error::*;
|
|
pub use signature::*;
|
|
pub use span::*;
|
|
pub use syntax_shape::*;
|
|
pub use ty::*;
|
|
pub use util::BufferedReader;
|
|
pub use value::*;
|
|
pub use variable::*;
|