Skip to content

Commit

Permalink
fix: remove HP-COBOL association with file extension and firstLine ma…
Browse files Browse the repository at this point in the history
…tcher

firstline matcher is removed for HP-COBOL, to make sure under no circumstances should we consider a COBOL file as HP_COBOL.
This is a temporary solution until we decide to fully support HP-COBOL

Signed-off-by: ap891843 <aman.prashant@broadcom.com>
  • Loading branch information
ap891843 committed Jul 19, 2024
1 parent 69ea99c commit 814e1eb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions clients/cobol-lsp-vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,10 @@
},
{
"id": "hpcobol",
"extensions": [
".hpcbl",
".hpcobol",
".hp",
"ecobol"
],
"aliases": [
"HP-COBOL"
],
"configuration": "./syntaxes/lang-config-hp.json",
"firstLine": "^[ ]( *([Ii][Dd]([Ee][Nn][Tt][Ii][Ff][Ii][Cc][Aa][Tt][Ii][Oo][Nn])? +[Dd][Ii][Vv][Ii][Ss][Ii][Oo][Nn][.].*?)$|^\\?.*"
"configuration": "./syntaxes/lang-config-hp.json"
}
],
"grammars": [
Expand Down

0 comments on commit 814e1eb

Please sign in to comment.