From 8b49e3a0aabdf5d66d0b65393f399b481bff903c Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 27 Feb 2024 16:27:39 +0100 Subject: nvim: Configure friendly-snippets with nvim-cmp This allows to insert these snippets by the completion system. This is especially useful if boilerplate code is required as for example a HTML page skeleton. --- nvim/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvim/init.lua b/nvim/init.lua index 9d50ab3..fe10cb3 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -54,3 +54,5 @@ local capabilities = require('cmp_nvim_lsp').default_capabilities() require'lspconfig'.clangd.setup{ capabilities = capabilities } + +require("luasnip.loaders.from_vscode").lazy_load() -- cgit v1.2.3-70-g09d2