diff --git a/grammars b/grammars index ab0b1389..da717187 160000 --- a/grammars +++ b/grammars @@ -1 +1 @@ -Subproject commit ab0b1389aff2f3b931743e0d43b97f07dc543ad3 +Subproject commit da717187ffca32507cfc22fc881d7620b34ffc66 diff --git a/nlp-configuration.json b/nlp-configuration.json index a7b4c061..da8f9937 100644 --- a/nlp-configuration.json +++ b/nlp-configuration.json @@ -16,6 +16,7 @@ ["'", "'"], ["@CODE", "\n@@CODE"], ["@DECL", "\n@@DECL"], + ["@POSTCODE", "\n@@POSTCODE"], ["@RULES", "@@"] ], "surroundingPairs": [ @@ -27,7 +28,7 @@ ], "wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)", "indentationRules": { - "increaseIndentPattern": "(^\\s*(@CODE|@DECL|@PRE|@POST|@CHECK)\\b.*)|(\\{[^}\"']*$)|(\\([^)\"']*$)", + "increaseIndentPattern": "(^\\s*(@CODE|@POSTCODE|@DECL|@PRE|@POST|@CHECK)\\b.*)|(\\{[^}\"']*$)|(\\([^)\"']*$)", "decreaseIndentPattern": "^\\s*(\\}|\\)|@@)" }, "onEnterRules": [