Browse Source

fix(snippets): properly setup for friendly-snippets

my-config
NTBBloodbath 3 years ago
parent
commit
8585440180
No known key found for this signature in database GPG Key ID: 18D6730BC846AAC5
  1. 12
      lua/doom/modules/init.lua

12
lua/doom/modules/init.lua

@ -277,15 +277,9 @@ packer.startup(function(use)
use({ use({
'L3MON4D3/LuaSnip', 'L3MON4D3/LuaSnip',
config = require('doom.modules.config.doom-luasnip'), config = require('doom.modules.config.doom-luasnip'),
disable = (disabled_lsp and true or disabled_snippets), disable = disabled_snippets,
opt = true, requires = { 'rafamadriz/friendly-snippets' },
after = 'nvim-compe', event = 'BufRead',
})
use({
'rafamadriz/friendly-snippets',
disable = (disabled_lsp and true or disabled_snippets),
opt = true,
after = 'nvim-compe',
}) })
-- install lsp saga -- install lsp saga

Loading…
Cancel
Save