diff --git a/home/rachel.nix b/home/rachel.nix index eb0417a..e0255f0 100644 --- a/home/rachel.nix +++ b/home/rachel.nix @@ -170,6 +170,15 @@ in lspcfg.nixd.setup({ cmd = { '${pkgs.nixd}/bin/nixd' }, }) + lspcfg.ltex.setup({ + cmd = { '${pkgs.ltex-ls}/bin/ltex-ls' }, + filetypes = { 'bib', 'gitcommit', 'markdown', 'plaintext', 'tex', 'pandoc', 'typst' }, + settings = { + ltex = { + language = 'sv' + } + } + }) vim.api.nvim_create_autocmd('LspAttach', { callback = function(args)