Last active
July 11, 2024 14:41
-
-
Save mdouchement/eb8684be330a09bebe66dbf91af16516 to your computer and use it in GitHub Desktop.
Zed Editor configuration for Golang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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. | |
{ | |
"ui_font_size": 16, | |
"buffer_font_size": 16, | |
"buffer_font_family": "Source Code Pro for Powerline", | |
"tab_size": 2, | |
"hour_format": "hour24", | |
"theme": { | |
"mode": "system", | |
"light": "monokai Darker Classic", | |
"dark": "One Dark" | |
}, | |
"telemetry": { | |
"diagnostics": false, | |
"metrics": false | |
}, | |
"lsp": { | |
"gopls": { | |
"gofumpt": true, | |
"initialization_options": { | |
"directoryFilters": ["-**/node_modules", "-**/.git"], | |
"gofumpt": true, | |
"symbolScope": "workspace", | |
"staticcheck": true, | |
"templateExtensions": ["tmpl"], | |
"analyses": { | |
"nilness": true, | |
"unusedparams": true, | |
"unusedvariable": true, | |
"unusedwrite": true, | |
"useany": true | |
}, | |
"codelenses": { | |
"gc_details": true | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment