Skip to content

Commit

Permalink
Fix syntax/vader.vim for Neovim commands
Browse files Browse the repository at this point in the history
Neovim uses syntax/vim/generated.vim for most of vimCommand, and
`syntax/vim/*.vim` is handled by Vim's `s:SynSet()` then.

Fixes #125.
  • Loading branch information
blueyed committed Mar 11, 2017
1 parent 193e354 commit 8ecd5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/vader.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ecd5c7

Please sign in to comment.