This commit is contained in:
Michael Thomson 2024-11-27 14:50:36 -05:00
parent 370948543d
commit 32532869ef
No known key found for this signature in database
GPG Key ID: 8EFECCD347C72F7D

View File

@ -354,6 +354,9 @@ config,
enable = true; enable = true;
}; };
}; };
luasnip = {
enable = true;
};
cmp = { cmp = {
enable = true; enable = true;
@ -377,6 +380,7 @@ config,
"<C-Space>" = "cmp.mapping.complete {}"; "<C-Space>" = "cmp.mapping.complete {}";
"<C-l>" = '' "<C-l>" = ''
cmp.mapping(function() cmp.mapping(function()
local luasnip = require('luasnip')
if luasnip.expand_or_locally_jumpable() then if luasnip.expand_or_locally_jumpable() then
luasnip.expand_or_jump() luasnip.expand_or_jump()
end end
@ -384,6 +388,7 @@ config,
''; '';
"<C-h>" = '' "<C-h>" = ''
cmp.mapping(function() cmp.mapping(function()
local luasnip = require('luasnip')
if luasnip.locally_jumpable(-1) then if luasnip.locally_jumpable(-1) then
luasnip.jump(-1) luasnip.jump(-1)
end end
@ -462,6 +467,9 @@ config,
gopls = { gopls = {
enable = true; enable = true;
}; };
bashls = {
enable = true;
};
}; };
keymaps = { keymaps = {
diagnostic = { diagnostic = {