diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-03 23:47:30 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-03 23:49:29 +1200 |
commit | 4e71493804962633524a2e9bf36602d783d99b10 (patch) | |
tree | 757f8f64d0a89c0217dd73df1dbf6b81f80b5f60 | |
parent | Merge branch 'release/v8.28.0' (diff) | |
download | dotfiles-4e71493804962633524a2e9bf36602d783d99b10.tar.gz dotfiles-4e71493804962633524a2e9bf36602d783d99b10.zip |
Test for correct feature for undoskip.vim plugin
The +persistent_undo feature wasn't added until Vim v7.3.
-rw-r--r-- | vim/plugin/undoskip.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/undoskip.vim b/vim/plugin/undoskip.vim index 80609433..2f541ebf 100644 --- a/vim/plugin/undoskip.vim +++ b/vim/plugin/undoskip.vim @@ -4,7 +4,7 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('loaded_undoskip') || &compatible || v:version < 700 +if exists('loaded_undoskip') || &compatible || !has('persistent_undo') finish endif let loaded_undoskip = 1 |