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;
};
};
luasnip = {
enable = true;
};
cmp = {
enable = true;
@ -377,6 +380,7 @@ config,
"<C-Space>" = "cmp.mapping.complete {}";
"<C-l>" = ''
cmp.mapping(function()
local luasnip = require('luasnip')
if luasnip.expand_or_locally_jumpable() then
luasnip.expand_or_jump()
end
@ -384,6 +388,7 @@ config,
'';
"<C-h>" = ''
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 = {