Skip to content

Instantly share code, notes, and snippets.

@dnut
Last active November 26, 2023 17:42
Show Gist options
  • Save dnut/7a618308954bdbc8f21a108dcc73d903 to your computer and use it in GitHub Desktop.
Save dnut/7a618308954bdbc8f21a108dcc73d903 to your computer and use it in GitHub Desktop.
{
"editor.fontFamily": "hack",
"explorer.confirmDragAndDrop": false,
"workbench.tree.indent": 20,
"security.workspace.trust.enabled": false,
"window.openFoldersInNewWindow": "on",
"window.openFilesInNewWindow": "default",
"editor.minimap.enabled": false,
"workbench.editor.limit.enabled": true,
"workbench.editor.limit.value": 6,
"workbench.preferredDarkColorTheme": "Ocean Dark Extended",
"window.autoDetectColorScheme": true,
"workbench.colorTheme": "Ocean Dark Extended",
"editor.tokenColorCustomizations": {
"variables": "#AB7967",
"textMateRules": [
// {
// "scope": "source",
// "settings": {
// "foreground": "#AB7967"
// }
// },
{
"scope": "entity.name.namespace",
"settings": {
// "foreground": "#65737E"
// "foreground": "#947C73"
"foreground": "#888888"
}
},
{
"scope": "keyword.operator.namespace",
"settings": {
"foreground": "#888888"
}
},
{ // annotation
"scope": "meta.attribute",
"settings": {
"foreground": "#BBB529"
}
},
{
"scope": "entity.name.type.lifetime",
"settings": {
"foreground": "#507874"
}
},
// {
// "scope": "entity.name.module",
// "settings": {
// "foreground": "#AB7967"
// }
// },
{
"scope": "entity.name.type",
"settings": {
"foreground": "#EBCB8B"
}
},
{ // this actually sets the color for field accessors, and function names remain blue
// however, it also changes parens and brackets in a function call or array access
"scope": "meta.function.call.rust",
"settings": {
"foreground": "#BF616A"
}
},
{ // this is needed to counteract meta.function.call.rust configuration for parens
"scope": "punctuation.brackets.round.rust",
"settings": {
"foreground": "#C0C5CE"
}
},
{ // this is needed to counteract meta.function.call.rust configuration for brackets
"scope": "punctuation.brackets.square.rust",
"settings": {
"foreground": "#C0C5CE"
}
},
// {
// "scope": "entity.name.type.trait",
// "settings": {
// "foreground": "#A3BE8C"
// }
// },
{
"scope": "variable.language.self",
"settings": {
"foreground": "#F3D5EE"
}
},
{
"scope": "keyword",
"settings": {
"fontStyle": "bold"
}
},
{
"scope": "storage",
"settings": {
"fontStyle": "bold"
}
}
]
},
"workbench.colorCustomizations": {
// "editorBracketHighlight.foreground1": "#111111",
// "editorBracketHighlight.foreground2": "#FFFFFF",
// "editorBracketHighlight.foreground3": "#AB7967",
"editorBracketHighlight.foreground1": "#5caeef",
"editorBracketHighlight.foreground2": "#dfb976",
"editorBracketHighlight.foreground3": "#c172d9",
"editorBracketHighlight.foreground4": "#4fb1bc",
"editorBracketHighlight.foreground5": "#97c26c",
"editorBracketHighlight.foreground6": "#abb2c0",
"editorBracketHighlight.unexpectedBracket.foreground": "#FF0000",
"[Ocean Dark Extended]": {
"editorInlayHint.foreground": "#606060", // was 606060. brightness of background is 323232
"editorInlayHint.background": "#2B303B"
}
},
"editor.inlayHints.enabled": "offUnlessPressed",
// "editor.inlayHints.fontSize": 12,
// "rust-analyzer.inlayHints.typeHints.enable": false,
// "rust-analyzer.inlayHints.closingBraceHints.enable": true,
"window.title": "${dirty}${rootName}${separator}",
"gitlens.codeLens.enabled": false,
"gitlens.currentLine.enabled": false,
"gitlens.hovers.currentLine.over": "line",
"gitlens.hovers.enabled": false,
"editor.mouseWheelScrollSensitivity": 2,
"workbench.editor.revealIfOpen": true,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"files.associations": {
"*.txt": "plaintext"
},
"git.confirmSync": false,
"git.enableCommitSigning": true,
"files.exclude": {
"": true,
"**/.git": false
},
"terminal.external.linuxExec": "terminator",
"remote.SSH.connectTimeout": 60,
"githubPullRequests.createOnPublishBranch": "never",
"git.inputValidationSubjectLength": null,
"git.inputValidationLength": 99999,
"files.autoSave": "afterDelay",
"terminal.integrated.scrollback": 1000000,
"git.autoRepositoryDetection": "subFolders",
"githubPullRequests.fileListLayout": "tree",
"errorLens.enabledDiagnosticLevels": [
"error"
],
"workbench.editor.limit.perEditorGroup": true,
"hexeditor.columnWidth": 16,
"hexeditor.showDecodedText": true,
"hexeditor.defaultEndianness": "little",
"hexeditor.inspectorType": "aside",
"terminal.integrated.env.linux": {
"BROWSER": "",
"RUST_BACKTRACE": "1",
},
"lldb.launch.initCommands": [
"command source ${env:HOME}/.lldbinit"
],
"githubPullRequests.pullBranch": "never",
"git.mergeEditor": false,
"typescript.updateImportsOnFileMove.enabled": "always",
"files.autoSaveDelay": 500,
"files.hotExit": "onExitAndWindowClose",
"git.postCommitCommand": "push",
"haskell.manageHLS": "GHCup",
"haskell.toolchain": {
"ghc": "9.2.4",
"hls": "1.8.0.0",
"cabal": "recommended",
},
"[haskell]": {
"editor.defaultFormatter": "haskell.haskell"
},
"git.autofetch": "all",
"git.repositoryScanMaxDepth": 2,
"[python]": {
"editor.formatOnType": true,
"editor.defaultFormatter": "ms-python.black-formatter"
},
"betterOpenEditors.PackagePatterns": "**/tests\n**/src\n**/components/*\n**/modules/*",
"errorLens.excludeBySource": [
"rustc(Click for full compiler diagnostic)"
],
"cSpell.userWords": [
"CQRS",
"dotenv",
"Keypair",
"ndarray",
"orderbooks",
"pubkey",
"sklearn",
"Solana"
],
"markdown-preview-enhanced.previewColorScheme": "editorColorScheme",
"markdown-preview-github-styles.darkTheme": "dark_dimmed",
"diffEditor.ignoreTrimWhitespace": false,
"zig.path": "",
"zig.zls.path": "",
"zig.zls.enableAutofix": false,
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 0}",
"workbench.startupEditor": "none",
"zig.initialSetupDone": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment