Skip to content

Instantly share code, notes, and snippets.

View sipec's full-sized avatar
🔨
BUIDL

Sinclair Chen sipec

🔨
BUIDL
View GitHub Profile
@sipec
sipec / index.js
Created December 14, 2024 02:17
Convert vscode theme to zed using node
const fs = require("fs");
function convertSyntaxHighlighting(tokenColors) {
const syntax = {};
const scopeMapping = {
variable: ["variable", "variable.other.readwrite", "entity.name.variable"],
"variable.builtin": ["variable.defaultLanguage", "variable"],
"variable.parameter": ["variable.parameter", "variable"],
// "variable.member": [],
@sipec
sipec / my.code-snippets
Created November 10, 2022 17:52
my fave vscode snippets
{
"() => ": {
"prefix": "aw",
"body": "() => ",
"description": "arrow function"
},
"() => {}": {
"prefix": "arw",
"body": "() => { $1 }",
"description": "arrow function with brackets"

Keybase proof

I hereby claim:

  • I am sipec on github.
  • I am claer (https://keybase.io/claer) on keybase.
  • I have a public key ASAm9-aRAgluAqWe2leketi4cpfB4oaJ9heRhORGqwiTQAo

To claim this, I am signing this object: