home: vim: lspconfig: add 'typos-lsp'
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2024-09-27 14:11:03 +00:00
parent 898523d079
commit 38f3ac0ce5
2 changed files with 11 additions and 0 deletions

View file

@ -100,6 +100,9 @@ in
# Shell
bash-language-server
shfmt
# Generic
typos-lsp
];
};

View file

@ -84,3 +84,11 @@ if utils.is_executable("starpls") then
on_attach = lsp.on_attach,
})
end
-- Generic
if utils.is_executable("typos-lsp") then
lspconfig.typos_lsp.setup({
capabilities = capabilities,
on_attach = lsp.on_attach,
})
end