]> git.sthu.org Git - vimconf.git/commitdiff
plugins: Fixes for nvim-0.4 or lower
authorStefan Huber <shuber@sthu.org>
Sun, 28 Jul 2024 19:12:45 +0000 (21:12 +0200)
committerStefan Huber <shuber@sthu.org>
Sun, 28 Jul 2024 19:12:45 +0000 (21:12 +0200)
plugins-mini.vim

index 378892ab4defc10e67cd76e7bf61160600938c1d..34090c5022e0e58f231ff13df33769e7876214be 100644 (file)
@@ -29,12 +29,10 @@ Plug 'flwyd/vim-conjoin'
 
 Plug 'nfnty/vim-nftables'
 
-if has('nvim')
+if has('nvim-0.7')
     " Comparison at https://github.com/Darazaki/indent-o-matic/issues/12
     Plug 'nmac427/guess-indent.nvim'
-endif
 
-if has('nvim-0.7')
     Plug 'echasnovski/mini.nvim'", { 'branch': 'stable' }
 endif
 
@@ -114,14 +112,9 @@ EOF
     let g:mapleader = "\<Space>"
     let g:maplocalleader = ','
 
-    if has('nvim')
-        lua <<EOF
-        require('guess-indent').setup {}
-EOF
-    endif
-
     if has('nvim-0.7')
         lua <<EOF
+        require('guess-indent').setup {}
 
         require('mini.align').setup()
         require('mini.ai').setup()