Merge pull request #14098 from mjlbach/fix_highlighting_lsp_markdown

lsp: fix highlighting for lsp markdown code blocks
This commit is contained in:
Michael Lingelbach 2021-03-15 10:28:05 -07:00 committed by GitHub
commit 054eb31dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 12 deletions

View File

@ -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:

View File

@ -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)