diff options
author | xengineering <me@xengineering.eu> | 2024-02-27 16:27:39 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-02-27 16:28:09 +0100 |
commit | 8b49e3a0aabdf5d66d0b65393f399b481bff903c (patch) | |
tree | 88d26710945b61f706ee4cd10f6cca202f1b8a13 | |
parent | 6b02befa2b9d7faa2d1fb97b36b0a8fd4c51b3eb (diff) | |
download | dotfiles-8b49e3a0aabdf5d66d0b65393f399b481bff903c.tar dotfiles-8b49e3a0aabdf5d66d0b65393f399b481bff903c.tar.zst dotfiles-8b49e3a0aabdf5d66d0b65393f399b481bff903c.zip |
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.
-rw-r--r-- | nvim/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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() |