Improve typst experience in neovim

This commit is contained in:
2025-12-01 23:30:29 +01:00
parent ef4c190005
commit 830c3ebe5a
3 changed files with 37 additions and 0 deletions

View File

@@ -55,6 +55,11 @@ let
isort
astro-language-server
tinymist
typstyle
ltex-ls-plus
];
};
@@ -103,6 +108,8 @@ let
lualine-nvim
bufferline-nvim
zen-mode-nvim
];
};

View File

@@ -161,6 +161,24 @@ require("lz.n").load({
vim.lsp.enable("basedpyright")
vim.lsp.enable("astro")
vim.lsp.config("tinymist", {
settings = {
tinymist = {
formatterMode = "typstyle",
},
},
})
vim.lsp.enable("tinymist")
vim.lsp.config("ltex_plus", {
settings = {
ltex = {
language = "nl",
},
},
})
vim.lsp.enable("ltex_plus")
end,
},
},

View File

@@ -195,4 +195,16 @@ require("lz.n").load({
})
end,
},
{
"zen-mode.nvim",
after = function()
require("zen-mode").setup({
window = {
options = {
linebreak = true,
},
},
})
end,
},
})