feat(nvim): add typst lsp

nixos
Moritz Böhme 2023-06-25 11:15:08 +02:00
parent 579e711735
commit 7deef6eabd
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
3 changed files with 7 additions and 0 deletions

View File

@ -239,6 +239,8 @@ in
stylua
sumneko-lua-language-server
taplo
typst
typst-lsp
yamlfmt
];
plugins = with pkgs.vimPlugins; [

View File

@ -234,6 +234,10 @@ with builtins;
cmd = [ "StartupTime" ];
conf = readFile ./vim-startuptime.lua;
}
{
plugin = typst-vim;
ft = [ "typst" "typ" ];
}
{
plugin = comment-nvim;
event = [ "BufReadPost" "BufNewFile" ];

View File

@ -127,6 +127,7 @@ local servers = {
"pylsp",
"ruff_lsp",
"rust_analyzer",
"typst_lsp",
}
for _, lsp in ipairs(servers) do
lspconfig_setup(lsp, {})