diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-03-10 17:26:22 -0800 |
---|---|---|
committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-03-10 17:26:22 -0800 |
commit | 6b7cde3dd021edcdd835dee3b3933021cadd491b (patch) | |
tree | 6174e2e4190a4b4e5626be25c90237e422531b0b | |
parent | 4ed860a64cf6db8dcf33d16ce448243bf072006d (diff) | |
download | rneovim-6b7cde3dd021edcdd835dee3b3933021cadd491b.tar.gz rneovim-6b7cde3dd021edcdd835dee3b3933021cadd491b.tar.bz2 rneovim-6b7cde3dd021edcdd835dee3b3933021cadd491b.zip |
lsp: fix highlighting for lsp markdown code blocks
-rw-r--r-- | runtime/ftplugin/lsp_markdown.vim | 11 | ||||
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/runtime/ftplugin/lsp_markdown.vim b/runtime/ftplugin/lsp_markdown.vim deleted file mode 100644 index d3244fc955..0000000000 --- a/runtime/ftplugin/lsp_markdown.vim +++ /dev/null @@ -1,11 +0,0 @@ -" Vim filetype plugin -" Language: lsp_markdown -" Maintainer: Michael Lingelbach <m.j.lbach@gmail.com> -" Last Change: 2021 Mar 09 - -if exists("b:did_ftplugin") - finish -endif - -runtime! ftplugin/markdown.vim -" vim:set sw=2: diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index 918b77e9f9..4b528d7090 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -1036,7 +1036,6 @@ function M.fancy_floating_markdown(contents, opts) api.nvim_win_set_option(winnr, 'concealcursor', 'n') vim.cmd("ownsyntax lsp_markdown") - vim.cmd("set filetype=lsp_markdown") local idx = 1 --@private local function apply_syntax_to_region(ft, start, finish) |