mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-09-03 03:17:28 +02:00
typed is now in rust!
This commit is contained in:
parent
822c6b3bdf
commit
393a0a3ea5
7 changed files with 555 additions and 94 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./binds.nix
|
||||
|
|
@ -15,6 +20,7 @@
|
|||
pkgs.tinymist
|
||||
pkgs.typstyle
|
||||
pkgs.markdown-oxide
|
||||
inputs.typst-lsp.packages.x86_64-linux.default
|
||||
];
|
||||
};
|
||||
programs.helix = {
|
||||
|
|
@ -96,12 +102,18 @@
|
|||
command = "psalm";
|
||||
args = [ "--language-server" ];
|
||||
};
|
||||
"tinymist" = {
|
||||
"typst-lsp" = {
|
||||
command = "typst-lsp";
|
||||
config = {
|
||||
exportPdf = "onType";
|
||||
formatterMode = "typstyle";
|
||||
};
|
||||
};
|
||||
# "tinymist" = {
|
||||
# config = {
|
||||
# exportPdf = "onType";
|
||||
# outputPath = "$root/$dir/$name";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
language = [
|
||||
{
|
||||
|
|
@ -141,7 +153,7 @@
|
|||
{
|
||||
name = "typst";
|
||||
language-servers = [
|
||||
"tinymist"
|
||||
"typst-lsp"
|
||||
"discord-presence-lsp"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue