Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 1 addition & 68 deletions client/syntaxes/vba.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,6 @@
}
]
},
"continuations": {
"name": "meta.has-continuation.vba",
"begin": "(?i)(.*)(\\s_\\s*)",
"end": "\\n",
"patterns": [
{
"include": "#lineContinuation"
},
{
"include": "#fileStructure"
}
],
"beginCaptures": {
"1": {
"patterns": [
{
"include": "#fileStructure"
}
]
},
"2": {
"patterns": [
{
"include": "#lineContinuation"
}
]
}
}
},
"lineContinuation": {
"name": "keyword.control.line-continuation.vba",
"match": "(?<=\\s)_\\s*\\n"
Expand Down Expand Up @@ -232,10 +203,6 @@
"name": "keyword.control.as.vba",
"match": "(?i)\\bas\\b"
},
"kw-controlTo": {
"name": "keyword.control.to.vba",
"match": "(?i)\\bto\\b"
},
"kw-storageMe": {
"name": "variable.language.me.vba",
"match": "(?i)\\bme\\b"
Expand Down Expand Up @@ -980,22 +947,6 @@
}
}
},
"attribute": {
"name": "meta.attribute.vba",
"match": "(?i)^\\s*(Attribute VB_\\w+)\\s+(.*)$",
"captures": {
"1": {
"name": "entity.other.attribute-name.vba"
},
"2": {
"patterns": [
{
"include": "#language"
}
]
}
}
},
"moduleHeader": {
"patterns": [
{
Expand Down Expand Up @@ -1338,25 +1289,7 @@
{
"include": "#language"
}
],
"repository": {
"blockLines": {
"name": "source.methodlines.vba",
"match": "(?:(^(?:\\s*[a-z0-9]*?:\\s*)(?:\\s+'.*)?$)|(.*):)",
"captures": {
"1": {
"name": "source.methodlines.label.vba"
},
"2": {
"patterns": [
{
"include": "#block"
}
]
}
}
}
}
]
},
"separator": {
"name": "punctuation.separator.vba",
Expand Down
40 changes: 0 additions & 40 deletions client/syntaxes/vba.tmLanguage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,6 @@ repository:
- include: "#labels"
- include: "#main"

continuations:
name: meta.has-continuation.vba
begin: (?i)(.*)(\s_\s*)
end: \n
patterns:
- include: "#lineContinuation"
- include: "#fileStructure"
beginCaptures:
1:
patterns:
- include: "#fileStructure"
2:
patterns:
- include: "#lineContinuation"

lineContinuation:
name: keyword.control.line-continuation.vba
match: (?<=\s)_\s*\n
Expand Down Expand Up @@ -174,10 +159,6 @@ repository:
name: keyword.control.as.vba
match: (?i)\bas\b

kw-controlTo:
name: keyword.control.to.vba
match: (?i)\bto\b

kw-storageMe:
name: variable.language.me.vba
match: (?i)\bme\b
Expand Down Expand Up @@ -606,16 +587,6 @@ repository:
name: comment.line.remark.vba
match: (?i)(?<=^\d*?|:)\s*Rem\b.*

attribute:
name: meta.attribute.vba
match: (?i)^\s*(Attribute VB_\w+)\s+(.*)$
captures:
1:
name: entity.other.attribute-name.vba
2:
patterns:
- include: "#language"

moduleHeader:
patterns:
- include: "#moduleVersion"
Expand Down Expand Up @@ -808,17 +779,6 @@ repository:
- include: "#methodClose"
- include: "#language"

repository:
blockLines:
name: source.methodlines.vba
match: (?:(^(?:\s*[a-z0-9]*?:\s*)(?:\s+'.*)?$)|(.*):)
captures:
1: # label
name: source.methodlines.label.vba
2: # colon separated line
patterns:
- include: "#block"

separator:
name: punctuation.separator.vba
match: ','
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"icon": "images/vba-lsp-icon.png",
"author": "SSlinky",
"license": "MIT",
"version": "1.5.5",
"version": "1.5.6",
"repository": {
"type": "git",
"url": "https://github.com/SSlinky/VBA-LanguageServer"
Expand Down