Update vscodium config

This commit is contained in:
Mathieu Strypsteen 2023-11-27 21:07:54 +01:00
parent c833203a5f
commit 887ba047d6
Signed by: mathieu
GPG key ID: 782A42E461BC6824
6 changed files with 28 additions and 56 deletions

View file

@ -1,53 +0,0 @@
{
"clangd.onConfigChanged": "restart",
"debug.console.historySuggestions": false,
"diffEditor.ignoreTrimWhitespace": false,
"editor.bracketPairColorization.enabled": false,
"editor.codeLens": false,
"editor.dragAndDrop": false,
"editor.folding": false,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.glyphMargin": false,
"editor.inlayHints.enabled": "off",
"editor.minimap.enabled": false,
"editor.renderWhitespace": "none",
"editor.scrollBeyondLastLine": false,
"editor.selectionClipboard": false,
"editor.smoothScrolling": true,
"editor.suggestSelection": "first",
"editor.tabSize": 2,
"explorer.compactFolders": false,
"explorer.confirmDragAndDrop": false,
"files.enableTrash": false,
"files.exclude": {
"**/*.d": true,
"**/*.o": true
},
"files.hotExit": "off",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"git.confirmSync": false,
"git.showCommitInput": false,
"git.suggestSmartCommit": false,
"git.terminalAuthentication": false,
"github.gitAuthentication": false,
"remote.autoForwardPorts": false,
"search.quickOpen.includeHistory": false,
"search.smartCase": true,
"search.useGlobalIgnoreFiles": true,
"task.quickOpen.history": 0,
"terminal.integrated.enablePersistentSessions": false,
"terminal.integrated.scrollback": 500,
"terminal.integrated.showExitAlert": false,
"update.mode": "none",
"workbench.commandPalette.history": 0,
"workbench.editor.untitled.hint": "hidden",
"workbench.enableExperiments": false,
"workbench.list.smoothScrolling": true,
"workbench.quickOpen.closeOnFocusLost": false,
"workbench.settings.enableNaturalLanguageSearch": false,
"workbench.startupEditor": "none"
}

View file

@ -7,5 +7,6 @@ server {
location / {
proxy_pass http://systemd-forgejo.:3000;
include snippets/proxy.conf;
proxy_hide_header Content-Security-Policy;
}
}

View file

@ -9,5 +9,6 @@ server {
location / {
proxy_pass http://systemd-synapse.:8080;
include snippets/proxy.conf;
proxy_hide_header Content-Security-Policy;
}
}

View file

@ -3,7 +3,6 @@ server {
listen 443 ssl;
listen [::]:443 ssl;
include snippets/headers.conf;
add_header Content-Security-Policy "default-src 'self'; img-src 'self' data:" always;
location / {
proxy_pass http://systemd-vaultwarden.;
include snippets/proxy.conf;

View file

@ -2,10 +2,8 @@ proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_hide_header X-XSS-Protection;
proxy_hide_header X-Frame-Options;
proxy_hide_header X-Content-Type-Options;
proxy_hide_header Content-Security-Policy;
proxy_hide_header Referrer-Policy;
proxy_hide_header Permissions-Policy;
proxy_hide_header Strict-Transport-Security;

26
misc/vscode.json Normal file
View file

@ -0,0 +1,26 @@
{
"diffEditor.ignoreTrimWhitespace": false,
"editor.codeLens": false,
"editor.dragAndDrop": false,
"editor.folding": false,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.inlayHints.enabled": "off",
"editor.minimap.enabled": false,
"editor.selectionClipboard": false,
"editor.smoothScrolling": true,
"editor.tabSize": 2,
"files.autoSave": "off",
"files.enableTrash": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"github.gitAuthentication": false,
"search.smartCase": true,
"telemetry.telemetryLevel": "off",
"window.menuBarVisibility": "visible",
"workbench.colorTheme": "Default Dark Modern",
"workbench.enableExperiments": false,
"workbench.settings.enableNaturalLanguageSearch": false
}