diff --git a/package.json b/package.json index 8b05ef4..415ef27 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,10 @@ "engines": { "vscode": "^1.32.0" }, - "repository": { - "type": "GitHub", - "url": "https://github.com/william-voyek/vscode-nginx" - }, + "repository": { + "type": "GitHub", + "url": "https://github.com/william-voyek/vscode-nginx" + }, "categories": [ "Programming Languages" ], @@ -18,7 +18,7 @@ "languages": [{ "id": "nginx", "aliases": ["NGINX Conf", "nginx"], - "extensions": [".conf",".nginx"], + "extensions": ["nginx.conf", ".conf", ".nginx"], "configuration": "./language-configuration.json" }], "grammars": [{ diff --git a/syntaxes/nginx.tmLanguage.json b/syntaxes/nginx.tmLanguage.json index e80553a..ac61869 100644 --- a/syntaxes/nginx.tmLanguage.json +++ b/syntaxes/nginx.tmLanguage.json @@ -2,7 +2,15 @@ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", "fileTypes": [ "conf", - "nginx" + "nginx", + "nginx.conf", + "mime.type", + "fastcgi_params", + "proxy_params", + "scgi_params", + "uwsgi_params", + "fastcgi-php.conf", + "fastcgi.conf" ], "foldingStartMarker": "\\{\\s*$", "foldingStopMarker": "^\\s*\\}",