add lazy{git,sql} and neovim autocomplete
This commit is contained in:
parent
efae34ec37
commit
f4edfd6fc1
2 changed files with 16 additions and 0 deletions
|
|
@ -132,5 +132,10 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
# config.theme = "Catppuccin ${config.catppuccinUpper.flavor}";
|
# config.theme = "Catppuccin ${config.catppuccinUpper.flavor}";
|
||||||
};
|
};
|
||||||
|
lazygit = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
};
|
||||||
|
lazysql.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -133,6 +133,17 @@
|
||||||
fetchingTimeout = 200;
|
fetchingTimeout = 200;
|
||||||
maxViewEntries = 30;
|
maxViewEntries = 30;
|
||||||
};
|
};
|
||||||
|
mapping = {
|
||||||
|
__raw = ''
|
||||||
|
cmp.mapping.preset.insert({
|
||||||
|
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||||
|
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||||
|
['<C-Space>'] = cmp.mapping.complete(),
|
||||||
|
['<C-e>'] = cmp.mapping.abort(),
|
||||||
|
['<CR>'] = cmp.mapping.confirm({ select = true }),
|
||||||
|
})
|
||||||
|
'';
|
||||||
|
};
|
||||||
snippet = {
|
snippet = {
|
||||||
expand = "luasnip";
|
expand = "luasnip";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue