aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-17 22:17:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-17 22:17:39 +1200
commitfd9cc71eebe5a0829664a74d8767214a23f08b7c (patch)
tree314c9c8f747f3a7204b220c06e6bbfe42bf6bb50
parentRename to README.md (diff)
downloadvim-copy-linebreak-fd9cc71eebe5a0829664a74d8767214a23f08b7c.tar.gz
vim-copy-linebreak-fd9cc71eebe5a0829664a74d8767214a23f08b7c.zip
Add version guard
-rw-r--r--plugin/copy_linebreak.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/copy_linebreak.vim b/plugin/copy_linebreak.vim
index 8ee6c05..89fba9e 100644
--- a/plugin/copy_linebreak.vim
+++ b/plugin/copy_linebreak.vim
@@ -9,7 +9,7 @@
if exists('g:loaded_copy_linebreak') || &compatible
finish
endif
-if !has('linebreak')
+if !has('linebreak') || v:version < 600
finish
endif
let g:loaded_copy_linebreak = 1