AutoYADM commit: 2024-11-19 18:00:02
This commit is contained in:
parent
3f3f960447
commit
1a796a0e05
1 changed files with 15 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
||||||
local extraOpts = {
|
local extraOpts = {
|
||||||
init_check = true,
|
init_check = false,
|
||||||
load_langs = {
|
load_langs = {
|
||||||
"en",
|
"en",
|
||||||
"en-US",
|
"en-US",
|
||||||
|
@ -18,6 +18,9 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
servers = {
|
servers = {
|
||||||
ltex = {
|
ltex = {
|
||||||
|
filetypes = {
|
||||||
|
"tex",
|
||||||
|
},
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
require("ltex_extra").setup(extraOpts)
|
require("ltex_extra").setup(extraOpts)
|
||||||
end,
|
end,
|
||||||
|
@ -29,18 +32,18 @@ return {
|
||||||
"latex",
|
"latex",
|
||||||
"tex",
|
"tex",
|
||||||
"bib",
|
"bib",
|
||||||
"md",
|
-- "md",
|
||||||
"markdown",
|
-- "markdown",
|
||||||
},
|
},
|
||||||
markdown = {
|
-- markdown = {
|
||||||
nodes = {
|
-- nodes = {
|
||||||
CodeBlock = "ignore",
|
-- CodeBlock = "ignore",
|
||||||
FencedCodeBlock = "ignore",
|
-- FencedCodeBlock = "ignore",
|
||||||
AutoLink = "dummy",
|
-- AutoLink = "dummy",
|
||||||
Code = "dummy",
|
-- Code = "dummy",
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
checkFrequency = { "edit" },
|
checkFrequency = { "write" },
|
||||||
diagnosticSeverity = "information",
|
diagnosticSeverity = "information",
|
||||||
sentencetCacheSize = 5000,
|
sentencetCacheSize = 5000,
|
||||||
additionalRules = {
|
additionalRules = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue