diff options
| author | 2025-05-02 16:05:47 +0300 | |
|---|---|---|
| committer | 2025-05-02 16:05:47 +0300 | |
| commit | 446d2716e7bb83e58fb516ec27e5c7750069e98c (patch) | |
| tree | 3e2bdee9d79cf8495fde84a559d2b05bf7ca45b8 /nvim/lua/plugins/snippets.lua | |
| parent | Сделал кейбинды (diff) | |
| download | dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.gz dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.bz2 dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.xz dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.zip | |
Перешел на lazy nvim, навел порядок в плагинах
Diffstat (limited to 'nvim/lua/plugins/snippets.lua')
| -rw-r--r-- | nvim/lua/plugins/snippets.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nvim/lua/plugins/snippets.lua b/nvim/lua/plugins/snippets.lua new file mode 100644 index 0000000..bf40e7c --- /dev/null +++ b/nvim/lua/plugins/snippets.lua @@ -0,0 +1,8 @@ +require("luasnip").config.setup({ + history = true, + update_events = "TextChanged,TextChangedI", +}) +require("luasnip.loaders.from_vscode").lazy_load() +require("luasnip.loaders.from_vscode").lazy_load({ + paths = { vim.fn.stdpath("config") .. "/snippets" }, +}) |
