|
|
@ -2744,18 +2744,18 @@ pub mod cmd {
|
|
|
|
completer: Some(completers::filename),
|
|
|
|
completer: Some(completers::filename),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
TypableCommand {
|
|
|
|
TypableCommand {
|
|
|
|
name: "buffer-close",
|
|
|
|
name: "buffer-close",
|
|
|
|
aliases: &["bc", "bclose"],
|
|
|
|
aliases: &["bc", "bclose"],
|
|
|
|
doc: "Close the current buffer.",
|
|
|
|
doc: "Close the current buffer.",
|
|
|
|
fun: buffer_close,
|
|
|
|
fun: buffer_close,
|
|
|
|
completer: None, // FIXME: buffer completer
|
|
|
|
completer: None, // FIXME: buffer completer
|
|
|
|
},
|
|
|
|
},
|
|
|
|
TypableCommand {
|
|
|
|
TypableCommand {
|
|
|
|
name: "buffer-close!",
|
|
|
|
name: "buffer-close!",
|
|
|
|
aliases: &["bc!", "bclose!"],
|
|
|
|
aliases: &["bc!", "bclose!"],
|
|
|
|
doc: "Close the current buffer forcefully (ignoring unsaved changes).",
|
|
|
|
doc: "Close the current buffer forcefully (ignoring unsaved changes).",
|
|
|
|
fun: force_buffer_close,
|
|
|
|
fun: force_buffer_close,
|
|
|
|
completer: None, // FIXME: buffer completer
|
|
|
|
completer: None, // FIXME: buffer completer
|
|
|
|
},
|
|
|
|
},
|
|
|
|
TypableCommand {
|
|
|
|
TypableCommand {
|
|
|
|
name: "write",
|
|
|
|
name: "write",
|
|
|
|