Skip to content

Instantly share code, notes, and snippets.

@gabrielbidula
Last active March 1, 2024 09:38
Show Gist options
  • Save gabrielbidula/ce86f68b70764d591fd42c32f15e1b37 to your computer and use it in GitHub Desktop.
Save gabrielbidula/ce86f68b70764d591fd42c32f15e1b37 to your computer and use it in GitHub Desktop.
zed settings.json
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the `open default settings` command
// from the command palette or from `Zed` application menu.
{
"base_keymap": "VSCode",
"buffer_font_family": "JetBrainsMono Nerd Font Mono",
"theme": "One Dark",
"telemetry": {
"diagnostics": false,
"metrics": false
},
"vim_mode": true,
"relative_line_numbers": true,
"ui_font_size": 15,
"buffer_font_size": 15,
"inlay_hints": {
"enabled": false
},
"format_on_save": "off",
"preferred_line_length": 120,
"language_overrides": {
"JSON": {
"format_on_save": "on"
},
"PHP": {
"format_on_save": "off",
"formatter": {
"external": {
"command": "/Users/gabriel/personal/code/zed-pint/pint.sh",
"arguments": ["{buffer_path}"]
}
}
},
"TypeScript": {
"code_actions_on_format": {
"source.fixAll.eslint": true
},
"format_on_save": "on",
"formatter": {
"external": {
"command": "/Users/gabriel/workwize/code/wize-front/app/node_modules/.bin/eslint_d",
"arguments": ["--stdin", "--fix", "--fix-to-stdout", "--stdin-filename", "{buffer_path}"]
}
}
},
"TSX": {
"code_actions_on_format": {
"source.fixAll.eslint": true
},
"format_on_save": "on",
"formatter": {
"external": {
"command": "/Users/gabriel/workwize/code/wize-front/app/node_modules/.bin/eslint_d",
"arguments": ["--stdin", "--fix", "--fix-to-stdout", "--stdin-filename", "{buffer_path}"]
}
}
}
},
"JavaScript": {
"code_actions_on_format": {
"source.fixAll.eslint": true
},
"format_on_save": "on",
"formatter": {
"external": {
"command": "/Users/gabriel/workwize/code/wize-front/app/node_modules/.bin/eslint_d",
"arguments": ["--stdin", "--fix", "--fix-to-stdout", "--stdin-filename", "{buffer_path}"]
}
}
},
"lsp": {
"intelephense": {
"initialization_options": {}
},
"typescript-language-server": {
"initialization_options": {
"preferences": {
"includeInlayParameterNameHints": "all",
"includeInlayParameterNameHintsWhenArgumentMatchesName": true,
"includeInlayFunctionParameterTypeHints": true,
"includeInlayVariableTypeHints": true,
"includeInlayVariableTypeHintsWhenTypeMatchesName": false,
"includeInlayPropertyDeclarationTypeHints": true,
"includeInlayFunctionLikeReturnTypeHints": true,
"includeInlayEnumMemberValueHints": true
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment