cool zed stuff

This commit is contained in:
Christoph J. Scherr 2025-01-19 02:32:49 +01:00
parent 4fe2ba1fa8
commit 698621d984
1 changed files with 19 additions and 3 deletions

View File

@ -80,8 +80,24 @@
"show_wrap_guides": true, "show_wrap_guides": true,
"wrap_guides": [80], "wrap_guides": [80],
"languages": { "languages": {
"Jinja2": {
"formatter": [
{
"external": {
"command": "djlint",
"arguments": [
"--reformat",
"--format-css",
"--format-js",
"-"
// "{buffer_path}"
]
}
}
],
"format_on_save": "on"
},
"Python": { "Python": {
"language_servers": ["ruff"],
"format_on_save": "language_server", "format_on_save": "language_server",
"formatter": [ "formatter": [
{ {
@ -89,8 +105,8 @@
"name": "ruff" "name": "ruff"
} }
} }
] ],
// "language_servers": ["pyright", "ruff"] "language_servers": ["pyright", "ruff"]
}, },
"Rust": { "Rust": {
"format_on_save": "language_server", "format_on_save": "language_server",