From 4d3acd6bebbdffa3fefc4e102d9ff36845c7a18f Mon Sep 17 00:00:00 2001 From: Jaehwang Jung Date: Tue, 29 Mar 2022 01:16:11 +0900 Subject: fix(lsp): use "text" filetype for plaintext (#17898) --- runtime/lua/vim/lsp/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index cec3891418..991c4be950 100644 --- 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 = {"", "
", "
"}, code = {"", "", ""}, - text = {"plaintex", "", ""}, + text = {"text", "", ""}, } local match_begin = function(line) -- cgit