forked from extern/nushell
Allow viewing the source code of blocks (#894)
* Add spans to blocks and view command * Better description; Cleanup * Rename "view" command to "view-source"
This commit is contained in:
@ -330,6 +330,11 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
|
||||
Base64,
|
||||
};
|
||||
|
||||
// Experimental
|
||||
bind_command! {
|
||||
ViewSource,
|
||||
};
|
||||
|
||||
#[cfg(feature = "plugin")]
|
||||
bind_command!(Register);
|
||||
|
||||
|
Reference in New Issue
Block a user