kekl
This commit is contained in:
@ -16,10 +16,9 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.nixvim.plugins = {
|
programs.nixvim.plugins = {
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
mapping = {
|
mapping = {
|
||||||
"<C-b>" = "cmp.mapping.scroll_docs(-4)";
|
"<C-b>" = "cmp.mapping.scroll_docs(-4)";
|
||||||
@ -28,7 +27,6 @@ in
|
|||||||
"<C-e>" = "cmp.mapping.abort()";
|
"<C-e>" = "cmp.mapping.abort()";
|
||||||
"<C-Left>" = "cmp.mapping.abort()";
|
"<C-Left>" = "cmp.mapping.abort()";
|
||||||
"<CR>" = "cmp.mapping.confirm({ select = false })";
|
"<CR>" = "cmp.mapping.confirm({ select = false })";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
preselect = "cmp.PreselectMode.None";
|
preselect = "cmp.PreselectMode.None";
|
||||||
@ -61,7 +59,7 @@ in
|
|||||||
name = "treesitter";
|
name = "treesitter";
|
||||||
priority = 850;
|
priority = 850;
|
||||||
option = {
|
option = {
|
||||||
inherit get_bufnrs;
|
inherit get_bufnrs;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
keymaps = [
|
programs.nixvim.keymaps = [
|
||||||
{
|
{
|
||||||
mode = [
|
mode = [
|
||||||
"n"
|
"n"
|
||||||
|
Reference in New Issue
Block a user