From 08814eaff906e49183ee9d395fb468019a8bbe77 Mon Sep 17 00:00:00 2001 From: Naphtali Odinakachi Date: Mon, 30 Sep 2024 12:13:17 +0100 Subject: [PATCH] Added ES7 and React snippets from vscode --- init.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index ea86b792..073c6586 100644 --- a/init.lua +++ b/init.lua @@ -926,10 +926,15 @@ require('lazy').setup({ -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- This is the easiest way to modularize your config. - -- + + -- Adding ES7+ React/Redux/React-Native snippets from vscode as custom plugin + { + 'dsznajder/vscode-es7-javascript-react-snippets', + build = 'yarn install --frozen-lockfile && yarn compile' + }, -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. -- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins` - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, }, { ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the