Skip to content

Commit

Permalink
refactor: update server name
Browse files Browse the repository at this point in the history
  • Loading branch information
WarZone762 committed Apr 1, 2024
1 parent a2d96b6 commit 1065ed2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"contributes": {
"configuration": {
"type": "object",
"title": "geckscript language server configuration",
"title": "geckscript Language Lerver configuration",
"properties": {
"languageServerExample.trace.server": {
"geckscript-lsp.trace.server": {
"scope": "window",
"type": "string",
"enum": [
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export function activate(context: ExtensionContext) {
};

client = new LanguageClient(
"geckscriptServer",
"geckscript Server",
"geckscript-lsp",
"geckscript Language Server",
serverOptions,
clientOptions,
);
Expand Down
12 changes: 6 additions & 6 deletions syntaxes/geckscript.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"scopeName": "source.GECKScript",
"scopeName": "source.geckscript",
"patterns": [
{
"name": "comment.line",
Expand All @@ -11,10 +11,6 @@
"begin": "\"",
"end": "\""
},
{
"name": "constant.numeric",
"match": "(?i)(?<=\\W|^)(0x[\\da-fA-F]+)|(\\d*\\.?\\d+)"
},
{
"name": "storage.type",
"match": "(?i)\\b(short|int|long|float|ref|reference|string_var|array_var)\\b"
Expand All @@ -33,7 +29,11 @@
},
{
"name": "variable.name",
"match": "\\b\\w+\\b"
"match": "\\b[\\w\\d]+\\b"
},
{
"name": "constant.numeric",
"match": "(?i)(?<=\\W|^)(0x[\\da-fA-F]+)|(\\d*\\.?\\d+)"
}
]
}

0 comments on commit 1065ed2

Please sign in to comment.