diff --git a/package-lock.json b/package-lock.json index 6be892da6..a5e31890a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2297,9 +2297,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2314,9 +2311,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2331,9 +2325,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2348,9 +2339,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2365,9 +2353,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2382,9 +2367,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2399,9 +2381,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2416,9 +2395,6 @@ "ppc64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2433,9 +2409,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2450,9 +2423,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2467,9 +2437,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2484,9 +2451,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2501,9 +2465,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ diff --git a/src/components.json b/src/components.json index 3ac728261..153d2e183 100644 --- a/src/components.json +++ b/src/components.json @@ -1331,6 +1331,10 @@ "zig": { "title": "Zig", "owner": "RunDevelopment" + }, + "ssh-config": { + "title": "SSH configuration", + "owner": "GracesonVfx" } }, "plugins": { diff --git a/src/languages/prism-ssh-config.js b/src/languages/prism-ssh-config.js new file mode 100644 index 000000000..512054344 --- /dev/null +++ b/src/languages/prism-ssh-config.js @@ -0,0 +1,9 @@ +Prism.languages['ssh-config'] = { + 'comment': /#.*/, + 'keyword': /\b(?:Host|HostName|User|IdentityFile|Port|ForwardX11|ProxyCommand|LocalForward)\b/i, + 'string': { + pattern: /(['"])(?:\\.|(?!\1)[^\\])*\1/, + greedy: true + }, + 'variable': /~(?:\/[\w.-]*)*/ +}; \ No newline at end of file