Skip to content

Commit

Permalink
Bump SnipMate engine version from 0 to 1. (carlhuda#712)
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 05632f7
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 05632f7

Please sign in to comment.