Skip to content

Commit 40908a3

Browse files
committed
Tweak label details descriptions for reserved word snippets
1 parent 944e309 commit 40908a3

File tree

1 file changed

+5
-5
lines changed
  • crates/ark/src/lsp/completions/sources/composite

1 file changed

+5
-5
lines changed

crates/ark/src/lsp/completions/sources/composite/keyword.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,25 @@ const KEYWORD_SNIPPETS: &[KeywordSnippet] = &[
7777
keyword: "if",
7878
label: "if",
7979
snippet: "if (${1:condition}) {\n\t${0}\n}",
80-
label_details_description: "An if statement",
80+
label_details_description: "Insert `if` statement",
8181
},
8282
KeywordSnippet {
8383
keyword: "else",
8484
label: "else",
8585
snippet: "else {\n\t${0}\n}",
86-
label_details_description: "An else statement",
86+
label_details_description: "Insert `else` statement",
8787
},
8888
KeywordSnippet {
8989
keyword: "repeat",
9090
label: "repeat",
9191
snippet: "repeat {\n\t${0}\n}",
92-
label_details_description: "A repeat loop",
92+
label_details_description: "Insert `repeat` loop",
9393
},
9494
KeywordSnippet {
9595
keyword: "while",
9696
label: "while",
9797
snippet: "while (${1:condition}) {\n\t${0}\n}",
98-
label_details_description: "A while loop",
98+
label_details_description: "Insert `while` loop",
9999
},
100100
KeywordSnippet {
101101
keyword: "function",
@@ -107,7 +107,7 @@ const KEYWORD_SNIPPETS: &[KeywordSnippet] = &[
107107
keyword: "for",
108108
label: "for",
109109
snippet: "for (${1:variable} in ${2:vector}) {\n\t${0}\n}",
110-
label_details_description: "A for loop",
110+
label_details_description: "Insert `for` loop",
111111
},
112112
];
113113

0 commit comments

Comments
 (0)