mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +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_]*)", "```+"},
|
||||
pre = {"", "<pre>", "</pre>"},
|
||||
code = {"", "<code>", "</code>"},
|
||||
text = {"plaintex", "<text>", "</text>"},
|
||||
text = {"text", "<text>", "</text>"},
|
||||
}
|
||||
|
||||
local match_begin = function(line)
|
||||
|
||||
Reference in New Issue
Block a user