installed typst typesetting program

This commit is contained in:
Kristian Krsnik 2023-12-06 17:30:01 +01:00
parent 254ae35c72
commit 5be09f440a
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -34,6 +34,7 @@
ziglang.vscode-zig ziglang.vscode-zig
slevesque.shader slevesque.shader
ms-vscode.cpptools ms-vscode.cpptools
nvarner.typst-lsp
streetsidesoftware.code-spell-checker streetsidesoftware.code-spell-checker
streetsidesoftware.code-spell-checker-german streetsidesoftware.code-spell-checker-german
@ -91,6 +92,12 @@
"editor.formatOnSaveMode" = "modificationsIfAvailable"; "editor.formatOnSaveMode" = "modificationsIfAvailable";
}; };
"[typst]" = {
"editor.defaultFormatter" = "nvarner.typst-lsp";
"editor.formatOnSave" = true;
"editor.formatOnSaveMode" = "modificationsIfAvailable";
};
"nix.enableLanguageServer" = true; "nix.enableLanguageServer" = true;
"nix.serverPath" = "${pkgs.nil}/bin/nil"; "nix.serverPath" = "${pkgs.nil}/bin/nil";
"nix.serverSettings" = { "nix.serverSettings" = {
@ -113,9 +120,14 @@
"cSpell.language" = "en,de-de"; "cSpell.language" = "en,de-de";
"zig.zigPath" = ""; # Use the zig from the PATH "zig.path" = "";
"zig.zigPath" = "";
# "zig.zls.zigLibPath" = "${pkgs.unstable.zig}/lib/zig";
"zig.zls.path" = "${pkgs.unstable.zls}/bin/zls"; "zig.zls.path" = "${pkgs.unstable.zls}/bin/zls";
"typst-lsp.serverPath" = "${pkgs.typst-lsp}/bin/typst-lsp";
"typst-lsp.experimentalFormatterMode" = "on";
"C_Cpp.default.compilerPath" = "${pkgs.gnat}/bin/g++"; "C_Cpp.default.compilerPath" = "${pkgs.gnat}/bin/g++";
"C_Cpp.default.includePath" = [ "C_Cpp.default.includePath" = [
"\${workspaceFolder}/**" "\${workspaceFolder}/**"