From 2b663c061b8a1fa173ff23901734356bc96758bd Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 28 Mar 2021 00:43:06 +0100 Subject: [PATCH] viml: embed Lua syntax highlighting [skip ci] (#14213) --- runtime/doc/vim_diff.txt | 2 ++ runtime/syntax/vim.vim | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 0c1e216164..eadc1c04a0 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -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* diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index 1a37af1c8a..92348d57ec 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -616,7 +616,7 @@ syn region vimGlobal matchgroup=Statement start='\