mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-07 02:37:43 +08:00
Fix indentation in bitflags macro
This commit is contained in:
parent
623ad21b47
commit
033f64fde6
@ -93,24 +93,24 @@ pub const PROG_COMPLETE_SEP: char = '\t';
|
||||
bitflags! {
|
||||
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq)]
|
||||
pub struct CompleteFlags: u8 {
|
||||
/// Do not insert space afterwards if this is the only completion. (The default is to try insert
|
||||
/// a space).
|
||||
const NO_SPACE = 1 << 0;
|
||||
/// This is not the suffix of a token, but replaces it entirely.
|
||||
const REPLACES_TOKEN = 1 << 1;
|
||||
/// This completion may or may not want a space at the end - guess by checking the last
|
||||
/// character of the completion.
|
||||
const AUTO_SPACE = 1 << 2;
|
||||
/// This completion should be inserted as-is, without escaping.
|
||||
const DONT_ESCAPE = 1 << 3;
|
||||
/// If you do escape, don't escape tildes.
|
||||
const DONT_ESCAPE_TILDES = 1 << 4;
|
||||
/// Do not sort supplied completions
|
||||
const DONT_SORT = 1 << 5;
|
||||
/// This completion looks to have the same string as an existing argument.
|
||||
const DUPLICATES_ARGUMENT = 1 << 6;
|
||||
/// This completes not just a token but replaces the entire commandline.
|
||||
const REPLACES_COMMANDLINE = 1 << 7;
|
||||
/// Do not insert space afterwards if this is the only completion. (The default is to try insert
|
||||
/// a space).
|
||||
const NO_SPACE = 1 << 0;
|
||||
/// This is not the suffix of a token, but replaces it entirely.
|
||||
const REPLACES_TOKEN = 1 << 1;
|
||||
/// This completion may or may not want a space at the end - guess by checking the last
|
||||
/// character of the completion.
|
||||
const AUTO_SPACE = 1 << 2;
|
||||
/// This completion should be inserted as-is, without escaping.
|
||||
const DONT_ESCAPE = 1 << 3;
|
||||
/// If you do escape, don't escape tildes.
|
||||
const DONT_ESCAPE_TILDES = 1 << 4;
|
||||
/// Do not sort supplied completions
|
||||
const DONT_SORT = 1 << 5;
|
||||
/// This completion looks to have the same string as an existing argument.
|
||||
const DUPLICATES_ARGUMENT = 1 << 6;
|
||||
/// This completes not just a token but replaces the entire commandline.
|
||||
const REPLACES_COMMANDLINE = 1 << 7;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user