mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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: >
|
- |matchit| plugin is enabled. To disable it in your config: >
|
||||||
:let loaded_matchit = 1
|
:let loaded_matchit = 1
|
||||||
|
|
||||||
|
- |g:vimsyn_embed| defaults to "l" to enable Lua highlighting
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. New Features *nvim-features*
|
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 =~# 'r' : embed ruby
|
||||||
" g:vimsyn_embed =~# 't' : embed tcl
|
" g:vimsyn_embed =~# 't' : embed tcl
|
||||||
if !exists("g:vimsyn_embed")
|
if !exists("g:vimsyn_embed")
|
||||||
let g:vimsyn_embed= 0
|
let g:vimsyn_embed = 'l'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" [-- lua --] {{{3
|
" [-- lua --] {{{3
|
||||||
|
Loading…
Reference in New Issue
Block a user