Add cmp-conventionalcommits

This commit is contained in:
buffet 2022-08-25 17:34:17 +00:00
parent 8012d0b6ee
commit dfb5b5c506
3 changed files with 25 additions and 0 deletions

View file

@ -20,6 +20,22 @@
"type": "github" "type": "github"
} }
}, },
"cmp-conventionalcommits": {
"flake": false,
"locked": {
"lastModified": 1635383929,
"narHash": "sha256-ZuVXmn4YkeMFiLjSVTd+6DBdtn0D+PI44J3kLDX6Wwo=",
"owner": "davidsierradz",
"repo": "cmp-conventionalcommits",
"rev": "5518362bc4f5dfbc9d242d9379fdec48b6278c5e",
"type": "github"
},
"original": {
"owner": "davidsierradz",
"repo": "cmp-conventionalcommits",
"type": "github"
}
},
"cmp-git": { "cmp-git": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -107,6 +123,7 @@
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"cmp-conventionalcommits": "cmp-conventionalcommits",
"cmp-git": "cmp-git", "cmp-git": "cmp-git",
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence", "impermanence": "impermanence",

View file

@ -8,6 +8,11 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
cmp-conventionalcommits = {
url = "github:davidsierradz/cmp-conventionalcommits";
flake = false;
};
cmp-git = { cmp-git = {
url = "github:petertriho/cmp-git"; url = "github:petertriho/cmp-git";
flake = false; flake = false;

View file

@ -20,6 +20,7 @@
}; };
buildPlugins = names: lib.attrsets.genAttrs names buildPlugin; buildPlugins = names: lib.attrsets.genAttrs names buildPlugin;
plugins = buildPlugins [ plugins = buildPlugins [
"cmp-conventionalcommits"
"cmp-git" "cmp-git"
"lsp-trouble" "lsp-trouble"
]; ];
@ -28,6 +29,7 @@
with plugins; [ with plugins; [
{plugin = cmp-buffer;} {plugin = cmp-buffer;}
{plugin = cmp-calc;} {plugin = cmp-calc;}
{plugin = cmp-conventionalcommits;}
{plugin = cmp-latex-symbols;} {plugin = cmp-latex-symbols;}
{plugin = cmp-nvim-lsp;} {plugin = cmp-nvim-lsp;}
{plugin = cmp-path;} {plugin = cmp-path;}
@ -144,6 +146,7 @@
sources = cmp.config.sources { sources = cmp.config.sources {
{ name = 'buffer' }, { name = 'buffer' },
{ name = 'calc' }, { name = 'calc' },
{ name = 'conventionalcommits' },
{ name = 'crates' }, { name = 'crates' },
{ name = 'git' }, { name = 'git' },
{ name = 'latex_symbols' }, { name = 'latex_symbols' },