From 2430a4e1b228386485a5bbc8bc9fb4d1ca7d3688 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Tue, 4 May 2021 10:34:12 -0700 Subject: [PATCH] Small change to the readme.md mentioning vsnip and what are snips are avail already. Changed one line in compe/lua.lua to indicate vsnip better. --- README.md | 5 ++++- lua/compe/lua.lua | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1136a9a..7b77f90 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,8 @@ nvim-base16 doesnt even take time to load unlike base16-vim which was eating hal - packer.nvim as package manager - indent-blankline.Nvim for indentlines - smooth scrolling - +- Snip support from VSCode through vsnip supporting custom and predefined snips (friendly-snippets) + # Guides to migrate your nvim configs to init.lua - - https://github.com/nanotee/nvim-lua-guide @@ -120,6 +121,8 @@ nvim-base16 doesnt even take time to load unlike base16-vim which was eating hal - https://icyphox.sh/blog/nvim-lua/ +- https://github.com/rafamadriz/friendly-snippets/wiki + # Clone my setup - - Install neovim-nightly , also use a nerdfont on your terminal. diff --git a/lua/compe/lua.lua b/lua/compe/lua.lua index 8303669..1e0ec99 100644 --- a/lua/compe/lua.lua +++ b/lua/compe/lua.lua @@ -17,7 +17,7 @@ require "compe".setup { path = true, buffer = true, calc = true, - vsnip = true, + vsnip = {kind = "﬌"}, --replace to what sign you prefer nvim_lsp = true, nvim_lua = true, spell = true,