Custom Snippets in Neovim and Configure completion priority on nvim-cmp

Описание к видео Custom Snippets in Neovim and Configure completion priority on nvim-cmp

In this video we'll be configuring custom snippets using LuaSnip and optimizing autocompletion with nvim-cmp

In this tutorial, I demonstrate how to leverage LuaSnip for creating custom snippets tailored to your needs, including markdown code blocks, clipboard-to-link transformations, and disabling specific formatting tools like Prettier. With a wide range of supported filetypes, this configuration ensures that your snippets are versatile and efficient, covering everything from programming languages like Python, Java, and Lua to documentation formats like Markdown and YAML.

We then shift focus to the nvim-cmp configuration, showcasing how to prioritize sources for autocompletion. By fine-tuning the priority of LSP completions, LuaSnip snippets, and Copilot suggestions, you can create a streamlined autocompletion experience that aligns with your coding preferences. Learn how to disable the enter key for accepting suggestions and configure custom keybindings for maximum control.

If you're a fan of lazy.nvim or use LazyVim's pre-configured setup, this video provides a step-by-step walkthrough on enabling LuaSnip's LazyExtra and integrating custom Lua files for snippet management. Additionally, I share practical tips on enhancing your productivity in Neovim, from managing mini-files keymaps to integrating tools like Ghostty for a polished development environment.

   • My complete Neovim markdown setup and...  
   • How to setup the Ghostty terminal, is...  
   • Advanced MINI.FILES Keymaps for Neovi...  

Check out this video by ‪@vimjoyer‬
   • The Best Neovim Plugin | Writing Lua ...  

If you find this video helpful and want to support me
https://ko-fi.com/linkarzu

Follow me on twitter
https://x.com/link_arzu

My dotfiles
https://github.com/linkarzu/dotfiles-...

0:00 - demo
0:09 - markdown codeblock
0:45 - clipboard to markdown link
1:18 - disable prettier
1:55 - other codeblocks
2:38 - VIDEO markdown 2024
2:54 - luasnip lazyextra
4:28 - configure luasnip
7:42 - nvim-cmp configuration
8:32 - nvim_lsp priority
9:41 - luasnip priority
10:03 - check ghostty out
10:18 - mini-files keymaps

#neovim #lazyvim #markdown #codeblocks #programming #developerslife #copilot #lsp #vim #tmux #coding #ide #linkarzu

Комментарии

Информация по комментариям в разработке