diff options
author | SamPosh <samselvaprabu@gmail.com> | 2023-05-02 16:01:46 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 16:01:46 +0530 |
commit | 55c52ce45bea8395e79d43dc6e5490c23b06a95b (patch) | |
tree | 51ae694f9ab7658de4a2ebbd996529d429c4e0e1 | |
parent | 0470d07c8c44f270bd64d0d11f5ebb8d994a1c00 (diff) |
Added friendly snippet support
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,7 +93,7 @@ require('lazy').setup({ { -- Autocompletion 'hrsh7th/nvim-cmp', - dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' }, + dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip',"rafamadriz/friendly-snippets", }, }, -- Useful plugin to show you pending keybinds. @@ -447,7 +447,7 @@ mason_lspconfig.setup_handlers { -- nvim-cmp setup local cmp = require 'cmp' local luasnip = require 'luasnip' - +require("luasnip.loaders.from_vscode").lazy_load() luasnip.config.setup {} cmp.setup { |