Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lacking support for hcl in general (variable types) #5

Merged
merged 2 commits into from
Nov 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Couper Configuration",
"version": "0.0.2",
"publisher": "AvengaGermanyGmbH",
"description": "Provides autocompletion, syntax/semantic validation and syntax highlighting for Couper's HCL based configuration file couper.hcl",
"description": "Provides autocompletion, syntax/semantic validation and syntax highlighting for Couper's HCL based configuration file.",
"keywords": [
"couper.hcl",
"couper",
Expand Down Expand Up @@ -43,8 +43,8 @@
"grammars": [
{
"language": "couper",
"scopeName": "source.couper",
"path": "./syntax/couper.json"
"scopeName": "source.hcl",
"path": "./syntaxes/hcl.json"
}
]
},
Expand Down
1 change: 1 addition & 0 deletions src/completion.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ const providerVariables = vscode.languages.registerCompletionItemProvider(select
return undefined
}

// TODO: move to schema.js
const variableAttributes = {
req: ['id', 'method', 'path', 'query', 'post', 'url', 'json_body'],
bereq: ['method', 'path', 'query', 'post', 'url'],
Expand Down
121 changes: 0 additions & 121 deletions syntax/couper.json

This file was deleted.

Loading