plugin/config: add editorconfig plugin
This commit is contained in:
parent
2a8cf3de04
commit
a8cdb463fa
4 changed files with 33 additions and 0 deletions
|
@ -16,6 +16,7 @@ let
|
|||
callPlugins = list: builtins.map callPlugin list;
|
||||
|
||||
plugins = callPlugins [
|
||||
./plugins/config
|
||||
./plugins/syntax
|
||||
./plugins/git
|
||||
./plugins/explorer
|
||||
|
|
18
flake.lock
18
flake.lock
|
@ -1,5 +1,22 @@
|
|||
{
|
||||
"nodes": {
|
||||
"editorconfig-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1663509832,
|
||||
"narHash": "sha256-+eLoPckZdsXqsyBGeM726P9WtR/pu0q7IEhKufulOxM=",
|
||||
"owner": "gpanders",
|
||||
"repo": "editorconfig.nvim",
|
||||
"rev": "7d10fe6bc340fd783c0b61cf627dd235100284db",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "gpanders",
|
||||
"repo": "editorconfig.nvim",
|
||||
"rev": "7d10fe6bc340fd783c0b61cf627dd235100284db",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1663146586,
|
||||
|
@ -18,6 +35,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"editorconfig-nvim": "editorconfig-nvim",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"tabby-nvim": "tabby-nvim",
|
||||
"utils": "utils"
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
url = "github:nanozuki/tabby.nvim?rev=916c9e56d043906a441cd9f905e2ca1f5c4dddb0";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
editorconfig-nvim = {
|
||||
url = "github:gpanders/editorconfig.nvim?rev=7d10fe6bc340fd783c0b61cf627dd235100284db";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ { self, nixpkgs, utils, ... }:
|
||||
|
@ -21,6 +26,10 @@
|
|||
name = "tabby-nvim";
|
||||
src = inputs.tabby-nvim;
|
||||
};
|
||||
editorconfig-nvim = p.vimUtils.buildVimPluginFrom2Nix {
|
||||
name = "editorconfig-nvim";
|
||||
src = inputs.editorconfig-nvim;
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
5
plugins/config/default.nix
Normal file
5
plugins/config/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ editorconfig-nvim, ... }:
|
||||
|
||||
{
|
||||
plugins = [ editorconfig-nvim ];
|
||||
}
|
Reference in a new issue