Created
August 9, 2025 01:57
-
-
Save bdlowery/756a49a0dc747b64f79ab5f8199b5832 to your computer and use it in GitHub Desktop.
This file contains hidden or 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. | |
| { | |
| "icon_theme": "Colored Zed Icons Theme Dark", | |
| "theme": "Ayu Dark", | |
| "telemetry": { | |
| "diagnostics": false, | |
| "metrics": false | |
| }, | |
| "ui_font_size": 13, | |
| "buffer_font_size": 13, | |
| "buffer_line_height": "comfortable", // "comfortable", "standard", {"custom": 2} | |
| "terminal": { | |
| "toolbar": { | |
| "breadcrumbs": false | |
| } | |
| }, | |
| "soft_wrap": "editor_width", | |
| "tab_bar": { | |
| // Whether or not to show the tab bar in the editor | |
| "show": true, | |
| // Whether or not to show the navigation history buttons. | |
| "show_nav_history_buttons": false, | |
| // Whether or not to show the tab bar buttons. | |
| "show_tab_bar_buttons": true | |
| }, | |
| "tabs": { | |
| "file_icons": true | |
| }, | |
| "experimental.theme_overrides": { | |
| "editor.document_highlight.read_background": "#52525b" | |
| }, | |
| // specifiying your own language servers overrides the default ones zed sets | |
| // https://zed.dev/docs/configuring-languages?utm_source=chatgpt.com#choosing-language-servers | |
| // ... repeats the rest of the languages servers for that language, so if you use that you need to disable the ones you don't want to use with ! | |
| // ex: if I did ["vue-language-server", "eslint", "..."], it would become ["vue-language-server", "eslint", "vue-language-server", "eslint"] | |
| "languages": { | |
| "PHP": { | |
| "language_servers": ["intelephense", "!phpactor"], | |
| // run laravel pint on save | |
| "formatter": { | |
| "external": { | |
| "command": "bash", | |
| "arguments": [ | |
| "-c", | |
| "cat > {buffer_path} && ./vendor/bin/pint --quiet {buffer_path} && cat {buffer_path}" | |
| ] | |
| } | |
| } | |
| }, | |
| // Use eslint for all of the formatting as it will use the eslint.config.js file, which includes prettier. | |
| "Vue.js": { | |
| "language_servers": ["vue-language-server", "eslint"], | |
| "formatter": [ | |
| { | |
| "code_actions": { | |
| "source.fixAll.eslint": true, | |
| "source.organizeImports": true | |
| } | |
| } | |
| ], | |
| "prettier": { "allowed": false } // using eslint | |
| }, | |
| "TypeScript": { | |
| // "language_servers": ["vtsls", "!typescript-language-server"], | |
| "formatter": [ | |
| { | |
| "code_actions": { | |
| "source.fixAll.eslint": true | |
| } | |
| } | |
| ], | |
| "prettier": { "allowed": false } // using eslint | |
| }, | |
| "TSX": { | |
| // "language_servers": ["vtsls", "!typescript-language-server"], | |
| "formatter": [ | |
| { | |
| "code_actions": { | |
| "source.fixAll.eslint": true | |
| } | |
| } | |
| ], | |
| "prettier": { "allowed": false } // using eslint | |
| }, | |
| "JavaScript": { | |
| // "language_servers": ["vtsls", "!typescript-language-server"], | |
| "formatter": [ | |
| { | |
| "code_actions": { | |
| "source.fixAll.eslint": true | |
| } | |
| } | |
| ], | |
| "prettier": { "allowed": false } // using eslint | |
| } | |
| }, | |
| "format_on_save": "on", | |
| "git": { | |
| "inline_blame": { | |
| "enabled": false | |
| } | |
| }, | |
| "file_types": { | |
| "PHP": ["*.php", "_ide_helper.php"], | |
| "Blade": ["*.blade.php"] | |
| }, | |
| "lsp": { | |
| "intelephense": { | |
| // One-time options passed during the LSP "initialize" handshake | |
| "initialization_options": { | |
| "licenceKey": "/Users/brianlowery/intelephense/licence.txt" | |
| }, | |
| // Workspace settings that the server can reload at runtime | |
| "settings": { | |
| // "stubs": [], | |
| "files": { | |
| "maxSize": 10000000, // 10 MB | |
| "associations": ["**/*.php"] | |
| }, | |
| "completion": { | |
| "insertUseDeclaration": true // auto-add `use` on accept | |
| } | |
| } | |
| } | |
| // "vue-language-server": { | |
| // "initialization_options": { | |
| // "typescript": { "tsdk": "./node_modules/typescript/lib" } | |
| // } | |
| // } | |
| // "vue-language-server": { | |
| // "initialization_options": { | |
| // "vue": { | |
| // "hybridMode": true | |
| // } | |
| // } | |
| // } | |
| }, | |
| "file_scan_exclusions": [ | |
| "**/.git", | |
| "**/.svn", | |
| "**/.hg", | |
| "**/.jj", | |
| "**/CVS", | |
| "**/.DS_Store", | |
| "**/Thumbs.db", | |
| "**/.classpath", | |
| "**/.settings" | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment