add rustfmt

This commit is contained in:
Crispy 2022-10-01 21:09:23 +02:00
parent b5cee50b6c
commit ebf29ddb51
3 changed files with 6 additions and 2 deletions

View file

@ -23,6 +23,7 @@
~/.config/mpv: mpv ~/.config/mpv: mpv
~/.config/f3d: f3d ~/.config/f3d: f3d
~/.config/fontconfig: fontconfig ~/.config/fontconfig: fontconfig
~/.config/rustfmt: rustfmt
~/bin/scripts: scripts ~/bin/scripts: scripts
- create: - create:

1
rustfmt/rustfmt.toml Normal file
View file

@ -0,0 +1 @@
hard_tabs = true

View file

@ -19,7 +19,7 @@
"liveServer.settings.root": "docs/", "liveServer.settings.root": "docs/",
"liveServer.settings.donotVerifyTags": true, "liveServer.settings.donotVerifyTags": true,
"editor.insertSpaces": false, "editor.insertSpaces": false,
"editor.fontFamily": "mono, sans, \"linja pona\", mono", "editor.fontFamily": "sans, mono, \"linja pona\", mono",
"editor.minimap.renderCharacters": false, "editor.minimap.renderCharacters": false,
"Lua.telemetry.enable": false, "Lua.telemetry.enable": false,
"Lua.workspace.library": [ "Lua.workspace.library": [
@ -46,5 +46,7 @@
"redhat.telemetry.enabled": false, "redhat.telemetry.enabled": false,
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"editor.glyphMargin": false, "editor.glyphMargin": false,
"window.zoomLevel": 1 "editor.formatOnSave": true,
"window.zoomLevel": 1,
"omnisharp.useModernNet": false
} }