From 32532869efadea865ab56ed5a992cdc4d7984910 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Wed, 27 Nov 2024 14:50:36 -0500 Subject: [PATCH] update --- modules/home-manager/nixvim/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/home-manager/nixvim/default.nix b/modules/home-manager/nixvim/default.nix index 043a992..1f1a4dd 100644 --- a/modules/home-manager/nixvim/default.nix +++ b/modules/home-manager/nixvim/default.nix @@ -354,6 +354,9 @@ config, enable = true; }; }; + luasnip = { + enable = true; + }; cmp = { enable = true; @@ -377,6 +380,7 @@ config, "" = "cmp.mapping.complete {}"; "" = '' cmp.mapping(function() + local luasnip = require('luasnip') if luasnip.expand_or_locally_jumpable() then luasnip.expand_or_jump() end @@ -384,6 +388,7 @@ config, ''; "" = '' cmp.mapping(function() + local luasnip = require('luasnip') if luasnip.locally_jumpable(-1) then luasnip.jump(-1) end @@ -462,6 +467,9 @@ config, gopls = { enable = true; }; + bashls = { + enable = true; + }; }; keymaps = { diagnostic = {