From 3dc2e7801d6c39725df2f47278c677096e52e80d Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Tue, 19 Sep 2023 16:09:03 +0200 Subject: [PATCH] Disable grammar check for lemminx --- lua/lsp/config/lemminx.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/lsp/config/lemminx.lua b/lua/lsp/config/lemminx.lua index a0341b9..f1e6fa6 100644 --- a/lua/lsp/config/lemminx.lua +++ b/lua/lsp/config/lemminx.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- spec: https://github.com/eclipse/lemminx/blob/main/docs/Configuration.md + return { enabled = true, lspconfig = { @@ -39,7 +41,7 @@ return { spaceBeforeEmptyCloseLine = true, -- insert whitespace before self closing tag end bracket }, validation = { - noGrammar = "hint", + noGrammar = "ignore", enabled = true, schema = true, }