Skip to content

Instantly share code, notes, and snippets.

@bdlowery
Created July 26, 2025 01:58
Show Gist options
  • Save bdlowery/4bea8a18b24f453e0a48a624ea05be41 to your computer and use it in GitHub Desktop.
Save bdlowery/4bea8a18b24f453e0a48a624ea05be41 to your computer and use it in GitHub Desktop.
laravel, vue 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.
{
"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"
},
"inlay_hints": {
// Global switch to toggle hints on and off, switched off by default.
"enabled": true
},
// specifiying your own language servers overrides the default ones zed sets
// https://zed.dev/docs/configuring-languages?utm_source=chatgpt.com#choosing-language-servers
// ... expands the rest of the language servers that are registered for that language
"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", // Volar (syntax + template intelligence)
"vtsls", // TS goodies inside <script setup>
"eslint", // provides the fixAll code-action
"..." // anything else
],
"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": {
"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