languagetool

This commit is contained in:
Rachel Lambda Samuelsson 2023-12-01 21:06:12 +01:00
parent f352a1e05f
commit 4f8f4f9498

View File

@ -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)