dotfiles/zed/settings.json

101 lines
2.4 KiB
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 `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"agent": {
"default_model": {
"provider": "zed.dev",
"model": "claude-3-5-sonnet"
}
},
"vim_mode": true,
"features": {
"edit_prediction_provider": "zed"
},
"auto_install_extensions": {
"html": true,
"toml": true,
"catppuccin": true,
"catppuccin-icons": true,
"dockerfile": true,
"git-firefly": true,
"ruby": true,
"terraform": true,
"xml": true,
"swift": true,
"docker-compose": true,
"env": true,
"ini": true,
"ansible": true
},
"edit_predictions": {
"mode": "subtle"
},
"languages": {
"JavaScript": {
"formatter": { "code_actions": { "source.fixAll.eslint": true } },
"code_actions_on_format": { "source.fixAll.eslint": true }
},
"HCL": {
// Workarond to be able to format_on_save terragrunt files
// https://github.com/gruntwork-io/terragrunt/issues/1037#issuecomment-2143442454
"format_on_save": {
"external": {
"command": "sh",
"arguments": [
"-c",
"TMPFILE=$(mktemp) && cat - > $TMPFILE && terragrunt hclfmt --terragrunt-hclfmt-file $TMPFILE && cat $TMPFILE && rm $TMPFILE"
]
}
}
}
},
"file_scan_exclusions": [
"**/.terragrunt-cache",
"**/.terraform.lock.hcl",
"**/.git",
"**/.svn",
"**/.hg",
"**/.jj",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings"
],
"icon_theme": "Catppuccin Latte",
"ui_font_size": 15,
"ui_font_family": ".SystemUIFont",
"buffer_font_size": 12,
"buffer_font_family": "Inconsolata Patched G",
"buffer_line_height": { "custom": 1.8 },
"wrap_guides": [80, 100],
"show_whitespaces": "boundary",
"project_panel": {
"entry_spacing": "comfortable",
"indent_size": 25
},
"collaboration_panel": { "button": false },
"git": {
"inline_blame": { "enabled": false }
},
"tabs": {
"show_diagnostics": "errors",
"file_icons": true,
"git_status": false
},
"terminal": {
"line_height": { "custom": 1.8 }
},
"theme": {
"mode": "system",
"light": "Catppuccin Latte",
"dark": "Catppuccin Mocha"
}
}