AutoYADM commit: 2024-11-19 16:30:03
This commit is contained in:
parent
2833c80156
commit
bfcc83c832
1 changed files with 15 additions and 9 deletions
|
@ -1,7 +1,4 @@
|
|||
return {
|
||||
{
|
||||
"barreiroleo/ltex_extra.nvim",
|
||||
opts = {
|
||||
local extraOpts = {
|
||||
load_langs = {
|
||||
"en",
|
||||
"en-US",
|
||||
|
@ -9,13 +6,22 @@ return {
|
|||
},
|
||||
path = vim.fn.expand("~") .. "/.local/share/ltex",
|
||||
log_level = "warn",
|
||||
},
|
||||
}
|
||||
return {
|
||||
{
|
||||
"barreiroleo/ltex_extra.nvim",
|
||||
dependencies = { "neovim/nvim-lspconfig" },
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
ltex = {
|
||||
on_attach = {
|
||||
function(client, bufnr)
|
||||
require("ltex_extra").setup(extraOpts)
|
||||
end,
|
||||
},
|
||||
settings = {
|
||||
ltex = {
|
||||
language = "en",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue