Mark vimscript block as "vim" (#2121)
The example configuration is Vimscript, with a heredoc containing some Lua code. Using "lua" as a language identifier results neither the Vimscript portion nor the Lua portion being highlighted propertly. Mark the code block as "vim". Neovim (with treesitter) properly highlights the outer block as Vimscript, and the Lua heredoc as Lua code.
This commit is contained in:
Reference in New Issue
Block a user