From 07a800e9cbbb55a68e1a04825a2ad76c8fb9e549 Mon Sep 17 00:00:00 2001 From: xudyang1 <61672396+xudyang1@users.noreply.github.com> Date: Thu, 16 Jan 2025 21:25:25 -0500 Subject: [PATCH] fix(README): style --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f74b0250..03927392 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ loaders and their benefits. The following list serves only as a short overview. -- load snippets from path/of/your/nvim/config/my-cool-snippets require("luasnip.loaders.from_vscode").lazy_load({ paths = { "./my-cool-snippets" } }) - (Note: It's mandatory to have a 'package.json' file in the snippet directory. For examples, see documentation.) + -- (Note: It's mandatory to have a `package.json` file in the snippet directory. For examples, see documentation.) ``` For more info on the VS Code loader, check the [examples](https://github.com/L3MON4D3/LuaSnip/blob/b5a72f1fbde545be101fcd10b70bcd51ea4367de/Examples/snippets.lua#L501) or [documentation](https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#loaders). @@ -133,7 +133,7 @@ loaders and their benefits. The following list serves only as a short overview. The SnipMate format is very simple, so adding **custom snippets** only requires a few steps: - add a directory beside your `init.vim` (or any other place that is in your `runtimepath`) named `snippets`. - inside that directory, create files named `.snippets` and add snippets for the given filetype in it (for inspiration, check [honza/vim-snippets](https://github.com/honza/vim-snippets/tree/master/snippets)). - ``` snipmate + ```snipmate # comment snippet