languagetool

master
Rachel Lambda Samuelsson 2023-12-01 21:06:12 +01:00
parent f352a1e05f
commit 4f8f4f9498
1 changed files with 9 additions and 0 deletions

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)