You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/docs/config/snippets.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,24 +3,24 @@ export const meta = {
3
3
desc: "Manage custom snippets in NvChad"
4
4
}
5
5
6
-
## Luasnip
6
+
## Luasnip
7
7
8
-
NvChad uses `luasnip` plugin for handling snippets, by default it uses `friendly-snippets` plugin which provides snippets for many languages .
8
+
NvChad uses `luasnip` plugin for handling snippets, by default it uses `friendly-snippets` plugin which provides snippets for many languages .
9
9
10
10
- But you would want to extend or add your own snippets so read [luasnip docs](https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#loaders).
11
11
12
12
## Globals
13
13
14
14
These are the globals you can use to include the path of your snippets.
15
15
16
-
```lua
17
-
-- vscode format i.e json files
18
-
vim.g.vscode_snippets_path="your snippets path"
16
+
```lua
17
+
--using with vscode extensions. i.e ~/.vscode/extensions/deinsoftware.vitest-snippets-1.8.0
18
+
vim.g.vscode_snippets_path="path to your vscode snippet extension directory"
0 commit comments