Skip to content

Commit

Permalink
Build: Improve auto complete triggers in for placeholders
Browse files Browse the repository at this point in the history
Now they properly trigger after a dollar sign was inserted and also at
the end of the string.
  • Loading branch information
FichteFoll committed Jan 28, 2024
1 parent 0eec42e commit f284e47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"scope": "meta.placeholder-name.sublime-build | keyword.other.block.end.placeholder.sublime-build",
"scope": "meta.placeholder-name.sublime-build | keyword.other.block.end.placeholder.sublime-build | punctuation.definition.placeholder-string.end.sublime-build",

"completions": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"extensions": ["sublime-build"],
"auto_complete_selector": "source.json - comment - string | meta.placeholder-name | meta.command-name | meta.main-key | keyword.other.block.end.placeholder",
"auto_complete_selector": "source.json - comment - string | meta.placeholder-name | meta.command-name | meta.main-key | keyword.other.block.end.placeholder | punctuation.definition.placeholder-string.end.sublime-build",
"auto_complete_triggers": [
{ "selector": "meta.mapping.key punctuation.definition.string.begin" },
{ "selector": "keyword.other.block.start.placeholder.sublime-build" },
{ "selector": "keyword.other.placeholder.dollar.placeholder.sublime-build" },
],
}

0 comments on commit f284e47

Please sign in to comment.