fix: fix timestamp insertion
This commit is contained in:
parent
073a04c337
commit
43ec0a56de
3 changed files with 23 additions and 17 deletions
|
|
@ -165,7 +165,7 @@ pub fn completions_for_line(
|
|||
items.push(CompletionItem {
|
||||
label: format!("@{}", date_str),
|
||||
kind: Some(CompletionItemKind::VALUE),
|
||||
detail: Some("Current date (R16)".to_string()),
|
||||
detail: Some("Current date".to_string()),
|
||||
insert_text: Some(date_str),
|
||||
sort_text: Some("2_date".to_string()),
|
||||
..Default::default()
|
||||
|
|
@ -173,7 +173,7 @@ pub fn completions_for_line(
|
|||
items.push(CompletionItem {
|
||||
label: format!("@{}", time_str),
|
||||
kind: Some(CompletionItemKind::VALUE),
|
||||
detail: Some("Current time (R16)".to_string()),
|
||||
detail: Some("Current time".to_string()),
|
||||
insert_text: Some(time_str),
|
||||
sort_text: Some("2_time".to_string()),
|
||||
..Default::default()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue