Skip to content

Commit

Permalink
Bump SnipMate engine version from 0 to 1.
Browse files Browse the repository at this point in the history
`vim-snipmate`[1] has moved from engine version 0 to version 1. The
result is that starting vim with janus produces a deprecation
warning upon starting either vim or gvim. Simply instructing SnipMate to
use the new engine fixes the issue.

Closes: carlhuda#712

[1] https://github.com/garbas/vim-snipmate
  • Loading branch information
shwoodard committed Feb 16, 2022
1 parent e46e174 commit 96c989c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions janus/vim/core/plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ endif
if exists("*DetectNode")
call janus#disable_plugin("nodejs", "Nodejs already exists on your system.")
endif

" SnipMate needs to be told to use v1 engine
" See #712
let g:snipMate = { 'snippet_version' : 1 }

0 comments on commit 96c989c

Please sign in to comment.