diff --git a/snippets/control-flow.json b/snippets/control-flow.json index 8859553..88fad5d 100644 --- a/snippets/control-flow.json +++ b/snippets/control-flow.json @@ -31,13 +31,6 @@ "let mutable ${1:binding}${2:?} = $0;\n" ] }, - "use statement": { - "scope": "pinc", - "prefix": ["use"], - "body": [ - "use ${1:${2:NameInScope} = }${3:LibraryToImport};" - ] - }, "function definition": { "scope": "pinc", "prefix": ["fn"], diff --git a/snippets/main.json b/snippets/main.json index fd4c21b..bc53ab3 100644 --- a/snippets/main.json +++ b/snippets/main.json @@ -4,7 +4,6 @@ "prefix": ["component"], "body": [ "component ${1:NewComponent}${2:(${3:label: \"${4:New Component}\"})} {", - "\t${5:use Base;\n}", "\t$0", "}" ] @@ -14,7 +13,6 @@ "prefix": ["page"], "body": [ "page ${1:NewPage}${2:(${3:label: \"${4:New Page}\"})} {", - "\t${5:use Base;\n}", "\t<>", "\t\t", "\t\t", @@ -41,7 +39,6 @@ "prefix": ["library"], "body": [ "library ${1:NewLibrary} {", - "\t${2:use ${3:SubLibrary} = ${4:MyLibrary__Sub}; // Re-Export ${4:MyLibrary__Sub} as ${1:NewLibrary}.${3:SubLibrary}\n}", "\t$0", "}" ] diff --git a/syntaxes/pinc.tmLanguage.json b/syntaxes/pinc.tmLanguage.json index 0a2995f..8b8be34 100644 --- a/syntaxes/pinc.tmLanguage.json +++ b/syntaxes/pinc.tmLanguage.json @@ -48,7 +48,7 @@ "patterns": [ { "name": "storage.type", - "match": "\\b(component|page|store|site|library|let|mutable|use|fn)\\b" + "match": "\\b(component|page|store|site|library|let|mutable|fn)\\b" }, { "name": "keyword.operator",