summary refs log tree commit diff
path: root/.vim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/lua/plugins.lua')
-rw-r--r--.vim/lua/plugins.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua
index da9f458..9560d98 100644
--- a/.vim/lua/plugins.lua
+++ b/.vim/lua/plugins.lua
@@ -186,7 +186,8 @@ return require('packer').startup({function()
           nvim_lsp = true,
           nvim_lua = true,
           orgmode = true,
-          ultisnips = true,
+          ultisnips = false,
+          snippets_nvim = true,
         }
       }
 
@@ -286,12 +287,20 @@ return require('packer').startup({function()
 
   -- snippets
   use {'SirVer/ultisnips', -- {{{
+    disable = true,
     requires = {'honza/vim-snippets'},
     config = function()
       vim.g.UltiSnipsJumpForwardTrigger = "<tab>"
       vim.g.UltiSnipsJumpBackwardTrigger = "<s-tab>"
     end} -- }}}
 
+  use {'norcalli/snippets.nvim',
+    config = function()
+      require('snippets').use_suggested_mappings()
+      -- NOTE(robert): write your own inserter using the plenary helpers
+      require('snips')
+    end}
+
   -- use {'L3MON4D3/LuaSnip',
   --   config = "require('plugins._ultisnips')",
   -- }