From 8ecd5c7ae9c8d6a1ef3d661ce21a5cd300246689 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 11 Mar 2017 17:13:18 +0100 Subject: [PATCH] Fix syntax/vader.vim for Neovim commands Neovim uses syntax/vim/generated.vim for most of vimCommand, and `syntax/vim/*.vim` is handled by Vim's `s:SynSet()` then. Fixes https://github.com/junegunn/vader.vim/issues/125. --- syntax/vader.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/vader.vim b/syntax/vader.vim index fc4165d..c8a2446 100644 --- a/syntax/vader.vim +++ b/syntax/vader.vim @@ -28,7 +28,7 @@ endif let s:oisk = &isk syn clear -syn include @vimSnippet syntax/vim.vim +syn include @vimSnippet syntax/vim.vim syntax/vim/*.vim syn region vaderText start=/^\s\{2,}/ end=/^\S\@=/ contained syn region vaderCommand start=/^\s\{2,}/ end=/^\S\@=/ contains=@vimSnippet contained