We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eecf2c4 commit 68d31b2Copy full SHA for 68d31b2
2 files changed
config/langs/typst.nix
@@ -0,0 +1,11 @@
1
+{ lib, pkgs, ... }:
2
+{
3
+ lsp.servers.tinymist.enable = true;
4
+ plugins = {
5
+ treesitter.settings.ensure_installed = [ "typst" ];
6
+ conform-nvim.settings = {
7
+ formatters_by_ft.typst = [ "typstyle" ];
8
+ formatters.typstyle.command = lib.getExe pkgs.typstyle;
9
+ };
10
11
+}
config/plugins/typst-preview.nix
@@ -0,0 +1,12 @@
+ plugins.typst-preview = {
+ enable = true;
+ settings = {
+ dependencies_bin = {
+ tinymist = lib.getExe pkgs.tinymist;
+ websocat = lib.getExe pkgs.websocat;
12
0 commit comments