mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
viml: embed Lua syntax highlighting [skip ci] (#14213)
This commit is contained in:
parent
acd643bd49
commit
2b663c061b
@ -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*
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user