mirror of
https://github.com/neovim/neovim.git
synced 2025-11-10 04:25:22 +00:00
fix(lsp): use "text" filetype for plaintext (#17898)
This commit is contained in:
@@ -1138,7 +1138,7 @@ function M.stylize_markdown(bufnr, contents, opts)
|
|||||||
block = {nil, "```+([a-zA-Z0-9_]*)", "```+"},
|
block = {nil, "```+([a-zA-Z0-9_]*)", "```+"},
|
||||||
pre = {"", "<pre>", "</pre>"},
|
pre = {"", "<pre>", "</pre>"},
|
||||||
code = {"", "<code>", "</code>"},
|
code = {"", "<code>", "</code>"},
|
||||||
text = {"plaintex", "<text>", "</text>"},
|
text = {"text", "<text>", "</text>"},
|
||||||
}
|
}
|
||||||
|
|
||||||
local match_begin = function(line)
|
local match_begin = function(line)
|
||||||
|
|||||||
Reference in New Issue
Block a user