diff options
author | Folke Lemaitre <folke.lemaitre@gmail.com> | 2021-05-20 10:42:08 +0200 |
---|---|---|
committer | Folke Lemaitre <folke.lemaitre@gmail.com> | 2021-05-21 00:34:30 +0200 |
commit | 07f54201c787ecb730d949bad1fed9db61e2a62a (patch) | |
tree | 58c1db1c670240698d6de228165ed646c035a06e /test/functional/api/vim_spec.lua | |
parent | 3bd9cce3686f9bf0ed127be07d9812d8cb19bfd2 (diff) | |
download | rneovim-07f54201c787ecb730d949bad1fed9db61e2a62a.tar.gz rneovim-07f54201c787ecb730d949bad1fed9db61e2a62a.tar.bz2 rneovim-07f54201c787ecb730d949bad1fed9db61e2a62a.zip |
feat(lsp): lsp.util.fancy_floating_markdown improvements
fix: fancy_floating_markdown: syn region must include keepend to make sure syntax regions are applied correctly. Fixes #14594
feat: fancy_floating_markdown: handle <pre></pre> code blocks as a markdown code block with plaintext
fix: possible nil check for markdown code blocks till end of buffer
refactor: only one check is needed to see if stripped[h.finish +1] is valid
fix(lsp): dont't set doc ownsyntax, since it breaks contained syntaxes. Set regions for the markdown blocks intsead
fix: apply markdown formatting for code blocks without a language
fix: use markdownCodeBlock when no language was set in a code block
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions