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,7 +1,4 @@
return { local extraOpts = {
{
"barreiroleo/ltex_extra.nvim",
opts = {
load_langs = { load_langs = {
"en", "en",
"en-US", "en-US",
@ -9,13 +6,22 @@ return {
}, },
path = vim.fn.expand("~") .. "/.local/share/ltex", path = vim.fn.expand("~") .. "/.local/share/ltex",
log_level = "warn", log_level = "warn",
}, }
return {
{
"barreiroleo/ltex_extra.nvim",
dependencies = { "neovim/nvim-lspconfig" },
}, },
{ {
"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",