diff --git a/package/Tact.sublime-completions b/package/Tact.sublime-completions index 79d4cff..99d0890 100644 --- a/package/Tact.sublime-completions +++ b/package/Tact.sublime-completions @@ -11,7 +11,8 @@ { "trigger": "interface\t@interface(\"...\")", "contents": "interface(\"$1\")", - "kind": ["function", "a", "Attribute"] + "kind": ["function", "a", "Attribute"], + "details": "Tact Docs" }, // Literals, Base trait and constants @@ -304,17 +305,20 @@ { "trigger": "bytes32\tfor Slices", "contents": "bytes32", - "kind": "type" + "kind": "type", + "details": "Tact Docs" }, { "trigger": "bytes64\tfor Slices", "contents": "bytes64", - "kind": "type" + "kind": "type", + "details": "Tact Docs" }, { "trigger": "remaining\tfor Cells, Builders and Slices", "contents": "remaining", - "kind": "type" + "kind": "type", + "details": "Tact Docs" }, // Keywords @@ -446,17 +450,20 @@ { "trigger": "abstract\tconstant or function to be defined", "contents": "abstract $0", - "kind": "keyword" + "kind": "keyword", + "details": "Tact Docs" }, { "trigger": "virtual\tconstant or function allowing overrides", "contents": "virtual $0", - "kind": "keyword" + "kind": "keyword", + "details": "Tact Docs" }, { "trigger": "override\tconstant or function to be overridden", "contents": "override $0", - "kind": "keyword" + "kind": "keyword", + "details": "Tact Docs" }, { "trigger": "extends\textension function", diff --git a/package/Tact.tmLanguage b/package/Tact.tmLanguage index 194e86e..d6d0e86 100644 --- a/package/Tact.tmLanguage +++ b/package/Tact.tmLanguage @@ -160,7 +160,7 @@ comment FunC identifier match - ((?:[a-zA-Z_\'\?!&]|::)(?:[a-zA-Z0-9_\'\?!&]|::)*) + (.*?) name entity.name.function.func.tact diff --git a/package/Tact.tmLanguage.json b/package/Tact.tmLanguage.json index 615ef7d..882d495 100644 --- a/package/Tact.tmLanguage.json +++ b/package/Tact.tmLanguage.json @@ -104,7 +104,7 @@ "patterns": [ { "comment": "FunC identifier", - "match": "((?:[a-zA-Z_\\'\\?!&]|::)(?:[a-zA-Z0-9_\\'\\?!&]|::)*)", + "match": "(.*?)", "name": "entity.name.function.func.tact" } ],