update
This commit is contained in:
parent
370948543d
commit
32532869ef
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user