1
Fork 0

Add pdf-preview settings and enable Typst LSP formatting.

This commit is contained in:
Bauke 2023-12-27 15:46:54 +01:00
parent fe0b32094e
commit ee4e204e5b
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,8 @@
"liveServer.settings.wait": 1000, "liveServer.settings.wait": 1000,
// Nix (ID: jnoortheen.nix-ide) // Nix (ID: jnoortheen.nix-ide)
"nix.enableLanguageServer": true, "nix.enableLanguageServer": true,
// vscode-pdf (ID: tomoki1207.pdf)
"pdf-preview.default.scale": "page-fit",
// Rust Analyzer (ID: rust-lang.rust-analyzer) // Rust Analyzer (ID: rust-lang.rust-analyzer)
"rust-analyzer.check.command": "clippy", "rust-analyzer.check.command": "clippy",
"rust-analyzer.inlayHints.chainingHints.enable": false, "rust-analyzer.inlayHints.chainingHints.enable": false,
@ -86,6 +88,7 @@
// SVG Preview (ID: jock.svg) // SVG Preview (ID: jock.svg)
"svg.preview.mode": "svg", "svg.preview.mode": "svg",
// Typst LSP (ID: nvarner.typst-lsp) // Typst LSP (ID: nvarner.typst-lsp)
"typst-lsp.experimentalFormatterMode": "on",
"typst-lsp.exportPdf": "never", "typst-lsp.exportPdf": "never",
// Linter XO (ID: samverschueren.linter-xo). // Linter XO (ID: samverschueren.linter-xo).
"xo.format.enable": true, "xo.format.enable": true,
@ -152,6 +155,8 @@
"editor.formatOnSave": true "editor.formatOnSave": true
}, },
"[typst]": { "[typst]": {
"editor.defaultFormatter": "nvarner.typst-lsp",
"editor.formatOnSave": true,
"editor.wordWrap": "wordWrapColumn", "editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80 "editor.wordWrapColumn": 80
}, },