feat: new theme + prettier format fix
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"icon_theme": "Bearded Icon Theme",
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "Solarized Light",
|
||||
"light": "Zed Legacy: Solarized Light",
|
||||
"dark": "One Dark"
|
||||
},
|
||||
"unnecessary_code_fade": 0.2,
|
||||
@@ -41,7 +41,7 @@
|
||||
"features": {
|
||||
"edit_prediction_provider": "none"
|
||||
},
|
||||
// "tab_size": 4, // May cause errors on colaborative projects wrongly configured
|
||||
"tab_size": 4, // May cause errors on colaborative projects wrongly configured
|
||||
"git": {
|
||||
"git_gutter": "tracked_files",
|
||||
"inline_blame": {
|
||||
@@ -72,9 +72,7 @@
|
||||
"show_call_status_icon": true,
|
||||
"show_completions_on_input": true,
|
||||
"show_whitespaces": "selection",
|
||||
"wrap_guides": [
|
||||
80
|
||||
],
|
||||
"wrap_guides": [80],
|
||||
"relative_line_numbers": true,
|
||||
"scrollbar": {
|
||||
"show": "auto",
|
||||
@@ -108,8 +106,8 @@
|
||||
}
|
||||
},
|
||||
"centered_layout": {
|
||||
"left_padding": 0.25,
|
||||
"right_padding": 0.25
|
||||
"left_padding": 0.22,
|
||||
"right_padding": 0.22
|
||||
},
|
||||
"collaboration_panel": {
|
||||
"button": false
|
||||
@@ -192,12 +190,7 @@
|
||||
"dock": "bottom",
|
||||
"detect_venv": {
|
||||
"on": {
|
||||
"directories": [
|
||||
".env",
|
||||
"env",
|
||||
".venv",
|
||||
"venv"
|
||||
],
|
||||
"directories": [".env", "env", ".venv", "venv"],
|
||||
"activate_script": "default"
|
||||
}
|
||||
},
|
||||
@@ -214,7 +207,7 @@
|
||||
"button": true,
|
||||
"shell": "system",
|
||||
"toolbar": {
|
||||
"title": true,
|
||||
"title": true
|
||||
},
|
||||
"scrollbar": {
|
||||
"show": "never"
|
||||
@@ -225,13 +218,13 @@
|
||||
// │ LSP │
|
||||
// ╰─────╯
|
||||
"format_on_save": "on",
|
||||
"formatter": "language_server",
|
||||
"formatter": "auto",
|
||||
"ensure_final_newline_on_save": true,
|
||||
"enable_language_server": true,
|
||||
"use_autoclose": true,
|
||||
"languages": {
|
||||
"Astro": {
|
||||
"tab_size": 2
|
||||
"tab_size": 4
|
||||
},
|
||||
"HTML": {
|
||||
"tab_size": 2
|
||||
@@ -240,72 +233,40 @@
|
||||
"tab_size": 4
|
||||
},
|
||||
"JavaScript": {
|
||||
"format_on_save": "language_server",
|
||||
"format_on_save": "prettier",
|
||||
"tab_size": 2,
|
||||
"preferred_line_length": 65,
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "prettier",
|
||||
"arguments": [
|
||||
"--stdin-filepath",
|
||||
"{buffer_path}"
|
||||
]
|
||||
}
|
||||
},
|
||||
"code_actions_on_format": {
|
||||
"source.organizeImports": true
|
||||
}
|
||||
},
|
||||
"TypeScript": {
|
||||
"format_on_save": "language_server",
|
||||
"format_on_save": "prettier",
|
||||
"preferred_line_length": 65,
|
||||
"language_servers": [
|
||||
"typescript-language-server",
|
||||
"!vtsls"
|
||||
],
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "prettier",
|
||||
"arguments": [
|
||||
"--stdin-filepath",
|
||||
"{buffer_path}"
|
||||
]
|
||||
}
|
||||
},
|
||||
"language_servers": ["typescript-language-server", "!vtsls"],
|
||||
"code_actions_on_format": {
|
||||
"source.organizeImports": true
|
||||
}
|
||||
},
|
||||
"TSX": {
|
||||
"format_on_save": "language_server",
|
||||
"format_on_save": "prettier",
|
||||
"preferred_line_length": 85,
|
||||
"language_servers": [
|
||||
"typescript-language-server",
|
||||
"!vtsls"
|
||||
],
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "prettier",
|
||||
"arguments": [
|
||||
"--stdin-filepath",
|
||||
"{buffer_path}"
|
||||
]
|
||||
}
|
||||
},
|
||||
"language_servers": ["typescript-language-server", "!vtsls"],
|
||||
// "formatter": {
|
||||
// "external": {
|
||||
// "command": "prettier",
|
||||
// "arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
// }
|
||||
// },
|
||||
"code_actions_on_format": {
|
||||
"source.organizeImports": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"file_types": {
|
||||
"C++": [
|
||||
"c"
|
||||
],
|
||||
"TOML": [
|
||||
"MyLockFile"
|
||||
],
|
||||
"Dockerfile": [
|
||||
"Dockerfile*"
|
||||
]
|
||||
"C++": ["c"],
|
||||
"TOML": ["MyLockFile"],
|
||||
"Dockerfile": ["Dockerfile*"]
|
||||
},
|
||||
"file_scan_exclusions": [
|
||||
"**/.git",
|
||||
@@ -318,7 +279,5 @@
|
||||
"**/.classpath",
|
||||
"**/.settings"
|
||||
],
|
||||
"file_scan_inclusions": [
|
||||
".env*"
|
||||
]
|
||||
"file_scan_inclusions": [".env*"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user