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