Skip to content

Commit

Permalink
Add more keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
spirius committed Nov 29, 2016
1 parent 365f10f commit d00cc49
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,23 @@ func main() {

t.Providers["aws"] = true

var addKeywords = []string{
"private_key",
"script_path",
"bastion_user",
"bastion_password",
"bastion_private_key",
"bastion_host",
"bastion_port",
"connection",
"provisioner",
"inline",
}

for _, k := range addKeywords {
t.Keywords[k] = true
}

tpl = template.New("template")

tpl, err = tpl.ParseFiles("template")
Expand Down

0 comments on commit d00cc49

Please sign in to comment.