viml: embed Lua syntax highlighting [skip ci] (#14213)

This commit is contained in:
Marco Hinz 2021-03-28 00:43:06 +01:00 committed by GitHub
parent acd643bd49
commit 2b663c061b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -70,6 +70,8 @@ the differences.
- |matchit| plugin is enabled. To disable it in your config: >
:let loaded_matchit = 1
- |g:vimsyn_embed| defaults to "l" to enable Lua highlighting
==============================================================================
3. New Features *nvim-features*

View File

@ -616,7 +616,7 @@ syn region vimGlobal matchgroup=Statement start='\<v\%[global]!\=/' skip='\\.' e
" g:vimsyn_embed =~# 'r' : embed ruby
" g:vimsyn_embed =~# 't' : embed tcl
if !exists("g:vimsyn_embed")
let g:vimsyn_embed= 0
let g:vimsyn_embed = 'l'
endif
" [-- lua --] {{{3