mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16:46 +00:00
cmp: deduplicate attr key
This commit is contained in:
parent
834aee6cce
commit
347a04b62e
1 changed files with 40 additions and 40 deletions
|
@ -74,10 +74,9 @@ in {
|
|||
};
|
||||
|
||||
formatting.format = cfg.format;
|
||||
};
|
||||
|
||||
# `cmp` and `luasnip` are defined above, in the `nvim-cmp` section
|
||||
setupOpts.mapping = {
|
||||
mapping = {
|
||||
${mappings.complete} = mkLuaInline "cmp.mapping.complete()";
|
||||
${mappings.close} = mkLuaInline "cmp.mapping.abort()";
|
||||
${mappings.scrollDocsUp} = mkLuaInline "cmp.mapping.scroll_docs(-4)";
|
||||
|
@ -122,4 +121,5 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue