plugins: Leap only for neovim
[vimconf.git] / plugins-noroot.vim
index 699f43eb7e216797255d3c29800338368a4189d2..e01f7022a8827c3048275987635cb7ad585d61e0 100644 (file)
@@ -29,7 +29,6 @@ Plug 'vim-scripts/loremipsum', {'on': 'Loremipsum'}
 
 Plug 'ggandor/leap.nvim'
 
-
 function PluginsNorootConfig()
     let g:localvimrc_persistent = 1
 
@@ -64,7 +63,9 @@ function PluginsNorootConfig()
     " Allow for reflow of bullet paragraphs
     let g:vim_markdown_auto_insert_bullets = 0
 
+    if has('nvim-0.5')
 lua <<EOF
     require('leap').set_default_keymaps()
 EOF
+    endif
 endfunction