mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-03 17:58:17 +00:00
feat: add in
postfix snippet (#963)
This commit is contained in:
parent
511ec2b5a8
commit
b19810ea6f
1 changed files with 9 additions and 0 deletions
|
@ -635,5 +635,14 @@ pub static DEFAULT_POSTFIX_SNIPPET: LazyLock<Vec<PostfixSnippet>> = LazyLock::ne
|
|||
description: "wrap as let expression".into(),
|
||||
parsed_snippet: OnceLock::new(),
|
||||
},
|
||||
PostfixSnippet {
|
||||
scope: PostfixSnippetScope::Value,
|
||||
mode: eco_vec![InterpretMode::Code, InterpretMode::Markup],
|
||||
label: "in".into(),
|
||||
label_detail: Some(".in".into()),
|
||||
snippet: "${_} in ${node}".into(),
|
||||
description: "wrap with in expression".into(),
|
||||
parsed_snippet: OnceLock::new(),
|
||||
},
|
||||
]
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue