mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #14098 from mjlbach/fix_highlighting_lsp_markdown
lsp: fix highlighting for lsp markdown code blocks
This commit is contained in:
commit
054eb31dc7
@ -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:
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user