{ plugins.cmp = { enable = true; autoEnableSources = true; settings = { sources = [ { name = "nvim_lsp"; } { name = "path"; } { name = "buffer"; } ]; mapping = { "" = "cmp.mapping.confirm({ select = true })"; "" = "cmp.mapping(cmp.mapping.select_next_item({'i', 's'}))"; "" = "cmp.mapping(cmp.mapping.select_prev_item({'i', 's'}))"; }; }; }; }