AutoYADM commit: 2024-11-19 16:30:03

This commit is contained in:
Daniel Fichtinger 2024-11-19 16:30:03 -05:00
parent 2833c80156
commit bfcc83c832

View file

@ -1,21 +1,27 @@
local extraOpts = {
load_langs = {
"en",
"en-US",
"en-CA",
},
path = vim.fn.expand("~") .. "/.local/share/ltex",
log_level = "warn",
}
return { return {
{ {
"barreiroleo/ltex_extra.nvim", "barreiroleo/ltex_extra.nvim",
opts = { dependencies = { "neovim/nvim-lspconfig" },
load_langs = {
"en",
"en-US",
"en-CA",
},
path = vim.fn.expand("~") .. "/.local/share/ltex",
log_level = "warn",
},
}, },
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {
servers = { servers = {
ltex = { ltex = {
on_attach = {
function(client, bufnr)
require("ltex_extra").setup(extraOpts)
end,
},
settings = { settings = {
ltex = { ltex = {
language = "en", language = "en",