diff .chezmoitemplates/init.lua @ 778:405ff835995a

feat: enable autosnippets for luasnip
author zegervdv <zegervdv@me.com>
date Sat, 22 Apr 2023 18:07:25 +0200
parents 7876fd87d41e
children 31605398117a
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua	Fri Apr 21 08:54:51 2023 +0200
+++ b/.chezmoitemplates/init.lua	Sat Apr 22 18:07:25 2023 +0200
@@ -384,7 +384,7 @@
   'nvim-treesitter/nvim-treesitter-refactor',
   'nvim-treesitter/nvim-treesitter-textobjects',
   { 'nvim-treesitter/playground', cmd = 'TSPlaygroundToggle' },
-  { 'L3MON4D3/luasnip' },
+  { 'L3MON4D3/luasnip', config = function() require('luasnip').setup { enable_autosnippets = true } end },
   {
     'rmagatti/goto-preview',
     config = function() require('goto-preview').setup {} end,