From 35423dbfa0dbefe5319abfd3a0bb2f1e9edd5941 Mon Sep 17 00:00:00 2001 From: Jo Ito Date: Wed, 6 Mar 2024 05:13:29 +0900 Subject: [PATCH] add documentation on how to set up friendly-snippets --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 16d3c26..de2f3ea 100644 --- a/init.lua +++ b/init.lua @@ -652,6 +652,10 @@ require('lazy').setup { -- you can use this plugin to help you. It even has snippets -- for various frameworks/libraries/etc. but you will have to -- set up the ones that are useful for you. + -- You will need to add the following line somewhere + -- eg: under luasnip.config.setup {} + -- so LuaSnip can accept vscode-style snippets. + -- require('luasnip.loaders.from_vscode').lazy_load() -- 'rafamadriz/friendly-snippets', }, config = function()