diff options
author | Jaehwang Jung <tomtomjhj@gmail.com> | 2022-03-29 01:16:11 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 09:16:11 -0700 |
commit | 4d3acd6bebbdffa3fefc4e102d9ff36845c7a18f (patch) | |
tree | d8f3cc7cdf140b46bc391929b826c7b6bf63af02 /runtime/lua/vim/lsp/util.lua | |
parent | e55ba16a0e3a1a363deb16d1da7b4d80db37a494 (diff) | |
download | rneovim-4d3acd6bebbdffa3fefc4e102d9ff36845c7a18f.tar.gz rneovim-4d3acd6bebbdffa3fefc4e102d9ff36845c7a18f.tar.bz2 rneovim-4d3acd6bebbdffa3fefc4e102d9ff36845c7a18f.zip |
fix(lsp): use "text" filetype for plaintext (#17898)
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 = {"", "<pre>", "</pre>"}, code = {"", "<code>", "</code>"}, - text = {"plaintex", "<text>", "</text>"}, + text = {"text", "<text>", "</text>"}, } local match_begin = function(line) |