fix(lsp): use "text" filetype for plaintext (#17898)

This commit is contained in:
Jaehwang Jung
2022-03-29 01:16:11 +09:00
committed by GitHub
parent e55ba16a0e
commit 4d3acd6beb

View File

@@ -1138,7 +1138,7 @@ function M.stylize_markdown(bufnr, contents, opts)
block = {nil, "```+([a-zA-Z0-9_]*)", "```+"},
pre = {"", "<pre>", "</pre>"},
code = {"", "<code>", "</code>"},
text = {"plaintex", "<text>", "</text>"},
text = {"text", "<text>", "</text>"},
}
local match_begin = function(line)