feat(nvim): typst; tidy language specific configurations

This commit is contained in:
2025-11-22 22:03:21 +08:00
parent 9273df1ab8
commit 4ae4f3bb2b
12 changed files with 66 additions and 147 deletions

View File

@@ -17,6 +17,7 @@ lib.my.makeSwitch {
lua.enable = true;
java.enable = true;
qml.enable = true;
typst.enable = true;
};
};
}

View File

@@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}:
lib.my.makeSwitch {
inherit config;
optionName = "Typst";
optionPath = [
"coding"
"langs"
"typst"
];
config' = {
my.hm.home.packages = with pkgs; [
typst
tinymist
];
};
}