commit 4d3acd6bebbdffa3fefc4e102d9ff36845c7a18f
parent e55ba16a0e3a1a363deb16d1da7b4d80db37a494
Author: Jaehwang Jung <tomtomjhj@gmail.com>
Date: Tue, 29 Mar 2022 01:16:11 +0900
fix(lsp): use "text" filetype for plaintext (#17898)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
@@ -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)