Skip to content

Commit

Permalink
fix(langserver): increase spaces in FOR snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Dec 15, 2024
1 parent bd17a07 commit 8adad45
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ def get_snippets() -> Dict[str, List[str]]:
if __snippets is None:
__snippets = {
"FOR": [
r"FOR \${${1}} ${2|IN,IN ENUMERATE,IN RANGE,IN ZIP|} ${3:arg}",
"$0",
r"FOR \${${1}} ${2|IN,IN ENUMERATE,IN RANGE,IN ZIP|} ${3:arg}",
" $0",
"END",
"",
],
"IF": [r"IF \${${1}}", " $0", "END", ""],
"IF": [r"IF \${${1}}", " $0", "END", ""],
}

if get_robot_version() >= (5, 0):
Expand All @@ -237,20 +237,20 @@ def get_snippets() -> Dict[str, List[str]]:
"TRYEX": [
"TRY",
" $0",
r"EXCEPT message",
r"EXCEPT message",
" ",
"END",
"",
],
"TRYEXAS": [
"TRY",
" $0",
r"EXCEPT message AS \${ex}",
r"EXCEPT message AS \${ex}",
" ",
"END",
"",
],
"WHILE": [r"WHILE ${1:expression}", " $0", "END", ""],
"WHILE": [r"WHILE ${1:expression}", " $0", "END", ""],
}
)
if get_robot_version() >= (7, 0):
Expand Down

0 comments on commit 8adad45

Please sign in to comment.