Skip to content

Commit

Permalink
fix: syntax file name
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Jul 13, 2020
1 parent 188c9cf commit 3113b30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@
[
"'",
"'"
],
[
"''",
"''"
],
]
],
// symbols that can be used to surround a selection
"surroundingPairs": [
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"language": "nix",
"scopeName": "source.nix",
"path": "./syntaxes/nix.tmLanguage"
"path": "./syntaxes/nix.tmLanguage.json"
}
]
},
Expand All @@ -47,7 +47,7 @@
"standard-version": "^8.0.1"
},
"scripts": {
"yml-to-xml": "js-yaml syntaxes/nix.YAML-tmLanguage > syntaxes/nix.tmLanguage.json",
"release": "standard-version"
"yml2json": "js-yaml syntaxes/nix.YAML-tmLanguage > syntaxes/nix.tmLanguage.json",
"release": "yml2json && standard-version"
}
}
2 changes: 1 addition & 1 deletion syntaxes/nix.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@
]
},
{
"begin": "([a-zA-Z0-9\\.\\_\\-\\+]*(\\/[a-zA-Z0-9\\.\\_\\-\\+]+)+)",
"begin": "(~?[a-zA-Z0-9\\.\\_\\-\\+]*(\\/[a-zA-Z0-9\\.\\_\\-\\+]+)+)",
"beginCaptures": {
"0": {
"name": "string.unquoted.path.nix"
Expand Down

0 comments on commit 3113b30

Please sign in to comment.