Skip to content

Commit

Permalink
fix vsnip
Browse files Browse the repository at this point in the history
  • Loading branch information
emattiza committed Sep 8, 2023
1 parent 277a11f commit d847ebe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/completion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ in {
cmp.event:on('confirm_done', cmp_autopairs.on_confirm_done({ map_char = { text = ""} }))
''};
'';
vim.snippets.vsnip.enable =
if (cfg.type == "nvim-cmp")
then true
else config.vim.snippets.vsnip.enable;
}
);
}

0 comments on commit d847ebe

Please sign in to comment.