In the fourth episode of #TakeTuesday, we show off a bit more of LuaSnip. This is the second of three videos explaining the plugin.
Plugin: github.com/L3MON4D3/LuaSnip
Please let me know/share the video if you like the intro. It took a lot of time -- and I had tons of fun -- so it makes me happy to hear from you!
To become a sponsor: github.com/sponsors/tjdevries
My Stream: / teej_dv
My Dotfiles: github.com/tjdevries/config_m...
00:00 Introduction
00:28 Using vim.ui.select with snippets
01:06 Choice Nodes
04:50 Function Nodes
07:11 Implementing "repeated nodes"
10:42 Implementing smart import snippet
14:55 Dynamic Nodes
22:30 Example of treesitter + dynamic nodes
26:36 Conclusion
Plugin to highlight just some of the buffer: github.com/folke/zen-mode.nvim
Notes about friendly snippets: github.com/L3MON4D3/LuaSnip#a...
#neovim #luasnip #lua #programming #nvim
Негізгі бет Ғылым және технология TakeTuesday E04: LuaSnips - Advanced Configuration
Пікірлер: 130