add typst to nixvim

This commit is contained in:
2024-11-04 13:24:41 +01:00
parent 561bed7244
commit 42458a1d70

View File

@@ -25,6 +25,8 @@
xournalpp xournalpp
obsidian obsidian
redshift redshift
pandoc
typst
]; ];
# Home Manager is pretty good at managing dotfiles. The primary way to manage # Home Manager is pretty good at managing dotfiles. The primary way to manage
@@ -264,6 +266,12 @@
nil-ls.enable = true; nil-ls.enable = true;
lua-ls.enable = true; lua-ls.enable = true;
hls.enable = true; hls.enable = true;
typst-lsp = {
enable = true;
settings = {
exportPdf = "onType";
};
};
}; };
}; };
@@ -311,6 +319,14 @@
}; };
gitsigns.enable = true; gitsigns.enable = true;
typst-vim = {
enable = true;
settings = {
pdf_viewer = null;
conceal_math = null;
};
};
}; };
extraConfigLua = '' extraConfigLua = ''
luasnip = require("luasnip") luasnip = require("luasnip")