plugin/config: add editorconfig plugin

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-19 19:03:40 +03:00
parent 2a8cf3de04
commit a8cdb463fa
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
4 changed files with 33 additions and 0 deletions

View file

@ -16,6 +16,7 @@ let
callPlugins = list: builtins.map callPlugin list; callPlugins = list: builtins.map callPlugin list;
plugins = callPlugins [ plugins = callPlugins [
./plugins/config
./plugins/syntax ./plugins/syntax
./plugins/git ./plugins/git
./plugins/explorer ./plugins/explorer

View file

@ -1,5 +1,22 @@
{ {
"nodes": { "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1663146586, "lastModified": 1663146586,
@ -18,6 +35,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"editorconfig-nvim": "editorconfig-nvim",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"tabby-nvim": "tabby-nvim", "tabby-nvim": "tabby-nvim",
"utils": "utils" "utils": "utils"

View file

@ -7,6 +7,11 @@
url = "github:nanozuki/tabby.nvim?rev=916c9e56d043906a441cd9f905e2ca1f5c4dddb0"; url = "github:nanozuki/tabby.nvim?rev=916c9e56d043906a441cd9f905e2ca1f5c4dddb0";
flake = false; flake = false;
}; };
editorconfig-nvim = {
url = "github:gpanders/editorconfig.nvim?rev=7d10fe6bc340fd783c0b61cf627dd235100284db";
flake = false;
};
}; };
outputs = inputs @ { self, nixpkgs, utils, ... }: outputs = inputs @ { self, nixpkgs, utils, ... }:
@ -21,6 +26,10 @@
name = "tabby-nvim"; name = "tabby-nvim";
src = inputs.tabby-nvim; src = inputs.tabby-nvim;
}; };
editorconfig-nvim = p.vimUtils.buildVimPluginFrom2Nix {
name = "editorconfig-nvim";
src = inputs.editorconfig-nvim;
};
}; };
}) })
]; ];

View file

@ -0,0 +1,5 @@
{ editorconfig-nvim, ... }:
{
plugins = [ editorconfig-nvim ];
}